com.softlayer.api.service.legal.RegulatedWorkload 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.legal;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Account;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.legal.regulatedworkload.Type;
/**
* @see SoftLayer_Legal_RegulatedWorkload
*/
@ApiType("SoftLayer_Legal_RegulatedWorkload")
public class RegulatedWorkload extends Entity {
@ApiProperty
protected Account account;
public Account getAccount() {
return account;
}
public void setAccount(Account account) {
this.account = account;
}
@ApiProperty
protected Type type;
public Type getType() {
return type;
}
public void setType(Type type) {
this.type = type;
}
@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;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean enabledFlag;
public Boolean getEnabledFlag() {
return enabledFlag;
}
public void setEnabledFlag(Boolean enabledFlag) {
enabledFlagSpecified = true;
this.enabledFlag = enabledFlag;
}
protected boolean enabledFlagSpecified;
public boolean isEnabledFlagSpecified() {
return enabledFlagSpecified;
}
public void unsetEnabledFlag() {
enabledFlag = null;
enabledFlagSpecified = false;
}
@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;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long workloadTypeId;
public Long getWorkloadTypeId() {
return workloadTypeId;
}
public void setWorkloadTypeId(Long workloadTypeId) {
workloadTypeIdSpecified = true;
this.workloadTypeId = workloadTypeId;
}
protected boolean workloadTypeIdSpecified;
public boolean isWorkloadTypeIdSpecified() {
return workloadTypeIdSpecified;
}
public void unsetWorkloadTypeId() {
workloadTypeId = null;
workloadTypeIdSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.Account.Mask account() {
return withSubMask("account", com.softlayer.api.service.Account.Mask.class);
}
public com.softlayer.api.service.legal.regulatedworkload.Type.Mask type() {
return withSubMask("type", com.softlayer.api.service.legal.regulatedworkload.Type.Mask.class);
}
public Mask accountId() {
withLocalProperty("accountId");
return this;
}
public Mask enabledFlag() {
withLocalProperty("enabledFlag");
return this;
}
public Mask id() {
withLocalProperty("id");
return this;
}
public Mask workloadTypeId() {
withLocalProperty("workloadTypeId");
return this;
}
}
}