Class Guest
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.user.customer.notification.virtual.Guest
-
@ApiType("SoftLayer_User_Customer_Notification_Virtual_Guest") public class Guest extends Entity
The SoftLayer_User_Customer_Notification_Virtual_Guest object stores links between customers and the virtual guests they wish to monitor. This link is not enough, the user must be sure to also create SoftLayer_Network_Monitor_Version1_Query_Host instance with the response action set to "notify users" in order for the users linked to that Virtual Guest object to be notified on failure.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Guest.Mask
static interface
Guest.Service
This service represents the link between a monitored guest instance, and a user account.static interface
Guest.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Guest
guest
The virtual guest object that will be monitored.protected Long
guestId
The ID of the virtual guest object that is to be monitored.protected boolean
guestIdSpecified
protected Long
id
The unique identifier for this objectprotected boolean
idSpecified
protected Customer
user
The user that will be notified when the associated virtual guest object fails a monitoring instance.protected Long
userId
The ID of the SoftLayer_User_Customer object that represents the user to be notified on monitoring failure.protected boolean
userIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Guest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Guest.Service
asService(ApiClient client)
Guest
getGuest()
Long
getGuestId()
Long
getId()
Customer
getUser()
Long
getUserId()
boolean
isGuestIdSpecified()
boolean
isIdSpecified()
boolean
isUserIdSpecified()
static Guest.Service
service(ApiClient client)
static Guest.Service
service(ApiClient client, Long id)
void
setGuest(Guest guest)
void
setGuestId(Long guestId)
void
setId(Long id)
void
setUser(Customer user)
void
setUserId(Long userId)
void
unsetGuestId()
void
unsetId()
void
unsetUserId()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
guest
@ApiProperty protected Guest guest
The virtual guest object that will be monitored.
-
user
@ApiProperty protected Customer user
The user that will be notified when the associated virtual guest object fails a monitoring instance.
-
guestId
@ApiProperty(canBeNullOrNotSet=true) protected Long guestId
The ID of the virtual guest object that is to be monitored.
-
guestIdSpecified
protected boolean guestIdSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
The unique identifier for this object
-
idSpecified
protected boolean idSpecified
-
userId
@ApiProperty(canBeNullOrNotSet=true) protected Long userId
The ID of the SoftLayer_User_Customer object that represents the user to be notified on monitoring failure.
-
userIdSpecified
protected boolean userIdSpecified
-
-
Method Detail
-
getGuest
public Guest getGuest()
-
setGuest
public void setGuest(Guest guest)
-
getUser
public Customer getUser()
-
setUser
public void setUser(Customer user)
-
getGuestId
public Long getGuestId()
-
setGuestId
public void setGuestId(Long guestId)
-
isGuestIdSpecified
public boolean isGuestIdSpecified()
-
unsetGuestId
public void unsetGuestId()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getUserId
public Long getUserId()
-
setUserId
public void setUserId(Long userId)
-
isUserIdSpecified
public boolean isUserIdSpecified()
-
unsetUserId
public void unsetUserId()
-
asService
public Guest.Service asService(ApiClient client)
-
service
public static Guest.Service service(ApiClient client)
-
service
public static Guest.Service service(ApiClient client, Long id)
-
-