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 classAttachment.Mask -
Field Summary
Fields Modifier and Type Field Description protected LongattachmentIdThe internal identifier of an item that is attached to a ticket.protected booleanattachmentIdSpecifiedprotected GregorianCalendarcreateDateThe date that an item was attached to a ticket.protected booleancreateDateSpecifiedprotected LongidA ticket attachment's internal identifier.protected booleanidSpecifiedprotected TicketticketThe ticket that an item is attached to.protected LongticketIdThe internal identifier of the ticket that an item is attached to.protected booleanticketIdSpecified -
Constructor Summary
Constructors Constructor Description Attachment() -
Method Summary
Modifier and Type Method Description LonggetAttachmentId()GregorianCalendargetCreateDate()LonggetId()TicketgetTicket()LonggetTicketId()booleanisAttachmentIdSpecified()booleanisCreateDateSpecified()booleanisIdSpecified()booleanisTicketIdSpecified()voidsetAttachmentId(Long attachmentId)voidsetCreateDate(GregorianCalendar createDate)voidsetId(Long id)voidsetTicket(Ticket ticket)voidsetTicketId(Long ticketId)voidunsetAttachmentId()voidunsetCreateDate()voidunsetId()voidunsetTicketId()
-
Field Details
-
ticket
The ticket that an item is attached to. -
attachmentId
The internal identifier of an item that is attached to a ticket. -
attachmentIdSpecified
protected boolean attachmentIdSpecified -
createDate
The date that an item was attached to a ticket. -
createDateSpecified
protected boolean createDateSpecified -
id
A ticket attachment's internal identifier. -
idSpecified
protected boolean idSpecified -
ticketId
The internal identifier of the ticket that an item is attached to. -
ticketIdSpecified
protected boolean ticketIdSpecified
-
-
Constructor Details
-
Attachment
public Attachment()
-
-
Method Details
-
getTicket
-
setTicket
-
getAttachmentId
-
setAttachmentId
-
isAttachmentIdSpecified
public boolean isAttachmentIdSpecified() -
unsetAttachmentId
public void unsetAttachmentId() -
getCreateDate
-
setCreateDate
-
isCreateDateSpecified
public boolean isCreateDateSpecified() -
unsetCreateDate
public void unsetCreateDate() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getTicketId
-
setTicketId
-
isTicketIdSpecified
public boolean isTicketIdSpecified() -
unsetTicketId
public void unsetTicketId()
-