com.softlayer.api.service.container.hardware.server.Request 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.server;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
/**
* @see SoftLayer_Container_Hardware_Server_Request
*/
@ApiType("SoftLayer_Container_Hardware_Server_Request")
public class Request extends Entity {
@ApiProperty(canBeNullOrNotSet = true)
protected Long hardwareId;
public Long getHardwareId() {
return hardwareId;
}
public void setHardwareId(Long hardwareId) {
hardwareIdSpecified = true;
this.hardwareId = hardwareId;
}
protected boolean hardwareIdSpecified;
public boolean isHardwareIdSpecified() {
return hardwareIdSpecified;
}
public void unsetHardwareId() {
hardwareId = null;
hardwareIdSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String message;
public String getMessage() {
return message;
}
public void setMessage(String message) {
messageSpecified = true;
this.message = message;
}
protected boolean messageSpecified;
public boolean isMessageSpecified() {
return messageSpecified;
}
public void unsetMessage() {
message = null;
messageSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean successFlag;
public Boolean getSuccessFlag() {
return successFlag;
}
public void setSuccessFlag(Boolean successFlag) {
successFlagSpecified = true;
this.successFlag = successFlag;
}
protected boolean successFlagSpecified;
public boolean isSuccessFlagSpecified() {
return successFlagSpecified;
}
public void unsetSuccessFlag() {
successFlag = null;
successFlagSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask hardwareId() {
withLocalProperty("hardwareId");
return this;
}
public Mask message() {
withLocalProperty("message");
return this;
}
public Mask successFlag() {
withLocalProperty("successFlag");
return this;
}
}
}