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.compute.model;
 
 import java.util.List;

Created by Vlad_Munthiu on 7/23/2014.
 
 
 @XmlRootElement(name="AffinityGroup", namespace ="http://schemas.microsoft.com/windowsazure")
 public class AffinityGroupModel {
 
     @XmlElement(name="Name", namespace ="http://schemas.microsoft.com/windowsazure")
     private String name;
     @XmlElement(name="Label", namespace ="http://schemas.microsoft.com/windowsazure")
     private String label;
     @XmlElement(name="Description", namespace ="http://schemas.microsoft.com/windowsazure")
     private String description;
     @XmlElement(name="Location", namespace ="http://schemas.microsoft.com/windowsazure")
     private String location;
     @XmlElementWrapper(name = "HostedServices", namespace = "http://schemas.microsoft.com/windowsazure")
     @XmlElement(name="HostedService", namespace ="http://schemas.microsoft.com/windowsazure")
     private List<HostedServicehostedServices;
     @XmlElementWrapper(name = "StorageServices", namespace = "http://schemas.microsoft.com/windowsazure")
     @XmlElement(name="StorageService", namespace ="http://schemas.microsoft.com/windowsazure")
     private List<HostedServicestorageServices;
     @XmlElementWrapper(name = "Capabilities", namespace = "http://schemas.microsoft.com/windowsazure")
     @XmlElement(name="Capability", namespace ="http://schemas.microsoft.com/windowsazure")
     private List<Stringcapabilities;
     @XmlElement(name="CreatedTime", namespace ="http://schemas.microsoft.com/windowsazure")
     private String createdTime;
     @XmlElement(name="ComputeCapabilities", namespace ="http://schemas.microsoft.com/windowsazure")
 
     public String getName() {
         return ;
     }
 
     public void setName(String name) {
         this. = name;
     }
 
     public String getLabel() {
         return ;
     }
 
     public void setLabel(String label) {
         this. = label;
     }
 
     public String getDescription() {
         return ;
     }
 
     public void setDescription(String description) {
         this. = description;
     }
 
     public String getLocation() {
         return ;
     }
 
     public void setLocation(String location) {
         this. = location;
     }
 
     public List<HostedServicegetHostedServices() {
         return ;
     }
 
     public void setHostedServices(List<HostedServicehostedServices) {
         this. = hostedServices;
     }
 
     public List<HostedServicegetStorageServices() {
         return ;
     }
 
     public void setStorageServices(List<HostedServicestorageServices) {
         this. = storageServices;
    }
    public List<StringgetCapabilities() {
        return ;
    }
    public void setCapabilities(List<Stringcapabilities) {
        this. = capabilities;
    }
    public String getCreatedTime() {
        return ;
    }
    public void setCreatedTime(String createdTime) {
        this. = createdTime;
    }
        return ;
    }
    public void setComputeCapabilities(ComputeCapabilities computeCapabilities) {
        this. = computeCapabilities;
    }
    @XmlRootElement(name="HostedService", namespace ="http://schemas.microsoft.com/windowsazure")
    public static class HostedService
    {
        @XmlElement(name="Url", namespace ="http://schemas.microsoft.com/windowsazure")
        private String url;
        @XmlElement(name="ServiceName", namespace ="http://schemas.microsoft.com/windowsazure")
        private String serviceName;
        public String getUrl() {
            return ;
        }
        public void setUrl(String url) {
            this. = url;
        }
        public String getServiceName() {
            return ;
        }
        public void setServiceName(String serviceName) {
            this. = serviceName;
        }
    }
    @XmlRootElement(name="StorageService", namespace ="http://schemas.microsoft.com/windowsazure")
    public static class StorageService
    {
        @XmlElement(name="Url", namespace ="http://schemas.microsoft.com/windowsazure")
        private String url;
        @XmlElement(name="ServiceName", namespace ="http://schemas.microsoft.com/windowsazure")
        private String serviceName;
        public String getUrl() {
            return ;
        }
        public void setUrl(String url) {
            this. = url;
        }
        public String getServiceName() {
            return ;
        }
        public void setServiceName(String serviceName) {
            this. = serviceName;
        }
    }
    @XmlRootElement(name="ComputeCapabilities", namespace ="http://schemas.microsoft.com/windowsazure")
    public static class ComputeCapabilities
    {
        @XmlElementWrapper(name = "VirtualMachineRoleSizes", namespace = "http://schemas.microsoft.com/windowsazure")
        @XmlElement(name="RoleSize", namespace ="http://schemas.microsoft.com/windowsazure")
        private List<StringvirtualMachineRoleSizes;
        @XmlElementWrapper(name = "WebWorkerRoleSizes", namespace = "http://schemas.microsoft.com/windowsazure")
        @XmlElement(name="RoleSize", namespace ="http://schemas.microsoft.com/windowsazure")
        private List<StringwebWorkerRoleSizes;
        public List<StringgetVirtualMachineRoleSizes() {
            return ;
        }
        public void setVirtualMachineRoleSizes(List<StringvirtualMachineRoleSizes) {
            this. = virtualMachineRoleSizes;
        }
        public List<StringgetWebWorkerRoleSizes() {
            return ;
        }
        public void setWebWorkerRoleSizes(List<StringwebWorkerRoleSizes) {
            this. = webWorkerRoleSizes;
        }
    }
New to GrepCode? Check out our FAQ X