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 class
Subscription.Mask
static interface
Subscription.Service
SoftLayer customers can use this service to manage or view all of the available email subscriptions that they can suppress.static interface
Subscription.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected String
description
Brief description of the purpose of the email.protected boolean
descriptionSpecified
protected Boolean
enabled
protected Long
id
protected boolean
idSpecified
protected String
name
Email template name.protected boolean
nameSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description Subscription()
-
Method Summary
Modifier and Type Method Description Subscription.Service
asService(ApiClient client)
String
getDescription()
Boolean
getEnabled()
Long
getId()
String
getName()
boolean
isDescriptionSpecified()
boolean
isIdSpecified()
boolean
isNameSpecified()
static Subscription.Service
service(ApiClient client)
static Subscription.Service
service(ApiClient client, Long id)
void
setDescription(String description)
void
setEnabled(Boolean enabled)
void
setId(Long id)
void
setName(String name)
void
unsetDescription()
void
unsetId()
void
unsetName()
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
-