Package com.softlayer.api.service.email
Class Subscription
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.email.Subscription
@ApiType("SoftLayer_Email_Subscription") public class Subscription extends Entity
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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubscription.Maskstatic interfaceSubscription.ServiceSoftLayer customers can use this service to manage or view all of the available email subscriptions that they can suppress.static interfaceSubscription.ServiceAsync -
Field Summary
Fields Modifier and Type Field Description protected StringdescriptionBrief description of the purpose of the email.protected booleandescriptionSpecifiedprotected Booleanenabledprotected Longidprotected booleanidSpecifiedprotected StringnameEmail template name.protected booleannameSpecifiedFields inherited from class com.softlayer.api.Type
unknownProperties -
Constructor Summary
Constructors Constructor Description Subscription() -
Method Summary
Modifier and Type Method Description Subscription.ServiceasService(ApiClient client)StringgetDescription()BooleangetEnabled()LonggetId()StringgetName()booleanisDescriptionSpecified()booleanisIdSpecified()booleanisNameSpecified()static Subscription.Serviceservice(ApiClient client)static Subscription.Serviceservice(ApiClient client, Long id)voidsetDescription(String description)voidsetEnabled(Boolean enabled)voidsetId(Long id)voidsetName(String name)voidunsetDescription()voidunsetId()voidunsetName()Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
enabled
-
description
Brief description of the purpose of the email. -
descriptionSpecified
protected boolean descriptionSpecified -
id
-
idSpecified
protected boolean idSpecified -
name
Email template name. -
nameSpecified
protected boolean nameSpecified
-
-
Constructor Details
-
Subscription
public Subscription()
-
-
Method Details
-
getEnabled
-
setEnabled
-
getDescription
-
setDescription
-
isDescriptionSpecified
public boolean isDescriptionSpecified() -
unsetDescription
public void unsetDescription() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getName
-
setName
-
isNameSpecified
public boolean isNameSpecified() -
unsetName
public void unsetName() -
asService
-
service
-
service
-