com.softlayer.api.service.container.hardware.CaptureEnabled 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.container.hardware;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import java.util.ArrayList;
import java.util.List;
/**
* @see SoftLayer_Container_Hardware_CaptureEnabled
*/
@ApiType("SoftLayer_Container_Hardware_CaptureEnabled")
public class CaptureEnabled extends Entity {
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean enabled;
public Boolean getEnabled() {
return enabled;
}
public void setEnabled(Boolean enabled) {
enabledSpecified = true;
this.enabled = enabled;
}
protected boolean enabledSpecified;
public boolean isEnabledSpecified() {
return enabledSpecified;
}
public void unsetEnabled() {
enabled = null;
enabledSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected List reasons;
public List getReasons() {
if (reasons == null) {
reasons = new ArrayList();
}
return reasons;
}
protected boolean reasonsSpecified;
public boolean isReasonsSpecified() {
return reasonsSpecified;
}
public void unsetReasons() {
reasons = null;
reasonsSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask enabled() {
withLocalProperty("enabled");
return this;
}
public Mask reasons() {
withLocalProperty("reasons");
return this;
}
}
}