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
-
Constructor Summary
Constructors Constructor Description Guest()
-
Method Summary
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()
-
Field Details
-
guest
The virtual guest object that will be monitored. -
user
The user that will be notified when the associated virtual guest object fails a monitoring instance. -
guestId
The ID of the virtual guest object that is to be monitored. -
guestIdSpecified
protected boolean guestIdSpecified -
id
The unique identifier for this object -
idSpecified
protected boolean idSpecified -
userId
The ID of the SoftLayer_User_Customer object that represents the user to be notified on monitoring failure. -
userIdSpecified
protected boolean userIdSpecified
-
-
Constructor Details
-
Guest
public Guest()
-
-
Method Details
-
getGuest
-
setGuest
-
getUser
-
setUser
-
getGuestId
-
setGuestId
-
isGuestIdSpecified
public boolean isGuestIdSpecified() -
unsetGuestId
public void unsetGuestId() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getUserId
-
setUserId
-
isUserIdSpecified
public boolean isUserIdSpecified() -
unsetUserId
public void unsetUserId() -
asService
-
service
-
service
-