Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2013-2014 Dell, Inc ==================================================================== Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ====================================================================
 
 
 package org.dasein.cloud.azure.compute.vm.model;
 
 
 import java.util.List;

Created by Vlad_Munthiu on 8/19/2014.
 
 @XmlRootElement(name="Deployment")
 public class DeploymentModel {
     @XmlElement(name="Name")
     private String name;
     @XmlElement(name="DeploymentSlot")
     private String deploymentSlot;
     @XmlElement(name="Label")
     private String label;
     @XmlElementWrapper(name = "RoleList")
     @XmlElement(name="Role")
     private List<RoleModelroles;
     @XmlElement(name="VirtualNetworkName")
     private String virtualNetworkName;
 
     public String getName() {
         return ;
     }
 
     public void setName(String name) {
         this. = name;
     }
 
     public String getDeploymentSlot() {
         return ;
     }
 
     public void setDeploymentSlot(String deploymentSlot) {
         this. = deploymentSlot;
     }
 
     public String getLabel() {
         return ;
     }
 
     public void setLabel(String label) {
         this. = label;
     }
 
     public List<RoleModelgetRoles() {
         return ;
     }
 
     public void setRoles(List<RoleModelroles) {
         this. = roles;
     }
 
     public String getVirtualNetworkName() {
         return ;
     }
 
     public void setVirtualNetworkName(String virtualNetworkName) {
         this. = virtualNetworkName;
     }
 
     @XmlRootElement(name="Role")
     public static class RoleModel {
         @XmlElement(name="RoleName")
         private String roleName;
         @XmlElement(name="RoleType")
         private String roleType;
         @XmlElementWrapper(name = "ConfigurationSets")
         @XmlElement(name="ConfigurationSet")
         private List<ConfigurationSetModelconfigurationsSets;
         @XmlElement(name="VMImageName")
         private String vmImageName;
         @XmlElement(name="MediaLocation")
         private String mediaLocation;
         @XmlElementWrapper(name = "DataVirtualHardDisks")
         @XmlElement(name="DataVirtualHardDisk")
        @XmlElement(name="OSVirtualHardDisk")
        private OSVirtualHardDiskModel osVirtualDisk;
        @XmlElement(name="RoleSize")
        private String roleSize;
        @XmlElement(name="ProvisionGuestAgent")
        private String provisionGuestAgent;
        public String getRoleName() {
            return ;
        }
        public void setRoleName(String roleName) {
            this. = roleName;
        }
        public String getRoleType() {
            return ;
        }
        public void setRoleType(String roleType) {
            this. = roleType;
        }
        public List<ConfigurationSetModelgetConfigurationsSets() {
            return ;
        }
        public void setConfigurationsSets(List<ConfigurationSetModelconfigurationsSets) {
            this. = configurationsSets;
        }
        public String getVmImageName() {
            return ;
        }
        public void setVmImageName(String vmImageName) {
            this. = vmImageName;
        }
        public String getMediaLocation() {
            return ;
        }
        public void setMediaLocation(String mediaLocation) {
            this. = mediaLocation;
        }
        public OSVirtualHardDiskModel getOsVirtualDisk() {
            return ;
        }
        public void setOsVirtualDisk(OSVirtualHardDiskModel osVirtualDisk) {
            this. = osVirtualDisk;
        }
        public String getRoleSize() {
            return ;
        }
        public void setRoleSize(String roleSize) {
            this. = roleSize;
        }
        public String getProvisionGuestAgent() {
            return ;
        }
        public void setProvisionGuestAgent(String provisionGuestAgent) {
            this. = provisionGuestAgent;
        }
            return ;
        }
        public void setDataVirtualDisks(List<DataVirtualHardDiskModeldataVirtualDisks) {
            this. = dataVirtualDisks;
        }
    }
    @XmlRootElement(name="OSVirtualHardDisk")
    public static class OSVirtualHardDiskModel {
        @XmlElement(name="HostCaching")
        private String hostCaching;
        @XmlElement(name="DiskLabel")
        private String diskLabel;
        @XmlElement(name="MediaLink")
        private String mediaLink;
        @XmlElement(name="SourceImageName")
        private String sourceImageName;
        public String getHostCaching() {
            return ;
        }
        public void setHostCaching(String hostCaching) {
            this. = hostCaching;
        }
        public String getDiskLabel() {
            return ;
        }
        public void setDiskLabel(String diskLabel) {
            this. = diskLabel;
        }
        public String getMediaLink() {
            return ;
        }
        public void setMediaLink(String mediaLink) {
            this. = mediaLink;
        }
        public String getSourceImageName() {
            return ;
        }
        public void setSourceImageName(String sourceImageName) {
            this. = sourceImageName;
        }
    }
New to GrepCode? Check out our FAQ X