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 class
Hardware.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Hardware
hardware
The hardware that is attached to a ticket.protected Long
hardwareId
The internal identifier of a piece of hardware that is attached to a ticket.protected boolean
hardwareIdSpecified
protected Hardware
resource
The 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, ticketIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Hardware()
-
Method Summary
Modifier and Type Method Description Hardware
getHardware()
Long
getHardwareId()
Hardware
getResource()
boolean
isHardwareIdSpecified()
void
setHardware(Hardware hardware)
void
setHardwareId(Long hardwareId)
void
setResource(Hardware resource)
void
unsetHardwareId()
-
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, unsetTicketId
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
hardware
@ApiProperty protected Hardware hardware
The hardware that is attached to a ticket.
-
resource
@ApiProperty protected Hardware resource
The hardware that is attached to a ticket.
-
hardwareId
@ApiProperty(canBeNullOrNotSet=true) protected Long hardwareId
The internal identifier of a piece of hardware that is attached to a ticket.
-
hardwareIdSpecified
protected boolean hardwareIdSpecified
-
-
Method Detail
-
getHardware
public Hardware getHardware()
-
setHardware
public void setHardware(Hardware hardware)
-
getResource
public Hardware getResource()
-
setResource
public void setResource(Hardware resource)
-
getHardwareId
public Long getHardwareId()
-
setHardwareId
public void setHardwareId(Long hardwareId)
-
isHardwareIdSpecified
public boolean isHardwareIdSpecified()
-
unsetHardwareId
public void unsetHardwareId()
-
-