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

Created by Vlad_Munthiu on 8/15/2014.
 
 @XmlRootElement(name="VMImage", namespace ="http://schemas.microsoft.com/windowsazure")
 public class VMImageModel
 {
     @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="Category", namespace ="http://schemas.microsoft.com/windowsazure")
     private String category;
     @XmlElement(name="Description", namespace ="http://schemas.microsoft.com/windowsazure")
     private String description;
     @XmlElement(name="OSDiskConfiguration", namespace ="http://schemas.microsoft.com/windowsazure")
     @XmlElementWrapper(name = "DataDiskConfigurations", namespace = "http://schemas.microsoft.com/windowsazure")
     @XmlElement(name="DataDiskConfiguration", namespace ="http://schemas.microsoft.com/windowsazure")
     @XmlElement(name="ServiceName", namespace ="http://schemas.microsoft.com/windowsazure")
     private String serviceName;
     @XmlElement(name="DeploymentName", namespace ="http://schemas.microsoft.com/windowsazure")
     private String deploymentName;
     @XmlElement(name="RoleName", namespace ="http://schemas.microsoft.com/windowsazure")
     private String roleName;
     @XmlElement(name="Location", namespace ="http://schemas.microsoft.com/windowsazure")
     private String location;
     @XmlElement(name="AffinityGroup", namespace ="http://schemas.microsoft.com/windowsazure")
     private String affinityGroup;
     @XmlElement(name="CreatedTime", namespace ="http://schemas.microsoft.com/windowsazure")
     private String createdTime;
     @XmlElement(name="ModifiedTime", namespace ="http://schemas.microsoft.com/windowsazure")
     private String modifiedTime;
     @XmlElement(name="Language", namespace ="http://schemas.microsoft.com/windowsazure")
     private String language;
     @XmlElement(name="ImageFamily", namespace ="http://schemas.microsoft.com/windowsazure")
     private String imageFamily;
     @XmlElement(name="RecommendedVMSize", namespace ="http://schemas.microsoft.com/windowsazure")
     private String recommendedVMSize;
     @XmlElement(name="IsPremium", namespace ="http://schemas.microsoft.com/windowsazure")
     private String isPremium;
     @XmlElement(name="Eula", namespace ="http://schemas.microsoft.com/windowsazure")
     private String eula;
     @XmlElement(name="IconUri", namespace ="http://schemas.microsoft.com/windowsazure")
     private String iconUri;
     @XmlElement(name="SmallIconUri", namespace ="http://schemas.microsoft.com/windowsazure")
     private String smallIconUri;
     @XmlElement(name="PrivacyUri", namespace ="http://schemas.microsoft.com/windowsazure")
     private String privacyUri;
     @XmlElement(name="PublisherName", namespace ="http://schemas.microsoft.com/windowsazure")
     private String publisherName;
     @XmlElement(name="PublishedDate", namespace ="http://schemas.microsoft.com/windowsazure")
     private String publishedDate;
     @XmlElement(name="ShowInGui", namespace ="http://schemas.microsoft.com/windowsazure")
     private String showInGui;
     @XmlElement(name="PricingDetailLink", namespace ="http://schemas.microsoft.com/windowsazure")
     private String pricingDetailLink;
 
     public String getName() {
         return ;
     }
 
     public void setName(String name) {
         this. = name;
     }
 
     public String getLabel() {
         return ;
     }
 
     public void setLabel(String label) {
         this. = label;
     }
 
     public String getCategory() {
        return ;
    }
    public void setCategory(String category) {
        this. = category;
    }
    public String getDescription() {
        return ;
    }
    public void setDescription(String description) {
        this. = description;
    }
        return ;
    }
    public void setOsDiskConfiguration(OSDiskConfigurationModel osDiskConfiguration) {
        this. = osDiskConfiguration;
    }
        return ;
    }
    public void setDataDiskConfigurations(List<DataDiskConfigurationModeldataDiskConfigurations) {
        this. = dataDiskConfigurations;
    }
    public String getServiceName() {
        return ;
    }
    public void setServiceName(String serviceName) {
        this. = serviceName;
    }
    public String getDeploymentName() {
        return ;
    }
    public void setDeploymentName(String deploymentName) {
        this. = deploymentName;
    }
    public String getRoleName() {
        return ;
    }
    public void setRoleName(String roleName) {
        this. = roleName;
    }
    public String getLocation() {
        return ;
    }
    public void setLocation(String location) {
        this. = location;
    }
    public String getAffinityGroup() {
        return ;
    }
    public void setAffinityGroup(String affinityGroup) {
        this. = affinityGroup;
    }
    public String getCreatedTime() {
        return ;
    }
    public void setCreatedTime(String createdTime) {
        this. = createdTime;
    }
    public String getModifiedTime() {
        return ;
    }
    public void setModifiedTime(String modifiedTime) {
        this. = modifiedTime;
    }
    public String getLanguage() {
        return ;
    }
    public void setLanguage(String language) {
        this. = language;
    }
    public String getImageFamily() {
        return ;
    }
    public void setImageFamily(String imageFamily) {
        this. = imageFamily;
    }
    public String getRecommendedVMSize() {
        return ;
    }
    public void setRecommendedVMSize(String recommendedVMSize) {
        this. = recommendedVMSize;
    }
    public String getIsPremium() {
        return ;
    }
    public void setIsPremium(String isPremium) {
        this. = isPremium;
    }
    public String getEula() {
        return ;
    }
    public void setEula(String eula) {
        this. = eula;
    }
    public String getIconUri() {
        return ;
    }
    public void setIconUri(String iconUri) {
        this. = iconUri;
    }
    public String getSmallIconUri() {
        return ;
    }
    public void setSmallIconUri(String smallIconUri) {
        this. = smallIconUri;
    }
    public String getPrivacyUri() {
        return ;
    }
    public void setPrivacyUri(String privacyUri) {
        this. = privacyUri;
    }
    public String getPublisherName() {
        return ;
    }
    public void setPublisherName(String publisherName) {
        this. = publisherName;
    }
    public String getPublishedDate() {
        return ;
    }
    public void setPublishedDate(String publishedDate) {
        this. = publishedDate;
    }
    public String getShowInGui() {
        return ;
    }
    public void setShowInGui(String showInGui) {
        this. = showInGui;
    }
    public String getPricingDetailLink() {
        return ;
    }
    public void setPricingDetailLink(String pricingDetailLink) {
        this. = pricingDetailLink;
    }
    @XmlRootElement(name="OSDiskConfiguration", namespace ="http://schemas.microsoft.com/windowsazure")
    public static class OSDiskConfigurationModel
    {
        @XmlElement(name="Name", namespace ="http://schemas.microsoft.com/windowsazure")
        private String name;
        @XmlElement(name="HostCaching", namespace ="http://schemas.microsoft.com/windowsazure")
        private String hostCaching;
        @XmlElement(name="OSState", namespace ="http://schemas.microsoft.com/windowsazure")
        private String osState;
        @XmlElement(name="OS", namespace ="http://schemas.microsoft.com/windowsazure")
        private String os;
        @XmlElement(name="MediaLink", namespace ="http://schemas.microsoft.com/windowsazure")
        private String mediaLink;
        @XmlElement(name="LogicalDiskSizeInGB", namespace ="http://schemas.microsoft.com/windowsazure")
        private String logicalDiskSizeInGB;
        public String getName() {
            return ;
        }
        public void setName(String name) {
            this. = name;
        }
        public String getHostCaching() {
            return ;
        }
        public void setHostCaching(String hostCaching) {
            this. = hostCaching;
        }
        public String getOsState() {
            return ;
        }
        public void setOsState(String osState) {
            this. = osState;
        }
        public String getOs() {
            return ;
        }
        public void setOs(String os) {
            this. = os;
        }
        public String getMediaLink() {
            return ;
        }
        public void setMediaLink(String mediaLink) {
            this. = mediaLink;
        }
        public String getLogicalDiskSizeInGB() {
            return ;
        }
        public void setLogicalDiskSizeInGB(String logicalDiskSizeInGB) {
            this. = logicalDiskSizeInGB;
        }
    }
    @XmlRootElement(name="DataDiskConfiguration", namespace ="http://schemas.microsoft.com/windowsazure")
    public static class DataDiskConfigurationModel
    {
        @XmlElement(name="Name", namespace ="http://schemas.microsoft.com/windowsazure")
        private String name;
        @XmlElement(name="HostCaching", namespace ="http://schemas.microsoft.com/windowsazure")
        private String hostCaching;
        @XmlElement(name="Lun", namespace ="http://schemas.microsoft.com/windowsazure")
        private String lun;
        @XmlElement(name="MediaLink", namespace ="http://schemas.microsoft.com/windowsazure")
        private String mediaLink;
        @XmlElement(name="LogicalDiskSizeInGB", namespace ="http://schemas.microsoft.com/windowsazure")
        private String logicalDiskSizeInGB;
        public String getName() {
            return ;
        }
        public void setName(String name) {
            this. = name;
        }
        public String getHostCaching() {
            return ;
        }
        public void setHostCaching(String hostCaching) {
            this. = hostCaching;
        }
        public String getLun() {
            return ;
        }
        public void setLun(String lun) {
            this. = lun;
        }
        public String getMediaLink() {
            return ;
        }
        public void setMediaLink(String mediaLink) {
            this. = mediaLink;
        }
        public String getLogicalDiskSizeInGB() {
            return ;
        }
        public void setLogicalDiskSizeInGB(String logicalDiskSizeInGB) {
            this. = logicalDiskSizeInGB;
        }
    }
New to GrepCode? Check out our FAQ X