com.softlayer.api.service.container.software.component.hostips.Policy 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
package com.softlayer.api.service.container.software.component.hostips;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
/**
* The SoftLayer_Container_Software_Component_HostIps_Policy container holds the title and value of a current host ips policy.
*
* @see SoftLayer_Container_Software_Component_HostIps_Policy
*/
@ApiType("SoftLayer_Container_Software_Component_HostIps_Policy")
public class Policy extends Entity {
/**
* The value of a host ips category.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String policy;
public String getPolicy() {
return policy;
}
public void setPolicy(String policy) {
policySpecified = true;
this.policy = policy;
}
protected boolean policySpecified;
public boolean isPolicySpecified() {
return policySpecified;
}
public void unsetPolicy() {
policy = null;
policySpecified = false;
}
/**
* The category title of a host ips policy.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String policyTitle;
public String getPolicyTitle() {
return policyTitle;
}
public void setPolicyTitle(String policyTitle) {
policyTitleSpecified = true;
this.policyTitle = policyTitle;
}
protected boolean policyTitleSpecified;
public boolean isPolicyTitleSpecified() {
return policyTitleSpecified;
}
public void unsetPolicyTitle() {
policyTitle = null;
policyTitleSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask policy() {
withLocalProperty("policy");
return this;
}
public Mask policyTitle() {
withLocalProperty("policyTitle");
return this;
}
}
}