com.softlayer.api.service.container.ticket.GraphInputs 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.ticket;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import java.util.GregorianCalendar;
/**
* SoftLayer_Container_Ticket_GraphInputs models a single inbound object for a given ticket graph.
*
* @see SoftLayer_Container_Ticket_GraphInputs
*/
@ApiType("SoftLayer_Container_Ticket_GraphInputs")
public class GraphInputs extends Entity {
/**
* This is a unix timestamp that represents the stop date/time for a 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;
}
/**
* The front-end or back-end network uplink interface associated with this server.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long networkInterfaceId;
public Long getNetworkInterfaceId() {
return networkInterfaceId;
}
public void setNetworkInterfaceId(Long networkInterfaceId) {
networkInterfaceIdSpecified = true;
this.networkInterfaceId = networkInterfaceId;
}
protected boolean networkInterfaceIdSpecified;
public boolean isNetworkInterfaceIdSpecified() {
return networkInterfaceIdSpecified;
}
public void unsetNetworkInterfaceId() {
networkInterfaceId = null;
networkInterfaceIdSpecified = false;
}
/**
* *
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long pod;
public Long getPod() {
return pod;
}
public void setPod(Long pod) {
podSpecified = true;
this.pod = pod;
}
protected boolean podSpecified;
public boolean isPodSpecified() {
return podSpecified;
}
public void unsetPod() {
pod = null;
podSpecified = false;
}
/**
* This is a human readable name for the server or rack being graphed.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String serverName;
public String getServerName() {
return serverName;
}
public void setServerName(String serverName) {
serverNameSpecified = true;
this.serverName = serverName;
}
protected boolean serverNameSpecified;
public boolean isServerNameSpecified() {
return serverNameSpecified;
}
public void unsetServerName() {
serverName = null;
serverNameSpecified = false;
}
/**
* This is a unix timestamp that represents the begin date/time for a 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 networkInterfaceId() {
withLocalProperty("networkInterfaceId");
return this;
}
public Mask pod() {
withLocalProperty("pod");
return this;
}
public Mask serverName() {
withLocalProperty("serverName");
return this;
}
public Mask startDate() {
withLocalProperty("startDate");
return this;
}
}
}