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
All Methods Static Methods Instance Methods Concrete Methods 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 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)
-
-