Class Host
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.ticket.Attachment
-
- com.softlayer.api.service.ticket.attachment.dedicated.Host
-
@ApiType("SoftLayer_Ticket_Attachment_Dedicated_Host") public class Host extends Attachment
SoftLayer tickets have the ability to be associated with specific dedicated hosts in a customer's inventory. Attaching a dedicated host to a ticket can greatly increase response time from SoftLayer for issues that are related to one or more specific hosts on a customer's account. The SoftLayer_Ticket_Attachment_Dedicated_Host data type models the relationship between a dedicated host and a ticket. Only one attachment record can exist per dedicated host item per ticket.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Host.Mask
-
Field Summary
Fields Modifier and Type Field Description protected DedicatedHost
dedicatedHost
The dedicated dost that is attached to a ticket.protected Long
dedicatedHostId
The internal identifier of the Dedicated Host that is attached to a ticket.protected boolean
dedicatedHostIdSpecified
protected DedicatedHost
resource
The Dedicated Host 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 Host()
-
Method Summary
Modifier and Type Method Description DedicatedHost
getDedicatedHost()
Long
getDedicatedHostId()
DedicatedHost
getResource()
boolean
isDedicatedHostIdSpecified()
void
setDedicatedHost(DedicatedHost dedicatedHost)
void
setDedicatedHostId(Long dedicatedHostId)
void
setResource(DedicatedHost resource)
void
unsetDedicatedHostId()
-
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
-
dedicatedHost
@ApiProperty protected DedicatedHost dedicatedHost
The dedicated dost that is attached to a ticket.
-
resource
@ApiProperty protected DedicatedHost resource
The Dedicated Host that is attached to a ticket.
-
dedicatedHostId
@ApiProperty(canBeNullOrNotSet=true) protected Long dedicatedHostId
The internal identifier of the Dedicated Host that is attached to a ticket.
-
dedicatedHostIdSpecified
protected boolean dedicatedHostIdSpecified
-
-
Method Detail
-
getDedicatedHost
public DedicatedHost getDedicatedHost()
-
setDedicatedHost
public void setDedicatedHost(DedicatedHost dedicatedHost)
-
getResource
public DedicatedHost getResource()
-
setResource
public void setResource(DedicatedHost resource)
-
getDedicatedHostId
public Long getDedicatedHostId()
-
setDedicatedHostId
public void setDedicatedHostId(Long dedicatedHostId)
-
isDedicatedHostIdSpecified
public boolean isDedicatedHostIdSpecified()
-
unsetDedicatedHostId
public void unsetDedicatedHostId()
-
-