Package com.softlayer.api.service.email
Interface Subscription.Service
-
- All Superinterfaces:
Maskable,ResultLimitable,Service
- Enclosing class:
- Subscription
@ApiService("SoftLayer_Email_Subscription") public static interface Subscription.Service extends Service
SoftLayer customers can use this service to manage or view all of the available email subscriptions that they can suppress.- See Also:
- SoftLayer_Email_Subscription
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Subscription.ServiceAsyncasAsync()Get an async version of this serviceBooleandisable()Booleanenable()List<Subscription>getAllObjects()BooleangetEnabled()SubscriptiongetObject()voidsetMask(Subscription.Mask mask)Subscription.MaskwithMask()Use the existing mask on this service or create it if not presentSubscription.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
Subscription.ServiceAsync asAsync()
Description copied from interface:ServiceGet an async version of this service
-
withNewMask
Subscription.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
Subscription.Mask withMask()
Description copied from interface:MaskableUse the existing mask on this service or create it if not present
-
setMask
void setMask(Subscription.Mask mask)
-
disable
@ApiMethod(instanceRequired=true) Boolean disable()
- See Also:
- SoftLayer_Email_Subscription::disable
-
enable
@ApiMethod(instanceRequired=true) Boolean enable()
- See Also:
- SoftLayer_Email_Subscription::enable
-
getAllObjects
@ApiMethod List<Subscription> getAllObjects()
-
getObject
@ApiMethod(instanceRequired=true) Subscription getObject()
- See Also:
- SoftLayer_Email_Subscription::getObject
-
getEnabled
@ApiMethod(instanceRequired=true) Boolean getEnabled()
- See Also:
- SoftLayer_Email_Subscription::getEnabled
-
-