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
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 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()
-