Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2013-2015 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.network.model;
 
 import java.util.List;

Created by Vlad_Munthiu on 7/31/2014.
 
 
 @XmlRootElement(name="PersistentVMRole", namespace ="http://schemas.microsoft.com/windowsazure")
 public class PersistentVMRoleModel
 {
     @XmlElement(name="RoleName", namespace ="http://schemas.microsoft.com/windowsazure")
     private String roleName;
     @XmlElement(name="OsVersion", namespace ="http://schemas.microsoft.com/windowsazure")
     private String osVersion;
     @XmlElement(name="RoleType", namespace ="http://schemas.microsoft.com/windowsazure")
     private String roleType;
     @XmlElementWrapper(name = "ConfigurationSets", namespace = "http://schemas.microsoft.com/windowsazure")
     @XmlElement(name="ConfigurationSet", namespace ="http://schemas.microsoft.com/windowsazure")
     @XmlElement(name="OSVirtualHardDisk", namespace ="http://schemas.microsoft.com/windowsazure")
 
     public String getRoleName() {
         return ;
     }
 
     public void setRoleName(String roleName) {
         this. = roleName;
     }
 
     public String getOsVersion() {
         return ;
     }
 
     public void setOsVersion(String osVersion) {
         this. = osVersion;
     }
 
     public String getRoleType() {
         return ;
     }
 
     public void setRoleType(String roleType) {
         this. = roleType;
     }
 
         return ;
     }
 
     public void setConfigurationSets(List<ConfigurationSetconfigurationSets) {
         this. = configurationSets;
     }
 
         return ;
     }
 
     public void setOsVirtualHardDisk(OSVirtualHardDisk osVirtualHardDisk) {
         this. = osVirtualHardDisk;
     }
 
     @XmlRootElement(name="ConfigurationSet", namespace ="http://schemas.microsoft.com/windowsazure")
     public static class ConfigurationSet
     {
         @XmlElement(name="ConfigurationSetType", namespace ="http://schemas.microsoft.com/windowsazure")
         private String configurationSetType;
         @XmlElementWrapper(name = "InputEndpoints", namespace = "http://schemas.microsoft.com/windowsazure")
         @XmlElement(name="InputEndpoint", namespace ="http://schemas.microsoft.com/windowsazure")
         private List<InputEndpointinputEndpoints;
 
         public String getConfigurationSetType() {
             return ;
         }
 
         public void setConfigurationSetType(String configurationSetType) {
             this. = configurationSetType;
        }
        public List<InputEndpointgetInputEndpoints() {
            return ;
        }
        public void setInputEndpoints(List<InputEndpointinputEndpoints) {
            this. = inputEndpoints;
        }
    }
    @XmlRootElement(name="InputEndpoint", namespace ="http://schemas.microsoft.com/windowsazure")
    public static class InputEndpoint
    {
        @XmlElement(name="LocalPort", namespace ="http://schemas.microsoft.com/windowsazure")
        private String localPort;
        @XmlElement(name="Name", namespace ="http://schemas.microsoft.com/windowsazure")
        private String name;
        @XmlElement(name="Port", namespace ="http://schemas.microsoft.com/windowsazure")
        private String port;
        @XmlElement(name="Protocol", namespace ="http://schemas.microsoft.com/windowsazure")
        private String protocol;
        public String getLocalPort() {
            return ;
        }
        public void setLocalPort(String localPort) {
            this. = localPort;
        }
        public String getName() {
            return ;
        }
        public void setName(String name) {
            this. = name;
        }
        public String getPort() {
            return ;
        }
        public void setPort(String port) {
            this. = port;
        }
        public String getProtocol() {
            return ;
        }
        public void setProtocol(String protocol) {
            this. = protocol;
        }
    }
    @XmlRootElement(name="OSVirtualHardDisk", namespace ="http://schemas.microsoft.com/windowsazure")
    public static class OSVirtualHardDisk
    {
        @XmlElement(name="HostCaching", namespace ="http://schemas.microsoft.com/windowsazure")
        private String hostCaching;
        @XmlElement(name="DiskLabel", namespace ="http://schemas.microsoft.com/windowsazure")
        private String diskLabel;
        @XmlElement(name="MediaLink", namespace ="http://schemas.microsoft.com/windowsazure")
        private String mediaLink;
        @XmlElement(name="SourceImageName", namespace ="http://schemas.microsoft.com/windowsazure")
        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