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
Modifier and Type Method Description Subscription.ServiceAsync
asAsync()
Get an async version of this serviceBoolean
disable()
Boolean
enable()
List<Subscription>
getAllObjects()
Boolean
getEnabled()
Subscription
getObject()
void
setMask(Subscription.Mask mask)
Subscription.Mask
withMask()
Use the existing mask on this service or create it if not presentSubscription.Mask
withNewMask()
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:Service
Get an async version of this service
-
withNewMask
Subscription.Mask withNewMask()
Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Subscription.Mask withMask()
Description copied from interface:Maskable
Use 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
-
-