com.softlayer.api.service.ticket.State 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
The newest version!
package com.softlayer.api.service.ticket;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.Ticket;
import com.softlayer.api.service.ticket.state.Type;
/**
* @see SoftLayer_Ticket_State
*/
@ApiType("SoftLayer_Ticket_State")
public class State extends Entity {
@ApiProperty
protected Type stateType;
public Type getStateType() {
return stateType;
}
public void setStateType(Type stateType) {
this.stateType = stateType;
}
@ApiProperty
protected Ticket ticket;
public Ticket getTicket() {
return ticket;
}
public void setTicket(Ticket ticket) {
this.ticket = ticket;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long id;
public Long getId() {
return id;
}
public void setId(Long id) {
idSpecified = true;
this.id = id;
}
protected boolean idSpecified;
public boolean isIdSpecified() {
return idSpecified;
}
public void unsetId() {
id = null;
idSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long stateTypeId;
public Long getStateTypeId() {
return stateTypeId;
}
public void setStateTypeId(Long stateTypeId) {
stateTypeIdSpecified = true;
this.stateTypeId = stateTypeId;
}
protected boolean stateTypeIdSpecified;
public boolean isStateTypeIdSpecified() {
return stateTypeIdSpecified;
}
public void unsetStateTypeId() {
stateTypeId = null;
stateTypeIdSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long ticketId;
public Long getTicketId() {
return ticketId;
}
public void setTicketId(Long ticketId) {
ticketIdSpecified = true;
this.ticketId = ticketId;
}
protected boolean ticketIdSpecified;
public boolean isTicketIdSpecified() {
return ticketIdSpecified;
}
public void unsetTicketId() {
ticketId = null;
ticketIdSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.ticket.state.Type.Mask stateType() {
return withSubMask("stateType", com.softlayer.api.service.ticket.state.Type.Mask.class);
}
public com.softlayer.api.service.Ticket.Mask ticket() {
return withSubMask("ticket", com.softlayer.api.service.Ticket.Mask.class);
}
public Mask id() {
withLocalProperty("id");
return this;
}
public Mask stateTypeId() {
withLocalProperty("stateTypeId");
return this;
}
public Mask ticketId() {
withLocalProperty("ticketId");
return this;
}
}
}