Class Hardware
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.ticket.Attachment
com.softlayer.api.service.ticket.attachment.Hardware
@ApiType("SoftLayer_Ticket_Attachment_Hardware") public class Hardware extends Attachment
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_Hardware
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHardware.Mask -
Field Summary
Fields Modifier and Type Field Description protected HardwarehardwareThe hardware that is attached to a ticket.protected LonghardwareIdThe internal identifier of a piece of hardware that is attached to a ticket.protected booleanhardwareIdSpecifiedprotected HardwareresourceThe hardware that is attached to a ticket.Fields inherited from class com.softlayer.api.service.ticket.Attachment
attachmentId, attachmentIdSpecified, createDate, createDateSpecified, id, idSpecified, ticket, ticketId, ticketIdSpecifiedFields inherited from class com.softlayer.api.Type
unknownProperties -
Constructor Summary
Constructors Constructor Description Hardware() -
Method Summary
Modifier and Type Method Description HardwaregetHardware()LonggetHardwareId()HardwaregetResource()booleanisHardwareIdSpecified()voidsetHardware(Hardware hardware)voidsetHardwareId(Long hardwareId)voidsetResource(Hardware resource)voidunsetHardwareId()Methods inherited from class com.softlayer.api.service.ticket.Attachment
getAttachmentId, getCreateDate, getId, getTicket, getTicketId, isAttachmentIdSpecified, isCreateDateSpecified, isIdSpecified, isTicketIdSpecified, setAttachmentId, setCreateDate, setId, setTicket, setTicketId, unsetAttachmentId, unsetCreateDate, unsetId, unsetTicketIdMethods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
hardware
The hardware that is attached to a ticket. -
resource
The hardware that is attached to a ticket. -
hardwareId
The internal identifier of a piece of hardware that is attached to a ticket. -
hardwareIdSpecified
protected boolean hardwareIdSpecified
-
-
Constructor Details
-
Hardware
public Hardware()
-
-
Method Details
-
getHardware
-
setHardware
-
getResource
-
setResource
-
getHardwareId
-
setHardwareId
-
isHardwareIdSpecified
public boolean isHardwareIdSpecified() -
unsetHardwareId
public void unsetHardwareId()
-