com.softlayer.api.service.container.remotemanagement.SensorReading 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.remotemanagement;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
/**
* The SoftLayer_Container_RemoteManagement_SensorReadings contains sensor information retrieved from a server's remote management card.
*
* @see SoftLayer_Container_RemoteManagement_SensorReading
*/
@ApiType("SoftLayer_Container_RemoteManagement_SensorReading")
public class SensorReading extends Entity {
/**
* Lower Non-Recoverable threshold
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String lowerCritical;
public String getLowerCritical() {
return lowerCritical;
}
public void setLowerCritical(String lowerCritical) {
lowerCriticalSpecified = true;
this.lowerCritical = lowerCritical;
}
protected boolean lowerCriticalSpecified;
public boolean isLowerCriticalSpecified() {
return lowerCriticalSpecified;
}
public void unsetLowerCritical() {
lowerCritical = null;
lowerCriticalSpecified = false;
}
/**
* Lower Non-Critical threshold
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String lowerNonCritical;
public String getLowerNonCritical() {
return lowerNonCritical;
}
public void setLowerNonCritical(String lowerNonCritical) {
lowerNonCriticalSpecified = true;
this.lowerNonCritical = lowerNonCritical;
}
protected boolean lowerNonCriticalSpecified;
public boolean isLowerNonCriticalSpecified() {
return lowerNonCriticalSpecified;
}
public void unsetLowerNonCritical() {
lowerNonCritical = null;
lowerNonCriticalSpecified = false;
}
/**
* Lower Non-Recoverable threshold
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String lowerNonRecoverable;
public String getLowerNonRecoverable() {
return lowerNonRecoverable;
}
public void setLowerNonRecoverable(String lowerNonRecoverable) {
lowerNonRecoverableSpecified = true;
this.lowerNonRecoverable = lowerNonRecoverable;
}
protected boolean lowerNonRecoverableSpecified;
public boolean isLowerNonRecoverableSpecified() {
return lowerNonRecoverableSpecified;
}
public void unsetLowerNonRecoverable() {
lowerNonRecoverable = null;
lowerNonRecoverableSpecified = false;
}
/**
* Sensor ID
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String sensorId;
public String getSensorId() {
return sensorId;
}
public void setSensorId(String sensorId) {
sensorIdSpecified = true;
this.sensorId = sensorId;
}
protected boolean sensorIdSpecified;
public boolean isSensorIdSpecified() {
return sensorIdSpecified;
}
public void unsetSensorId() {
sensorId = null;
sensorIdSpecified = false;
}
/**
* Sensor Reading
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String sensorReading;
public String getSensorReading() {
return sensorReading;
}
public void setSensorReading(String sensorReading) {
sensorReadingSpecified = true;
this.sensorReading = sensorReading;
}
protected boolean sensorReadingSpecified;
public boolean isSensorReadingSpecified() {
return sensorReadingSpecified;
}
public void unsetSensorReading() {
sensorReading = null;
sensorReadingSpecified = false;
}
/**
* Sensor Units
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String sensorUnits;
public String getSensorUnits() {
return sensorUnits;
}
public void setSensorUnits(String sensorUnits) {
sensorUnitsSpecified = true;
this.sensorUnits = sensorUnits;
}
protected boolean sensorUnitsSpecified;
public boolean isSensorUnitsSpecified() {
return sensorUnitsSpecified;
}
public void unsetSensorUnits() {
sensorUnits = null;
sensorUnitsSpecified = false;
}
/**
* Sensor Status
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String status;
public String getStatus() {
return status;
}
public void setStatus(String status) {
statusSpecified = true;
this.status = status;
}
protected boolean statusSpecified;
public boolean isStatusSpecified() {
return statusSpecified;
}
public void unsetStatus() {
status = null;
statusSpecified = false;
}
/**
* Upper Critical threshold
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String upperCritical;
public String getUpperCritical() {
return upperCritical;
}
public void setUpperCritical(String upperCritical) {
upperCriticalSpecified = true;
this.upperCritical = upperCritical;
}
protected boolean upperCriticalSpecified;
public boolean isUpperCriticalSpecified() {
return upperCriticalSpecified;
}
public void unsetUpperCritical() {
upperCritical = null;
upperCriticalSpecified = false;
}
/**
* Upper Non-Critical threshold
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String upperNonCritical;
public String getUpperNonCritical() {
return upperNonCritical;
}
public void setUpperNonCritical(String upperNonCritical) {
upperNonCriticalSpecified = true;
this.upperNonCritical = upperNonCritical;
}
protected boolean upperNonCriticalSpecified;
public boolean isUpperNonCriticalSpecified() {
return upperNonCriticalSpecified;
}
public void unsetUpperNonCritical() {
upperNonCritical = null;
upperNonCriticalSpecified = false;
}
/**
* Upper Non-Recoverable threshold
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String upperNonRecoverable;
public String getUpperNonRecoverable() {
return upperNonRecoverable;
}
public void setUpperNonRecoverable(String upperNonRecoverable) {
upperNonRecoverableSpecified = true;
this.upperNonRecoverable = upperNonRecoverable;
}
protected boolean upperNonRecoverableSpecified;
public boolean isUpperNonRecoverableSpecified() {
return upperNonRecoverableSpecified;
}
public void unsetUpperNonRecoverable() {
upperNonRecoverable = null;
upperNonRecoverableSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask lowerCritical() {
withLocalProperty("lowerCritical");
return this;
}
public Mask lowerNonCritical() {
withLocalProperty("lowerNonCritical");
return this;
}
public Mask lowerNonRecoverable() {
withLocalProperty("lowerNonRecoverable");
return this;
}
public Mask sensorId() {
withLocalProperty("sensorId");
return this;
}
public Mask sensorReading() {
withLocalProperty("sensorReading");
return this;
}
public Mask sensorUnits() {
withLocalProperty("sensorUnits");
return this;
}
public Mask status() {
withLocalProperty("status");
return this;
}
public Mask upperCritical() {
withLocalProperty("upperCritical");
return this;
}
public Mask upperNonCritical() {
withLocalProperty("upperNonCritical");
return this;
}
public Mask upperNonRecoverable() {
withLocalProperty("upperNonRecoverable");
return this;
}
}
}