Class Resource
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.notification.user.subscriber.Resource
-
@ApiType("SoftLayer_Notification_User_Subscriber_Resource") public class Resource extends Entity
Retrieve identifier cross-reference information. SoftLayer_Notification_User_Subscriber_Resource provides the resource table id and subscriber id relation. The resource table id is the id of the service the subscriber receives alerts for. This resource table id could be the unique identifier for a Storage Evault service or CDN service.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Resource.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Subscriber
notificationUserSubscriber
The Subscriber information tied to the resource service.protected Long
notificationUserSubscriberId
Unique identifier of the subscriber that will receive the alerts for the resource subscribed to a notification.protected boolean
notificationUserSubscriberIdSpecified
protected Long
resourceTableId
Unique identifier for a SoftLayer service that is subscribed to a notification.protected boolean
resourceTableIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Resource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Subscriber
getNotificationUserSubscriber()
Long
getNotificationUserSubscriberId()
Long
getResourceTableId()
boolean
isNotificationUserSubscriberIdSpecified()
boolean
isResourceTableIdSpecified()
void
setNotificationUserSubscriber(Subscriber notificationUserSubscriber)
void
setNotificationUserSubscriberId(Long notificationUserSubscriberId)
void
setResourceTableId(Long resourceTableId)
void
unsetNotificationUserSubscriberId()
void
unsetResourceTableId()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
notificationUserSubscriber
@ApiProperty protected Subscriber notificationUserSubscriber
The Subscriber information tied to the resource service.
-
notificationUserSubscriberId
@ApiProperty(canBeNullOrNotSet=true) protected Long notificationUserSubscriberId
Unique identifier of the subscriber that will receive the alerts for the resource subscribed to a notification.
-
notificationUserSubscriberIdSpecified
protected boolean notificationUserSubscriberIdSpecified
-
resourceTableId
@ApiProperty(canBeNullOrNotSet=true) protected Long resourceTableId
Unique identifier for a SoftLayer service that is subscribed to a notification. Currently, the SoftLayer services that can be subscribed to notifications are:
Storage EVault CDN
-
resourceTableIdSpecified
protected boolean resourceTableIdSpecified
-
-
Method Detail
-
getNotificationUserSubscriber
public Subscriber getNotificationUserSubscriber()
-
setNotificationUserSubscriber
public void setNotificationUserSubscriber(Subscriber notificationUserSubscriber)
-
getNotificationUserSubscriberId
public Long getNotificationUserSubscriberId()
-
setNotificationUserSubscriberId
public void setNotificationUserSubscriberId(Long notificationUserSubscriberId)
-
isNotificationUserSubscriberIdSpecified
public boolean isNotificationUserSubscriberIdSpecified()
-
unsetNotificationUserSubscriberId
public void unsetNotificationUserSubscriberId()
-
getResourceTableId
public Long getResourceTableId()
-
setResourceTableId
public void setResourceTableId(Long resourceTableId)
-
isResourceTableIdSpecified
public boolean isResourceTableIdSpecified()
-
unsetResourceTableId
public void unsetResourceTableId()
-
-