com.softlayer.api.service.ticket.Activity 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.Update;
import com.softlayer.api.service.user.Interface;
import java.util.GregorianCalendar;
/**
* @see SoftLayer_Ticket_Activity
*/
@ApiType("SoftLayer_Ticket_Activity")
public class Activity extends Entity {
@ApiProperty
protected Interface editor;
public Interface getEditor() {
return editor;
}
public void setEditor(Interface editor) {
this.editor = editor;
}
@ApiProperty
protected Ticket ticket;
public Ticket getTicket() {
return ticket;
}
public void setTicket(Ticket ticket) {
this.ticket = ticket;
}
@ApiProperty
protected Update ticketUpdate;
public Update getTicketUpdate() {
return ticketUpdate;
}
public void setTicketUpdate(Update ticketUpdate) {
this.ticketUpdate = ticketUpdate;
}
@ApiProperty(canBeNullOrNotSet = true)
protected GregorianCalendar createDate;
public GregorianCalendar getCreateDate() {
return createDate;
}
public void setCreateDate(GregorianCalendar createDate) {
createDateSpecified = true;
this.createDate = createDate;
}
protected boolean createDateSpecified;
public boolean isCreateDateSpecified() {
return createDateSpecified;
}
public void unsetCreateDate() {
createDate = null;
createDateSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected GregorianCalendar createTimestamp;
public GregorianCalendar getCreateTimestamp() {
return createTimestamp;
}
public void setCreateTimestamp(GregorianCalendar createTimestamp) {
createTimestampSpecified = true;
this.createTimestamp = createTimestamp;
}
protected boolean createTimestampSpecified;
public boolean isCreateTimestampSpecified() {
return createTimestampSpecified;
}
public void unsetCreateTimestamp() {
createTimestamp = null;
createTimestampSpecified = false;
}
@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 String value;
public String getValue() {
return value;
}
public void setValue(String value) {
valueSpecified = true;
this.value = value;
}
protected boolean valueSpecified;
public boolean isValueSpecified() {
return valueSpecified;
}
public void unsetValue() {
value = null;
valueSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.user.Interface.Mask editor() {
return withSubMask("editor", com.softlayer.api.service.user.Interface.Mask.class);
}
public com.softlayer.api.service.Ticket.Mask ticket() {
return withSubMask("ticket", com.softlayer.api.service.Ticket.Mask.class);
}
public Update.Mask ticketUpdate() {
return withSubMask("ticketUpdate", Update.Mask.class);
}
public Mask createDate() {
withLocalProperty("createDate");
return this;
}
public Mask createTimestamp() {
withLocalProperty("createTimestamp");
return this;
}
public Mask id() {
withLocalProperty("id");
return this;
}
public Mask value() {
withLocalProperty("value");
return this;
}
}
}