com.softlayer.api.service.workload.citrix.deployment.Response Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
The newest version!
package com.softlayer.api.service.workload.citrix.deployment;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.workload.citrix.deployment.Type;
import java.util.ArrayList;
import java.util.GregorianCalendar;
import java.util.List;
/**
* The SoftLayer_Workload_Citrix_Deployment_Response constructs a response object for the [[SoftLayer_Workload_Citrix_Deployment]] that includes all resources, i.e., [[SoftLayer_Workload_Citrix_Deployment_Resource]].
*
* @see SoftLayer_Workload_Citrix_Deployment_Response
*/
@ApiType("SoftLayer_Workload_Citrix_Deployment_Response")
public class Response extends Entity {
/**
* The account ID to which the deployment belongs.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long accountId;
public Long getAccountId() {
return accountId;
}
public void setAccountId(Long accountId) {
accountIdSpecified = true;
this.accountId = accountId;
}
protected boolean accountIdSpecified;
public boolean isAccountIdSpecified() {
return accountIdSpecified;
}
public void unsetAccountId() {
accountId = null;
accountIdSpecified = false;
}
/**
* Topology used for the CVAD deployment
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String activeDirectoryTopology;
public String getActiveDirectoryTopology() {
return activeDirectoryTopology;
}
public void setActiveDirectoryTopology(String activeDirectoryTopology) {
activeDirectoryTopologySpecified = true;
this.activeDirectoryTopology = activeDirectoryTopology;
}
protected boolean activeDirectoryTopologySpecified;
public boolean isActiveDirectoryTopologySpecified() {
return activeDirectoryTopologySpecified;
}
public void unsetActiveDirectoryTopology() {
activeDirectoryTopology = null;
activeDirectoryTopologySpecified = false;
}
/**
* The date when this deployment was created.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected GregorianCalendar createDate;
public GregorianCalendar getCreateDate() {
return createDate;
}
public void setCreateDate(GregorianCalendar createDate) {
createDateSpecified = true;
this.createDate = createDate;
}
protected boolean createDateSpecified;
public boolean isCreateDateSpecified() {
return createDateSpecified;
}
public void unsetCreateDate() {
createDate = null;
createDateSpecified = false;
}
/**
* ID of the CVAD deployment.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long id;
public Long getId() {
return id;
}
public void setId(Long id) {
idSpecified = true;
this.id = id;
}
protected boolean idSpecified;
public boolean isIdSpecified() {
return idSpecified;
}
public void unsetId() {
id = null;
idSpecified = false;
}
/**
* The date when this deployment was modified.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected GregorianCalendar modifyDate;
public GregorianCalendar getModifyDate() {
return modifyDate;
}
public void setModifyDate(GregorianCalendar modifyDate) {
modifyDateSpecified = true;
this.modifyDate = modifyDate;
}
protected boolean modifyDateSpecified;
public boolean isModifyDateSpecified() {
return modifyDateSpecified;
}
public void unsetModifyDate() {
modifyDate = null;
modifyDateSpecified = false;
}
/**
* It is a collection of objects representing deployment resources such as VLAN, subnet, bare metal, proxy, DHCP, cloud connectors.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected List resources;
public List getResources() {
if (resources == null) {
resources = new ArrayList();
}
return resources;
}
protected boolean resourcesSpecified;
public boolean isResourcesSpecified() {
return resourcesSpecified;
}
public void unsetResources() {
resources = null;
resourcesSpecified = false;
}
/**
* Represents if the deployment is for Citrix Hypervisor or VMware
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Type type;
public Type getType() {
return type;
}
public void setType(Type type) {
typeSpecified = true;
this.type = type;
}
protected boolean typeSpecified;
public boolean isTypeSpecified() {
return typeSpecified;
}
public void unsetType() {
type = null;
typeSpecified = false;
}
/**
* The identifier for the customer who placed the CVAD order.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long userRecordId;
public Long getUserRecordId() {
return userRecordId;
}
public void setUserRecordId(Long userRecordId) {
userRecordIdSpecified = true;
this.userRecordId = userRecordId;
}
protected boolean userRecordIdSpecified;
public boolean isUserRecordIdSpecified() {
return userRecordIdSpecified;
}
public void unsetUserRecordId() {
userRecordId = null;
userRecordIdSpecified = false;
}
/**
* VLAN ID of the deployment.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long vlanId;
public Long getVlanId() {
return vlanId;
}
public void setVlanId(Long vlanId) {
vlanIdSpecified = true;
this.vlanId = vlanId;
}
protected boolean vlanIdSpecified;
public boolean isVlanIdSpecified() {
return vlanIdSpecified;
}
public void unsetVlanId() {
vlanId = null;
vlanIdSpecified = false;
}
/**
* It is an internal identifier for the VMware solution. It gets set if the CVAD order is for VMware.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String vmwareOrderId;
public String getVmwareOrderId() {
return vmwareOrderId;
}
public void setVmwareOrderId(String vmwareOrderId) {
vmwareOrderIdSpecified = true;
this.vmwareOrderId = vmwareOrderId;
}
protected boolean vmwareOrderIdSpecified;
public boolean isVmwareOrderIdSpecified() {
return vmwareOrderIdSpecified;
}
public void unsetVmwareOrderId() {
vmwareOrderId = null;
vmwareOrderIdSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask accountId() {
withLocalProperty("accountId");
return this;
}
public Mask activeDirectoryTopology() {
withLocalProperty("activeDirectoryTopology");
return this;
}
public Mask createDate() {
withLocalProperty("createDate");
return this;
}
public Mask id() {
withLocalProperty("id");
return this;
}
public Mask modifyDate() {
withLocalProperty("modifyDate");
return this;
}
public com.softlayer.api.service.workload.citrix.deployment.resource.Response.Mask resources() {
return withSubMask("resources", com.softlayer.api.service.workload.citrix.deployment.resource.Response.Mask.class);
}
public Type.Mask type() {
return withSubMask("type", Type.Mask.class);
}
public Mask userRecordId() {
withLocalProperty("userRecordId");
return this;
}
public Mask vlanId() {
withLocalProperty("vlanId");
return this;
}
public Mask vmwareOrderId() {
withLocalProperty("vmwareOrderId");
return this;
}
}
}