Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package org.dasein.cloud.azure.platform.model;
  
  import java.util.List;

Created by Vlad_Munthiu on 11/17/2014.
  
  
 @XmlRootElement(name="ServiceResource", namespace ="http://schemas.microsoft.com/windowsazure")
 public class ServerServiceResourceModel {
     @XmlElement(name="Name", namespace ="http://schemas.microsoft.com/windowsazure")
     private String name;
     @XmlElement(name="Type", namespace ="http://schemas.microsoft.com/windowsazure")
     private String type;
     @XmlElement(name="DatabaseQuota", namespace ="http://schemas.microsoft.com/windowsazure")
     private String databaseQuota;
     @XmlElement(name="ServerQuota", namespace ="http://schemas.microsoft.com/windowsazure")
     private String serverQuota;
     @XmlElement(name="StartIPAddress", namespace ="http://schemas.microsoft.com/windowsazure")
     private String startIpAddress;
     @XmlElement(name="EndIPAddress", namespace ="http://schemas.microsoft.com/windowsazure")
     private String endIpAddress;
 
     @XmlElementWrapper(name = "Versions", namespace = "http://schemas.microsoft.com/windowsazure")
     @XmlElement(name="Version", namespace ="http://schemas.microsoft.com/windowsazure")
     private List<Versionversions;
 
     public String getName() {
         return ;
     }
 
     public void setName(String name) {
         this. = name;
     }
 
     public String getType() {
         return ;
     }
 
     public void setType(String type) {
         this. = type;
     }
 
     public String getDatabaseQuota() {
         return ;
     }
 
     public void setDatabaseQuota(String databaseQuota) {
         this. = databaseQuota;
     }
 
     public String getServerQuota() {
         return ;
     }
 
     public void setServerQuota(String serverQuota) {
         this. = serverQuota;
     }
 
     public List<VersiongetVersions() {
         return ;
     }
 
     public void setVersions(List<Versionversions) {
         this. = versions;
     }
 
     public String getStartIpAddress() {
         return ;
     }
 
     public void setStartIpAddress(String startIpAddress) {
         this. = startIpAddress;
     }
 
     public String getEndIpAddress() {
         return ;
     }
 
     public void setEndIpAddress(String endIpAddress) {
         this. = endIpAddress;
     }
 
     @XmlRootElement(name="Version", namespace ="http://schemas.microsoft.com/windowsazure")
     public static class Version{
         @XmlElement(name="Name", namespace ="http://schemas.microsoft.com/windowsazure")
         private String name;
         @XmlElement(name="IsDefault", namespace ="http://schemas.microsoft.com/windowsazure")
         private String isDefault;
         @XmlElementWrapper(name = "Editions", namespace = "http://schemas.microsoft.com/windowsazure")
         @XmlElement(name="Edition", namespace ="http://schemas.microsoft.com/windowsazure")
         private List<Editioneditions;
 
         public String getName() {
             return ;
         }
        public void setName(String name) {
            this. = name;
        }
        public String getIsDefault() {
            return ;
        }
        public void setIsDefault(String isDefault) {
            this. = isDefault;
        }
        public List<EditiongetEditions() {
            return ;
        }
        public void setEditions(List<Editioneditions) {
            this. = editions;
        }
    }
    @XmlRootElement(name="Edition", namespace ="http://schemas.microsoft.com/windowsazure")
    public static class Edition{
        @XmlElement(name="Name", namespace ="http://schemas.microsoft.com/windowsazure")
        private String name;
        @XmlElement(name="IsDefault", namespace ="http://schemas.microsoft.com/windowsazure")
        private String isDefault;
        @XmlElementWrapper(name = "ServiceLevelObjectives", namespace = "http://schemas.microsoft.com/windowsazure")
        @XmlElement(name="ServiceLevelObjective", namespace ="http://schemas.microsoft.com/windowsazure")
        public String getName() {
            return ;
        }
        public void setName(String name) {
            this. = name;
        }
        public String getIsDefault() {
            return ;
        }
        public void setIsDefault(String isDefault) {
            this. = isDefault;
        }
            return ;
        }
        public void setServiceLevelObjectives(List<ServiceLevelObjectiveserviceLevelObjectives) {
            this. = serviceLevelObjectives;
        }
    }
    @XmlRootElement(name="ServiceLevelObjective", namespace ="http://schemas.microsoft.com/windowsazure")
    public static class ServiceLevelObjective{
        @XmlElement(name="Name", namespace ="http://schemas.microsoft.com/windowsazure")
        private String name;
        @XmlElement(name="IsDefault", namespace ="http://schemas.microsoft.com/windowsazure")
        private String isDefault;
        @XmlElement(name="ID", namespace ="http://schemas.microsoft.com/windowsazure")
        private String id;
        @XmlElementWrapper(name = "MaxSizes", namespace = "http://schemas.microsoft.com/windowsazure")
        @XmlElement(name="MaxSize", namespace ="http://schemas.microsoft.com/windowsazure")
        private List<DatabaseSizemaxSizes;
        @XmlElement(name="PerformanceLevel", namespace ="http://schemas.microsoft.com/windowsazure")
        private PerformanceLevel performanceLevel;
        public String getName() {
            return ;
        }
        public void setName(String name) {
            this. = name;
        }
        public String getIsDefault() {
            return ;
        }
        public void setIsDefault(String isDefault) {
            this. = isDefault;
        }
        public String getId() {
            return ;
        }
        public void setId(String id) {
            this. = id;
        }
        public List<DatabaseSizegetMaxSizes() {
            return ;
        }
        public void setMaxSizes(List<DatabaseSizemaxSizes) {
            this. = maxSizes;
        }
        public PerformanceLevel getPerformanceLevel() {
            return ;
        }
        public void setPerformanceLevel(PerformanceLevel performanceLevel) {
            this. = performanceLevel;
        }
    }
    @XmlRootElement(name="MaxSize", namespace ="http://schemas.microsoft.com/windowsazure")
    public static class DatabaseSize{
        @XmlElement(name="Value", namespace ="http://schemas.microsoft.com/windowsazure")
        private String value;
        @XmlElement(name="Unit", namespace ="http://schemas.microsoft.com/windowsazure")
        private String unit;
        @XmlElement(name="IsDefault", namespace ="http://schemas.microsoft.com/windowsazure")
        private String isDefault;
        public String getValue() {
            return ;
        }
        public void setValue(String value) {
            this. = value;
        }
        public String getUnit() {
            return ;
        }
        public void setUnit(String unit) {
            this. = unit;
        }
        public String getIsDefault() {
            return ;
        }
        public void setIsDefault(String isDefault) {
            this. = isDefault;
        }
    }
    @XmlRootElement(name="PerformanceLevel", namespace ="http://schemas.microsoft.com/windowsazure")
    public static class PerformanceLevel{
        @XmlElement(name="Value", namespace ="http://schemas.microsoft.com/windowsazure")
        private String value;
        @XmlElement(name="Unit", namespace ="http://schemas.microsoft.com/windowsazure")
        private String unit;
        public String getValue() {
            return ;
        }
        public void setValue(String value) {
            this. = value;
        }
        public String getUnit() {
            return ;
        }
        public void setUnit(String unit) {
            this. = unit;
        }
    }
New to GrepCode? Check out our FAQ X