com.softlayer.api.service.container.hardware.MassUpdate 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.hardware;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
/**
* @see SoftLayer_Container_Hardware_MassUpdate
*/
@ApiType("SoftLayer_Container_Hardware_MassUpdate")
public class MassUpdate extends Entity {
/**
* The hardwares updated by the mass update tool
*/
@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;
}
/**
* Errors encountered while mass updating hardwares
*/
@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;
}
/**
* The hardwares that failed to update
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String successFlag;
public String getSuccessFlag() {
return successFlag;
}
public void setSuccessFlag(String 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;
}
}
}