com.softlayer.api.service.container.remotemanagement.SensorReadingsWithGraphs 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;
import com.softlayer.api.service.container.remotemanagement.SensorReading;
import com.softlayer.api.service.container.remotemanagement.graphs.SensorSpeed;
import com.softlayer.api.service.container.remotemanagement.graphs.SensorTemperature;
import java.util.ArrayList;
import java.util.List;
/**
* The SoftLayer_Container_RemoteManagement_SensorReadingsWithGraphs contains the raw data retrieved from a server's remote management card. Along with the raw data, two sets of graphs will be returned. One set of graphs is used to display, using thermometer graphs, the temperatures (cpu(s) and system) retrieved from the management card. The other set is used to display speed for each of the server's fans.
*
* @see SoftLayer_Container_RemoteManagement_SensorReadingsWithGraphs
*/
@ApiType("SoftLayer_Container_RemoteManagement_SensorReadingsWithGraphs")
public class SensorReadingsWithGraphs extends Entity {
/**
* The raw data returned from the server's remote management card.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected List rawData;
public List getRawData() {
if (rawData == null) {
rawData = new ArrayList();
}
return rawData;
}
protected boolean rawDataSpecified;
public boolean isRawDataSpecified() {
return rawDataSpecified;
}
public void unsetRawData() {
rawData = null;
rawDataSpecified = false;
}
/**
* The graph(s) to display the server's fan speeds.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected List speedGraphs;
public List getSpeedGraphs() {
if (speedGraphs == null) {
speedGraphs = new ArrayList();
}
return speedGraphs;
}
protected boolean speedGraphsSpecified;
public boolean isSpeedGraphsSpecified() {
return speedGraphsSpecified;
}
public void unsetSpeedGraphs() {
speedGraphs = null;
speedGraphsSpecified = false;
}
/**
* The graph(s) to display the server's cpu(s) and system temperatures.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected List temperatureGraphs;
public List getTemperatureGraphs() {
if (temperatureGraphs == null) {
temperatureGraphs = new ArrayList();
}
return temperatureGraphs;
}
protected boolean temperatureGraphsSpecified;
public boolean isTemperatureGraphsSpecified() {
return temperatureGraphsSpecified;
}
public void unsetTemperatureGraphs() {
temperatureGraphs = null;
temperatureGraphsSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public SensorReading.Mask rawData() {
return withSubMask("rawData", SensorReading.Mask.class);
}
public com.softlayer.api.service.container.remotemanagement.graphs.SensorSpeed.Mask speedGraphs() {
return withSubMask("speedGraphs", com.softlayer.api.service.container.remotemanagement.graphs.SensorSpeed.Mask.class);
}
public com.softlayer.api.service.container.remotemanagement.graphs.SensorTemperature.Mask temperatureGraphs() {
return withSubMask("temperatureGraphs", com.softlayer.api.service.container.remotemanagement.graphs.SensorTemperature.Mask.class);
}
}
}