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
  • Field Details

    • 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
  • Constructor Details

    • Attachment

      public Attachment()
  • Method Details

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