Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BC50F1031D for ; Fri, 30 Aug 2013 23:27:57 +0000 (UTC) Received: (qmail 2924 invoked by uid 500); 30 Aug 2013 23:27:55 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 2867 invoked by uid 500); 30 Aug 2013 23:27:55 -0000 Mailing-List: contact commits-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list commits@cloudstack.apache.org Received: (qmail 2766 invoked by uid 99); 30 Aug 2013 23:27:55 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Aug 2013 23:27:55 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id EC3068BA11C; Fri, 30 Aug 2013 23:27:54 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: duffy@apache.org To: commits@cloudstack.apache.org Date: Fri, 30 Aug 2013 23:27:59 -0000 Message-Id: In-Reply-To: <700e697e7a0749e0837c89b14205d7c9@git.apache.org> References: <700e697e7a0749e0837c89b14205d7c9@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [06/50] [abbrv] git commit: updated refs/heads/ldapplugin to bdba0dd Added missing getters to UserVmResponse Signed-off-by: Chiradeep Vittal Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2be1039f Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2be1039f Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2be1039f Branch: refs/heads/ldapplugin Commit: 2be1039f602c89897d629d953d29aefaa2299bcf Parents: 3fe468c Author: Chris Suich Authored: Mon Aug 26 15:21:46 2013 -0400 Committer: Chiradeep Vittal Committed: Wed Aug 28 12:02:55 2013 -0700 ---------------------------------------------------------------------- .../cloudstack/api/response/UserVmResponse.java | 919 ++++++++++++------- 1 file changed, 564 insertions(+), 355 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2be1039f/api/src/org/apache/cloudstack/api/response/UserVmResponse.java ---------------------------------------------------------------------- diff --git a/api/src/org/apache/cloudstack/api/response/UserVmResponse.java b/api/src/org/apache/cloudstack/api/response/UserVmResponse.java index e49e16b..d9bb2a9 100644 --- a/api/src/org/apache/cloudstack/api/response/UserVmResponse.java +++ b/api/src/org/apache/cloudstack/api/response/UserVmResponse.java @@ -17,7 +17,6 @@ package org.apache.cloudstack.api.response; import java.util.Date; -import java.util.HashSet; import java.util.LinkedHashSet; import java.util.Set; @@ -35,414 +34,624 @@ import com.google.gson.annotations.SerializedName; @SuppressWarnings("unused") @EntityReference(value={VirtualMachine.class, UserVm.class, VirtualRouter.class}) public class UserVmResponse extends BaseResponse implements ControlledEntityResponse { - @SerializedName(ApiConstants.ID) @Param(description="the ID of the virtual machine") - private String id; + @SerializedName(ApiConstants.ID) @Param(description="the ID of the virtual machine") + private String id; - @SerializedName(ApiConstants.NAME) @Param(description="the name of the virtual machine") - private String name; + @SerializedName(ApiConstants.NAME) @Param(description="the name of the virtual machine") + private String name; - @SerializedName("displayname") @Param(description="user generated name. The name of the virtual machine is returned if no displayname exists.") - private String displayName; + @SerializedName("displayname") @Param(description="user generated name. The name of the virtual machine is returned if no displayname exists.") + private String displayName; - @SerializedName(ApiConstants.ACCOUNT) @Param(description="the account associated with the virtual machine") - private String accountName; + @SerializedName(ApiConstants.ACCOUNT) @Param(description="the account associated with the virtual machine") + private String accountName; - @SerializedName(ApiConstants.PROJECT_ID) @Param(description="the project id of the vm") - private String projectId; + @SerializedName(ApiConstants.PROJECT_ID) @Param(description="the project id of the vm") + private String projectId; - @SerializedName(ApiConstants.PROJECT) @Param(description="the project name of the vm") - private String projectName; + @SerializedName(ApiConstants.PROJECT) @Param(description="the project name of the vm") + private String projectName; - @SerializedName(ApiConstants.DOMAIN_ID) @Param(description="the ID of the domain in which the virtual machine exists") - private String domainId; + @SerializedName(ApiConstants.DOMAIN_ID) @Param(description="the ID of the domain in which the virtual machine exists") + private String domainId; - @SerializedName(ApiConstants.DOMAIN) @Param(description="the name of the domain in which the virtual machine exists") - private String domainName; + @SerializedName(ApiConstants.DOMAIN) @Param(description="the name of the domain in which the virtual machine exists") + private String domainName; - @SerializedName(ApiConstants.CREATED) @Param(description="the date when this virtual machine was created") - private Date created; + @SerializedName(ApiConstants.CREATED) @Param(description="the date when this virtual machine was created") + private Date created; - @SerializedName(ApiConstants.STATE) @Param(description="the state of the virtual machine") - private String state; + @SerializedName(ApiConstants.STATE) @Param(description="the state of the virtual machine") + private String state; - @SerializedName(ApiConstants.HA_ENABLE) @Param(description="true if high-availability is enabled, false otherwise") - private Boolean haEnable; + @SerializedName(ApiConstants.HA_ENABLE) @Param(description="true if high-availability is enabled, false otherwise") + private Boolean haEnable; - @SerializedName(ApiConstants.GROUP_ID) @Param(description="the group ID of the virtual machine") - private String groupId; + @SerializedName(ApiConstants.GROUP_ID) @Param(description="the group ID of the virtual machine") + private String groupId; - @SerializedName(ApiConstants.GROUP) @Param(description="the group name of the virtual machine") - private String group; + @SerializedName(ApiConstants.GROUP) @Param(description="the group name of the virtual machine") + private String group; - @SerializedName(ApiConstants.ZONE_ID) @Param(description="the ID of the availablility zone for the virtual machine") - private String zoneId; + @SerializedName(ApiConstants.ZONE_ID) @Param(description="the ID of the availablility zone for the virtual machine") + private String zoneId; - @SerializedName(ApiConstants.ZONE_NAME) @Param(description="the name of the availability zone for the virtual machine") - private String zoneName; + @SerializedName(ApiConstants.ZONE_NAME) @Param(description="the name of the availability zone for the virtual machine") + private String zoneName; - @SerializedName(ApiConstants.HOST_ID) @Param(description="the ID of the host for the virtual machine") - private String hostId; + @SerializedName(ApiConstants.HOST_ID) @Param(description="the ID of the host for the virtual machine") + private String hostId; - @SerializedName("hostname") @Param(description="the name of the host for the virtual machine") - private String hostName; + @SerializedName("hostname") @Param(description="the name of the host for the virtual machine") + private String hostName; - @SerializedName(ApiConstants.TEMPLATE_ID) @Param(description="the ID of the template for the virtual machine. A -1 is returned if the virtual machine was created from an ISO file.") - private String templateId; + @SerializedName(ApiConstants.TEMPLATE_ID) @Param(description="the ID of the template for the virtual machine. A -1 is returned if the virtual machine was created from an ISO file.") + private String templateId; - @SerializedName("templatename") @Param(description="the name of the template for the virtual machine") - private String templateName; + @SerializedName("templatename") @Param(description="the name of the template for the virtual machine") + private String templateName; - @SerializedName("templatedisplaytext") @Param(description=" an alternate display text of the template for the virtual machine") - private String templateDisplayText; + @SerializedName("templatedisplaytext") @Param(description=" an alternate display text of the template for the virtual machine") + private String templateDisplayText; - @SerializedName(ApiConstants.PASSWORD_ENABLED) @Param(description="true if the password rest feature is enabled, false otherwise") - private Boolean passwordEnabled; + @SerializedName(ApiConstants.PASSWORD_ENABLED) @Param(description="true if the password rest feature is enabled, false otherwise") + private Boolean passwordEnabled; - @SerializedName("isoid") @Param(description="the ID of the ISO attached to the virtual machine") - private String isoId; + @SerializedName("isoid") @Param(description="the ID of the ISO attached to the virtual machine") + private String isoId; - @SerializedName("isoname") @Param(description="the name of the ISO attached to the virtual machine") - private String isoName; + @SerializedName("isoname") @Param(description="the name of the ISO attached to the virtual machine") + private String isoName; - @SerializedName("isodisplaytext") @Param(description="an alternate display text of the ISO attached to the virtual machine") - private String isoDisplayText; + @SerializedName("isodisplaytext") @Param(description="an alternate display text of the ISO attached to the virtual machine") + private String isoDisplayText; - @SerializedName(ApiConstants.SERVICE_OFFERING_ID) @Param(description="the ID of the service offering of the virtual machine") - private String serviceOfferingId; + @SerializedName(ApiConstants.SERVICE_OFFERING_ID) @Param(description="the ID of the service offering of the virtual machine") + private String serviceOfferingId; - @SerializedName("serviceofferingname") @Param(description="the name of the service offering of the virtual machine") - private String serviceOfferingName; + @SerializedName("serviceofferingname") @Param(description="the name of the service offering of the virtual machine") + private String serviceOfferingName; - @SerializedName("forvirtualnetwork") @Param(description="the virtual network for the service offering") - private Boolean forVirtualNetwork; + @SerializedName("forvirtualnetwork") @Param(description="the virtual network for the service offering") + private Boolean forVirtualNetwork; - @SerializedName(ApiConstants.CPU_NUMBER) @Param(description="the number of cpu this virtual machine is running with") - private Integer cpuNumber; + @SerializedName(ApiConstants.CPU_NUMBER) @Param(description="the number of cpu this virtual machine is running with") + private Integer cpuNumber; - @SerializedName(ApiConstants.CPU_SPEED) @Param(description="the speed of each cpu") - private Integer cpuSpeed; + @SerializedName(ApiConstants.CPU_SPEED) @Param(description="the speed of each cpu") + private Integer cpuSpeed; - @SerializedName(ApiConstants.MEMORY) @Param(description="the memory allocated for the virtual machine") - private Integer memory; + @SerializedName(ApiConstants.MEMORY) @Param(description="the memory allocated for the virtual machine") + private Integer memory; - @SerializedName("cpuused") @Param(description="the amount of the vm's CPU currently used") - private String cpuUsed; + @SerializedName("cpuused") @Param(description="the amount of the vm's CPU currently used") + private String cpuUsed; - @SerializedName("networkkbsread") @Param(description="the incoming network traffic on the vm") - private Long networkKbsRead; + @SerializedName("networkkbsread") @Param(description="the incoming network traffic on the vm") + private Long networkKbsRead; - @SerializedName("networkkbswrite") @Param(description="the outgoing network traffic on the host") - private Long networkKbsWrite; + @SerializedName("networkkbswrite") @Param(description="the outgoing network traffic on the host") + private Long networkKbsWrite; - @SerializedName("diskkbsread") @Param(description="the read (bytes) of disk on the vm") - private Long diskKbsRead; - - @SerializedName("diskkbswrite") @Param(description="the write (bytes) of disk on the vm") - private Long diskKbsWrite; - - @SerializedName("diskioread") @Param(description="the read (io) of disk on the vm") - private Long diskIORead; - - @SerializedName("diskiowrite") @Param(description="the write (io) of disk on the vm") - private Long diskIOWrite; - - @SerializedName("guestosid") @Param(description="Os type ID of the virtual machine") - private String guestOsId; + @SerializedName("diskkbsread") @Param(description="the read (bytes) of disk on the vm") + private Long diskKbsRead; - @SerializedName("rootdeviceid") @Param(description="device ID of the root volume") - private Long rootDeviceId; + @SerializedName("diskkbswrite") @Param(description="the write (bytes) of disk on the vm") + private Long diskKbsWrite; - @SerializedName("rootdevicetype") @Param(description="device type of the root volume") - private String rootDeviceType; + @SerializedName("diskioread") @Param(description="the read (io) of disk on the vm") + private Long diskIORead; - @SerializedName("securitygroup") @Param(description="list of security groups associated with the virtual machine", responseObject = SecurityGroupResponse.class) - private Set securityGroupList; + @SerializedName("diskiowrite") @Param(description="the write (io) of disk on the vm") + private Long diskIOWrite; - @SerializedName(ApiConstants.PASSWORD) @Param(description="the password (if exists) of the virtual machine") - private String password; + @SerializedName("guestosid") @Param(description="Os type ID of the virtual machine") + private String guestOsId; - @SerializedName("nic") @Param(description="the list of nics associated with vm", responseObject = NicResponse.class) - private Set nics; + @SerializedName("rootdeviceid") @Param(description="device ID of the root volume") + private Long rootDeviceId; - @SerializedName("hypervisor") @Param(description="the hypervisor on which the template runs") - private String hypervisor; + @SerializedName("rootdevicetype") @Param(description="device type of the root volume") + private String rootDeviceType; - @SerializedName(ApiConstants.PUBLIC_IP_ID) @Param(description="public IP address id associated with vm via Static nat rule") - private String publicIpId; + @SerializedName("securitygroup") @Param(description="list of security groups associated with the virtual machine", responseObject = SecurityGroupResponse.class) + private Set securityGroupList; - @SerializedName(ApiConstants.PUBLIC_IP) @Param(description="public IP address id associated with vm via Static nat rule") - private String publicIp; + @SerializedName(ApiConstants.PASSWORD) @Param(description="the password (if exists) of the virtual machine") + private String password; - @SerializedName(ApiConstants.INSTANCE_NAME) @Param(description="instance name of the user vm; this parameter is returned to the ROOT admin only", since="3.0.1") - private String instanceName; + @SerializedName("nic") @Param(description="the list of nics associated with vm", responseObject = NicResponse.class) + private Set nics; - @SerializedName(ApiConstants.TAGS) @Param(description="the list of resource tags associated with vm", responseObject = ResourceTagResponse.class) - private Set tags; + @SerializedName("hypervisor") @Param(description="the hypervisor on which the template runs") + private String hypervisor; - @SerializedName(ApiConstants.SSH_KEYPAIR) @Param(description="ssh key-pair") - private String keyPairName; + @SerializedName(ApiConstants.PUBLIC_IP_ID) @Param(description="public IP address id associated with vm via Static nat rule") + private String publicIpId; - @SerializedName("affinitygroup") - @Param(description = "list of affinity groups associated with the virtual machine", responseObject = AffinityGroupResponse.class) - private Set affinityGroupList; + @SerializedName(ApiConstants.PUBLIC_IP) @Param(description="public IP address id associated with vm via Static nat rule") + private String publicIp; - @SerializedName(ApiConstants.DISPLAY_VM) @Param(description="an optional field whether to the display the vm to the end user or not.") - private Boolean displayVm; + @SerializedName(ApiConstants.INSTANCE_NAME) @Param(description="instance name of the user vm; this parameter is returned to the ROOT admin only", since="3.0.1") + private String instanceName; - @SerializedName(ApiConstants.IS_DYNAMICALLY_SCALABLE) @Param(description="true if vm contains XS/VMWare tools inorder to support dynamic scaling of VM cpu/memory.") - private Boolean isDynamicallyScalable; - @SerializedName(ApiConstants.SERVICE_STATE) @Param(description="State of the Service from LB rule") - private String serviceState; + @SerializedName(ApiConstants.TAGS) @Param(description="the list of resource tags associated with vm", responseObject = ResourceTagResponse.class) + private Set tags; - public UserVmResponse(){ - securityGroupList = new LinkedHashSet(); - nics = new LinkedHashSet(); - tags = new LinkedHashSet(); - affinityGroupList = new LinkedHashSet(); - } + @SerializedName(ApiConstants.SSH_KEYPAIR) @Param(description="ssh key-pair") + private String keyPairName; - public void setHypervisor(String hypervisor) { - this.hypervisor = hypervisor; - } + @SerializedName("affinitygroup") + @Param(description = "list of affinity groups associated with the virtual machine", responseObject = AffinityGroupResponse.class) + private Set affinityGroupList; - public void setId(String id) { - this.id = id; - } + @SerializedName(ApiConstants.DISPLAY_VM) @Param(description="an optional field whether to the display the vm to the end user or not.") + private Boolean displayVm; - public String getId() { - return this.id; - } + @SerializedName(ApiConstants.IS_DYNAMICALLY_SCALABLE) @Param(description="true if vm contains XS/VMWare tools inorder to support dynamic scaling of VM cpu/memory.") + private Boolean isDynamicallyScalable; + @SerializedName(ApiConstants.SERVICE_STATE) @Param(description="State of the Service from LB rule") + private String serviceState; - public Boolean getDisplayVm() { - return displayVm; - } - - public void setDisplayVm(Boolean displayVm) { - this.displayVm = displayVm; - } - - @Override - public String getObjectId() { - return this.getId(); - } - - public void setName(String name) { - this.name = name; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - } - - public void setAccountName(String accountName) { - this.accountName = accountName; - } - - @Override - public void setDomainId(String domainId) { - this.domainId = domainId; - } - - public void setDomainName(String domainName) { - this.domainName = domainName; - } + public UserVmResponse(){ + securityGroupList = new LinkedHashSet(); + nics = new LinkedHashSet(); + tags = new LinkedHashSet(); + affinityGroupList = new LinkedHashSet(); + } - public void setCreated(Date created) { - this.created = created; - } + public void setHypervisor(String hypervisor) { + this.hypervisor = hypervisor; + } - public void setState(String state) { - this.state = state; - } + public void setId(String id) { + this.id = id; + } - public void setHaEnable(Boolean haEnable) { - this.haEnable = haEnable; - } - - public void setGroupId(String groupId) { - this.groupId = groupId; - } - - public void setGroup(String group) { - this.group = group; - } - - public void setZoneId(String zoneId) { - this.zoneId = zoneId; - } - - public void setZoneName(String zoneName) { - this.zoneName = zoneName; - } - - public void setHostId(String hostId) { - this.hostId = hostId; - } - - public void setHostName(String hostName) { - this.hostName = hostName; - } - - public void setTemplateId(String templateId) { - this.templateId = templateId; - } - - public void setTemplateName(String templateName) { - this.templateName = templateName; - } - - public void setTemplateDisplayText(String templateDisplayText) { - this.templateDisplayText = templateDisplayText; - } - - public void setPasswordEnabled(Boolean passwordEnabled) { - this.passwordEnabled = passwordEnabled; - } - - public void setIsoId(String isoId) { - this.isoId = isoId; - } - - public void setIsoName(String isoName) { - this.isoName = isoName; - } - - public void setIsoDisplayText(String isoDisplayText) { - this.isoDisplayText = isoDisplayText; - } - - public void setDiskKbsRead(Long diskKbsRead) { - this.diskKbsRead = diskKbsRead; - } - - public void setDiskKbsWrite(Long diskKbsWrite) { - this.diskKbsWrite = diskKbsWrite; - } - - public void setDiskIORead(Long diskIORead) { - this.diskIORead = diskIORead; - } - - public void setDiskIOWrite(Long diskIOWrite) { - this.diskIOWrite = diskIOWrite; - } - - public void setServiceOfferingId(String serviceOfferingId) { - this.serviceOfferingId = serviceOfferingId; - } - - public void setServiceOfferingName(String serviceOfferingName) { - this.serviceOfferingName = serviceOfferingName; - } - - public void setCpuNumber(Integer cpuNumber) { - this.cpuNumber = cpuNumber; - } - - public void setCpuSpeed(Integer cpuSpeed) { - this.cpuSpeed = cpuSpeed; - } - - public void setMemory(Integer memory) { - this.memory = memory; - } - - public void setCpuUsed(String cpuUsed) { - this.cpuUsed = cpuUsed; - } - - public void setNetworkKbsRead(Long networkKbsRead) { - this.networkKbsRead = networkKbsRead; - } - - public void setNetworkKbsWrite(Long networkKbsWrite) { - this.networkKbsWrite = networkKbsWrite; - } - - public void setGuestOsId(String guestOsId) { - this.guestOsId = guestOsId; - } - - public void setRootDeviceId(Long rootDeviceId) { - this.rootDeviceId = rootDeviceId; - } - - public void setRootDeviceType(String rootDeviceType) { - this.rootDeviceType = rootDeviceType; - } - - public void setPassword(String password) { - this.password = password; - } - - public void setForVirtualNetwork(Boolean forVirtualNetwork) { - this.forVirtualNetwork = forVirtualNetwork; - } - - public void setNics(Set nics) { - this.nics = nics; - } - - public void addNic(NicResponse nic) { - this.nics.add(nic); - } - - public void setSecurityGroupList(Set securityGroups) { - this.securityGroupList = securityGroups; - } - - public void addSecurityGroup(SecurityGroupResponse securityGroup){ - this.securityGroupList.add(securityGroup); - } - - @Override - public void setProjectId(String projectId) { - this.projectId = projectId; - } - - @Override - public void setProjectName(String projectName) { - this.projectName = projectName; - } - - public void setPublicIpId(String publicIpId) { - this.publicIpId = publicIpId; - } - - public void setPublicIp(String publicIp) { - this.publicIp = publicIp; - } - - public void setInstanceName(String instanceName) { - this.instanceName = instanceName; - } - - public void setTags(Set tags) { - this.tags = tags; - } - - public void addTag(ResourceTagResponse tag){ - this.tags.add(tag); - } - - public void setKeyPairName(String keyPairName) { - this.keyPairName = keyPairName; - } - - public void setAffinityGroupList(Set affinityGroups) { - this.affinityGroupList = affinityGroups; - } - - public void addAffinityGroup(AffinityGroupResponse affinityGroup) { - this.affinityGroupList.add(affinityGroup); - } - - public void setDynamicallyScalable(boolean isDynamicallyScalable) { - this.isDynamicallyScalable = isDynamicallyScalable; - } - - public void setServiceState(String state) { - this.serviceState = state; - } + public String getId() { + return this.id; + } + + public Boolean getDisplayVm() { + return displayVm; + } + + public void setDisplayVm(Boolean displayVm) { + this.displayVm = displayVm; + } + + @Override + public String getObjectId() { + return this.getId(); + } + + public String getName() { + return name; + } + + public String getDisplayName() { + return displayName; + } + + public String getAccountName() { + return accountName; + } + + public String getProjectId() { + return projectId; + } + + public String getProjectName() { + return projectName; + } + + public String getDomainId() { + return domainId; + } + + public String getDomainName() { + return domainName; + } + + public Date getCreated() { + return created; + } + + public String getState() { + return state; + } + + public Boolean getHaEnable() { + return haEnable; + } + + public String getGroupId() { + return groupId; + } + + public String getGroup() { + return group; + } + + public String getZoneId() { + return zoneId; + } + + public String getZoneName() { + return zoneName; + } + + public String getHostId() { + return hostId; + } + + public String getHostName() { + return hostName; + } + + public String getTemplateId() { + return templateId; + } + + public String getTemplateName() { + return templateName; + } + + public String getTemplateDisplayText() { + return templateDisplayText; + } + + public Boolean getPasswordEnabled() { + return passwordEnabled; + } + + public String getIsoId() { + return isoId; + } + + public String getIsoName() { + return isoName; + } + + public String getIsoDisplayText() { + return isoDisplayText; + } + + public String getServiceOfferingId() { + return serviceOfferingId; + } + + public String getServiceOfferingName() { + return serviceOfferingName; + } + + public Boolean getForVirtualNetwork() { + return forVirtualNetwork; + } + + public Integer getCpuNumber() { + return cpuNumber; + } + + public Integer getCpuSpeed() { + return cpuSpeed; + } + + public Integer getMemory() { + return memory; + } + + public String getCpuUsed() { + return cpuUsed; + } + + public Long getNetworkKbsRead() { + return networkKbsRead; + } + + public Long getNetworkKbsWrite() { + return networkKbsWrite; + } + + public Long getDiskKbsRead() { + return diskKbsRead; + } + + public Long getDiskKbsWrite() { + return diskKbsWrite; + } + + public Long getDiskIORead() { + return diskIORead; + } + + public Long getDiskIOWrite() { + return diskIOWrite; + } + + public String getGuestOsId() { + return guestOsId; + } + + public Long getRootDeviceId() { + return rootDeviceId; + } + + public String getRootDeviceType() { + return rootDeviceType; + } + + public Set getSecurityGroupList() { + return securityGroupList; + } + + public String getPassword() { + return password; + } + + public Set getNics() { + return nics; + } + + public String getHypervisor() { + return hypervisor; + } + + public String getPublicIpId() { + return publicIpId; + } + + public String getPublicIp() { + return publicIp; + } + + public String getInstanceName() { + return instanceName; + } + + public Set getTags() { + return tags; + } + + public String getKeyPairName() { + return keyPairName; + } + + public Set getAffinityGroupList() { + return affinityGroupList; + } + + public Boolean getIsDynamicallyScalable() { + return isDynamicallyScalable; + } + + public String getServiceState() { + return serviceState; + } + + public void setIsDynamicallyScalable(Boolean isDynamicallyScalable) { + this.isDynamicallyScalable = isDynamicallyScalable; + } + + public void setName(String name) { + this.name = name; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + @Override + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + @Override + public void setDomainId(String domainId) { + this.domainId = domainId; + } + + @Override + public void setDomainName(String domainName) { + this.domainName = domainName; + } + + public void setCreated(Date created) { + this.created = created; + } + + public void setState(String state) { + this.state = state; + } + + public void setHaEnable(Boolean haEnable) { + this.haEnable = haEnable; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + } + + public void setGroup(String group) { + this.group = group; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + } + + public void setZoneName(String zoneName) { + this.zoneName = zoneName; + } + + public void setHostId(String hostId) { + this.hostId = hostId; + } + + public void setHostName(String hostName) { + this.hostName = hostName; + } + + public void setTemplateId(String templateId) { + this.templateId = templateId; + } + + public void setTemplateName(String templateName) { + this.templateName = templateName; + } + + public void setTemplateDisplayText(String templateDisplayText) { + this.templateDisplayText = templateDisplayText; + } + + public void setPasswordEnabled(Boolean passwordEnabled) { + this.passwordEnabled = passwordEnabled; + } + + public void setIsoId(String isoId) { + this.isoId = isoId; + } + + public void setIsoName(String isoName) { + this.isoName = isoName; + } + + public void setIsoDisplayText(String isoDisplayText) { + this.isoDisplayText = isoDisplayText; + } + + public void setDiskKbsRead(Long diskKbsRead) { + this.diskKbsRead = diskKbsRead; + } + + public void setDiskKbsWrite(Long diskKbsWrite) { + this.diskKbsWrite = diskKbsWrite; + } + + public void setDiskIORead(Long diskIORead) { + this.diskIORead = diskIORead; + } + + public void setDiskIOWrite(Long diskIOWrite) { + this.diskIOWrite = diskIOWrite; + } + + public void setServiceOfferingId(String serviceOfferingId) { + this.serviceOfferingId = serviceOfferingId; + } + + public void setServiceOfferingName(String serviceOfferingName) { + this.serviceOfferingName = serviceOfferingName; + } + + public void setCpuNumber(Integer cpuNumber) { + this.cpuNumber = cpuNumber; + } + + public void setCpuSpeed(Integer cpuSpeed) { + this.cpuSpeed = cpuSpeed; + } + + public void setMemory(Integer memory) { + this.memory = memory; + } + + public void setCpuUsed(String cpuUsed) { + this.cpuUsed = cpuUsed; + } + + public void setNetworkKbsRead(Long networkKbsRead) { + this.networkKbsRead = networkKbsRead; + } + + public void setNetworkKbsWrite(Long networkKbsWrite) { + this.networkKbsWrite = networkKbsWrite; + } + + public void setGuestOsId(String guestOsId) { + this.guestOsId = guestOsId; + } + + public void setRootDeviceId(Long rootDeviceId) { + this.rootDeviceId = rootDeviceId; + } + + public void setRootDeviceType(String rootDeviceType) { + this.rootDeviceType = rootDeviceType; + } + + public void setPassword(String password) { + this.password = password; + } + + public void setForVirtualNetwork(Boolean forVirtualNetwork) { + this.forVirtualNetwork = forVirtualNetwork; + } + + public void setNics(Set nics) { + this.nics = nics; + } + + public void addNic(NicResponse nic) { + this.nics.add(nic); + } + + public void setSecurityGroupList(Set securityGroups) { + this.securityGroupList = securityGroups; + } + + public void addSecurityGroup(SecurityGroupResponse securityGroup){ + this.securityGroupList.add(securityGroup); + } + + @Override + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + @Override + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public void setPublicIpId(String publicIpId) { + this.publicIpId = publicIpId; + } + + public void setPublicIp(String publicIp) { + this.publicIp = publicIp; + } + + public void setInstanceName(String instanceName) { + this.instanceName = instanceName; + } + + public void setTags(Set tags) { + this.tags = tags; + } + + public void addTag(ResourceTagResponse tag){ + this.tags.add(tag); + } + + public void setKeyPairName(String keyPairName) { + this.keyPairName = keyPairName; + } + + public void setAffinityGroupList(Set affinityGroups) { + this.affinityGroupList = affinityGroups; + } + + public void addAffinityGroup(AffinityGroupResponse affinityGroup) { + this.affinityGroupList.add(affinityGroup); + } + + public void setDynamicallyScalable(boolean isDynamicallyScalable) { + this.isDynamicallyScalable = isDynamicallyScalable; + } + + public void setServiceState(String state) { + this.serviceState = state; + } }