Package com.softlayer.api.service.ticket
Class Attachment
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.ticket.Attachment
-
- Direct Known Subclasses:
Action
,Agent
,CardChangeRequest
,Guest
,Hardware
,Host
,Migration
,Payment
@ApiType("SoftLayer_Ticket_Attachment") public class Attachment extends Entity
SoftLayer tickets have the ability to be associated with specific pieces of hardware in a customer's inventory. Attaching hardware to a ticket can greatly increase response time from SoftLayer for issues that are related to one or more specific servers on a customer's account. The SoftLayer_Ticket_Attachment_Hardware data type models the relationship between a piece of hardware and a ticket. Only one attachment record may exist per hardware item per ticket.- See Also:
- SoftLayer_Ticket_Attachment
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Attachment.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Long
attachmentId
The internal identifier of an item that is attached to a ticket.protected boolean
attachmentIdSpecified
protected GregorianCalendar
createDate
The date that an item was attached to a ticket.protected boolean
createDateSpecified
protected Long
id
A ticket attachment's internal identifier.protected boolean
idSpecified
protected Ticket
ticket
The ticket that an item is attached to.protected Long
ticketId
The internal identifier of the ticket that an item is attached to.protected boolean
ticketIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Attachment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getAttachmentId()
GregorianCalendar
getCreateDate()
Long
getId()
Ticket
getTicket()
Long
getTicketId()
boolean
isAttachmentIdSpecified()
boolean
isCreateDateSpecified()
boolean
isIdSpecified()
boolean
isTicketIdSpecified()
void
setAttachmentId(Long attachmentId)
void
setCreateDate(GregorianCalendar createDate)
void
setId(Long id)
void
setTicket(Ticket ticket)
void
setTicketId(Long ticketId)
void
unsetAttachmentId()
void
unsetCreateDate()
void
unsetId()
void
unsetTicketId()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
ticket
@ApiProperty protected Ticket ticket
The ticket that an item is attached to.
-
attachmentId
@ApiProperty(canBeNullOrNotSet=true) protected Long attachmentId
The internal identifier of an item that is attached to a ticket.
-
attachmentIdSpecified
protected boolean attachmentIdSpecified
-
createDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
The date that an item was attached to a ticket.
-
createDateSpecified
protected boolean createDateSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
A ticket attachment's internal identifier.
-
idSpecified
protected boolean idSpecified
-
ticketId
@ApiProperty(canBeNullOrNotSet=true) protected Long ticketId
The internal identifier of the ticket that an item is attached to.
-
ticketIdSpecified
protected boolean ticketIdSpecified
-
-
Method Detail
-
getTicket
public Ticket getTicket()
-
setTicket
public void setTicket(Ticket ticket)
-
getAttachmentId
public Long getAttachmentId()
-
setAttachmentId
public void setAttachmentId(Long attachmentId)
-
isAttachmentIdSpecified
public boolean isAttachmentIdSpecified()
-
unsetAttachmentId
public void unsetAttachmentId()
-
getCreateDate
public GregorianCalendar getCreateDate()
-
setCreateDate
public void setCreateDate(GregorianCalendar createDate)
-
isCreateDateSpecified
public boolean isCreateDateSpecified()
-
unsetCreateDate
public void unsetCreateDate()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getTicketId
public Long getTicketId()
-
setTicketId
public void setTicketId(Long ticketId)
-
isTicketIdSpecified
public boolean isTicketIdSpecified()
-
unsetTicketId
public void unsetTicketId()
-
-