Package com.softlayer.api.service
Interface Notification.Service
-
- All Superinterfaces:
Maskable,ResultLimitable,Service
- All Known Subinterfaces:
Mobile.Service
- Enclosing class:
- Notification
@ApiService("SoftLayer_Notification") public static interface Notification.Service extends Service
SoftLayer Customers can use this service to view all of the available notifications that can be subscribed to. Some of the notifications are required while others are not.- See Also:
- SoftLayer_Notification
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Notification.ServiceAsyncasAsync()Get an async version of this serviceList<Notification>getAllObjects()Use this method to retrieve all active notifications that can be subscribed to.NotificationgetObject()List<Preference>getPreferences()The preferences related to the notification.List<Preference>getRequiredPreferences()The required preferences related to the notification.voidsetMask(Notification.Mask mask)Notification.MaskwithMask()Use the existing mask on this service or create it if not presentNotification.MaskwithNewMask()Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
asAsync
Notification.ServiceAsync asAsync()
Description copied from interface:ServiceGet an async version of this service
-
withNewMask
Notification.Mask withNewMask()
Description copied from interface:MaskableOverwrite the existing mask on this service with a new one and return it- Specified by:
withNewMaskin interfaceMaskable
-
withMask
Notification.Mask withMask()
Description copied from interface:MaskableUse the existing mask on this service or create it if not present
-
setMask
void setMask(Notification.Mask mask)
-
getAllObjects
@ApiMethod List<Notification> getAllObjects()
Use this method to retrieve all active notifications that can be subscribed to.- See Also:
- SoftLayer_Notification::getAllObjects
-
getObject
@ApiMethod(instanceRequired=true) Notification getObject()
- See Also:
- SoftLayer_Notification::getObject
-
getPreferences
@ApiMethod(instanceRequired=true) List<Preference> getPreferences()
The preferences related to the notification. These are preferences are configurable and optional for subscribers to use.- See Also:
- SoftLayer_Notification::getPreferences
-
getRequiredPreferences
@ApiMethod(instanceRequired=true) List<Preference> getRequiredPreferences()
The required preferences related to the notification. While configurable, the subscriber does not have the option whether to use the preference.
-
-