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 booleannameSpecified-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Subscription()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
enabled
@ApiProperty protected Boolean enabled
-
description
@ApiProperty(canBeNullOrNotSet=true) protected String description
Brief description of the purpose of the email.
-
descriptionSpecified
protected boolean descriptionSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
-
idSpecified
protected boolean idSpecified
-
name
@ApiProperty(canBeNullOrNotSet=true) protected String name
Email template name.
-
nameSpecified
protected boolean nameSpecified
-
-
Method Detail
-
getEnabled
public Boolean getEnabled()
-
setEnabled
public void setEnabled(Boolean enabled)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
isDescriptionSpecified
public boolean isDescriptionSpecified()
-
unsetDescription
public void unsetDescription()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getName
public String getName()
-
setName
public void setName(String name)
-
isNameSpecified
public boolean isNameSpecified()
-
unsetName
public void unsetName()
-
asService
public Subscription.Service asService(ApiClient client)
-
service
public static Subscription.Service service(ApiClient client)
-
service
public static Subscription.Service service(ApiClient client, Long id)
-
-