com.softlayer.api.service.container.monitoring.graph.Outputs 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.monitoring.graph;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import java.util.GregorianCalendar;
/**
* SoftLayer_Container_Monitoring_Graph_Outputs models a single outbound object for a graph of given data sets.
*
* @see SoftLayer_Container_Monitoring_Graph_Outputs
*/
@ApiType("SoftLayer_Container_Monitoring_Graph_Outputs")
public class Outputs extends Entity {
/**
* The maximum date included in this graph.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected GregorianCalendar endDate;
public GregorianCalendar getEndDate() {
return endDate;
}
public void setEndDate(GregorianCalendar endDate) {
endDateSpecified = true;
this.endDate = endDate;
}
protected boolean endDateSpecified;
public boolean isEndDateSpecified() {
return endDateSpecified;
}
public void unsetEndDate() {
endDate = null;
endDateSpecified = false;
}
/**
* Error message encountered during graphing
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String graphError;
public String getGraphError() {
return graphError;
}
public void setGraphError(String graphError) {
graphErrorSpecified = true;
this.graphError = graphError;
}
protected boolean graphErrorSpecified;
public boolean isGraphErrorSpecified() {
return graphErrorSpecified;
}
public void unsetGraphError() {
graphError = null;
graphErrorSpecified = false;
}
/**
* The raw PNG binary data to be displayed once the graph is drawn.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected byte[] graphImage;
public byte[] getGraphImage() {
return graphImage;
}
public void setGraphImage(byte[] graphImage) {
graphImageSpecified = true;
this.graphImage = graphImage;
}
protected boolean graphImageSpecified;
public boolean isGraphImageSpecified() {
return graphImageSpecified;
}
public void unsetGraphImage() {
graphImage = null;
graphImageSpecified = false;
}
/**
* The minimum date included in this graph.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected GregorianCalendar startDate;
public GregorianCalendar getStartDate() {
return startDate;
}
public void setStartDate(GregorianCalendar startDate) {
startDateSpecified = true;
this.startDate = startDate;
}
protected boolean startDateSpecified;
public boolean isStartDateSpecified() {
return startDateSpecified;
}
public void unsetStartDate() {
startDate = null;
startDateSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask endDate() {
withLocalProperty("endDate");
return this;
}
public Mask graphError() {
withLocalProperty("graphError");
return this;
}
public Mask graphImage() {
withLocalProperty("graphImage");
return this;
}
public Mask startDate() {
withLocalProperty("startDate");
return this;
}
}
}