Class Subscriber
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.notification.user.Subscriber
@ApiType("SoftLayer_Notification_User_Subscriber") public class Subscriber extends Entity
A notification subscriber will have details pertaining to the subscriber's notification subscription. You can receive details such as preferences, details of the preferences, delivery methods and the delivery methods for the subscriber.
NOTE: There are preferences and delivery methods that cannot be modified. Also, there are some subscriptions that are required.
NOTE: There are preferences and delivery methods that cannot be modified. Also, there are some subscriptions that are required.
- See Also:
- SoftLayer_Notification_User_Subscriber
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Subscriber.Mask
static interface
Subscriber.Service
SoftLayer Customers can subscribe to receive notifications for various notification types.static interface
Subscriber.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Long
active
The current status of the subscription.protected boolean
activeSpecified
protected Long
deliveryMethodCount
A count of the delivery methods used to send the subscribed notification.protected List<Method>
deliveryMethods
The delivery methods used to send the subscribed notification.protected Long
id
Unique identifier of the subscriber that will receive the alerts.protected boolean
idSpecified
protected Notification
notification
Notification subscribed to.protected Long
notificationId
Unique identifier of the notification subscribed to.protected boolean
notificationIdSpecified
protected Long
preferenceCount
A count of associated subscriber preferences used for the notification subscription.protected List<Preference>
preferences
Associated subscriber preferences used for the notification subscription.protected Long
preferencesDetailCount
A count of preference details such as description, minimum and maximum limits, default value and unit of measure.protected List<Preference>
preferencesDetails
Preference details such as description, minimum and maximum limits, default value and unit of measure.protected Resource
resourceRecord
The subscriber id to resource id mapping.protected Customer
userRecord
User record for the subscription.protected Long
userRecordId
Unique identifier of the user the subscription is for.protected boolean
userRecordIdSpecified
-
Constructor Summary
Constructors Constructor Description Subscriber()
-
Method Summary
-
Field Details
-
deliveryMethods
The delivery methods used to send the subscribed notification. -
notification
Notification subscribed to. -
preferences
Associated subscriber preferences used for the notification subscription. For example, preferences include number of deliveries (limit) and threshold. -
preferencesDetails
Preference details such as description, minimum and maximum limits, default value and unit of measure. -
resourceRecord
The subscriber id to resource id mapping. -
userRecord
User record for the subscription. -
active
The current status of the subscription. -
activeSpecified
protected boolean activeSpecified -
id
Unique identifier of the subscriber that will receive the alerts. -
idSpecified
protected boolean idSpecified -
notificationId
Unique identifier of the notification subscribed to. -
notificationIdSpecified
protected boolean notificationIdSpecified -
userRecordId
Unique identifier of the user the subscription is for. -
userRecordIdSpecified
protected boolean userRecordIdSpecified -
deliveryMethodCount
A count of the delivery methods used to send the subscribed notification. -
preferenceCount
A count of associated subscriber preferences used for the notification subscription. For example, preferences include number of deliveries (limit) and threshold. -
preferencesDetailCount
A count of preference details such as description, minimum and maximum limits, default value and unit of measure.
-
-
Constructor Details
-
Subscriber
public Subscriber()
-
-
Method Details
-
getDeliveryMethods
-
getNotification
-
setNotification
-
getPreferences
-
getPreferencesDetails
-
getResourceRecord
-
setResourceRecord
-
getUserRecord
-
setUserRecord
-
getActive
-
setActive
-
isActiveSpecified
public boolean isActiveSpecified() -
unsetActive
public void unsetActive() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getNotificationId
-
setNotificationId
-
isNotificationIdSpecified
public boolean isNotificationIdSpecified() -
unsetNotificationId
public void unsetNotificationId() -
getUserRecordId
-
setUserRecordId
-
isUserRecordIdSpecified
public boolean isUserRecordIdSpecified() -
unsetUserRecordId
public void unsetUserRecordId() -
getDeliveryMethodCount
-
setDeliveryMethodCount
-
getPreferenceCount
-
setPreferenceCount
-
getPreferencesDetailCount
-
setPreferencesDetailCount
-
asService
-
service
-
service
-