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-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
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()-
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()
-
-