public class SMSChannelResponse extends Object implements Serializable
| Constructor and Description |
|---|
SMSChannelResponse() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getApplicationId()
The unique ID of the application to which the SMS channel belongs.
|
String |
getCreationDate()
The date that the settings were last updated in ISO 8601 format.
|
Boolean |
getEnabled()
If the channel is enabled for sending messages.
|
Boolean |
getHasCredential()
Not used.
|
String |
getId()
Channel ID.
|
Boolean |
getIsArchived()
Is this channel archived
|
String |
getLastModifiedBy()
Who last updated this entry
|
String |
getLastModifiedDate()
Last date this was updated
|
String |
getPlatform()
Platform type.
|
Integer |
getPromotionalMessagesPerSecond()
Promotional messages per second that can be sent
|
String |
getSenderId()
Sender identifier of your messages.
|
String |
getShortCode()
The short code registered with the phone provider.
|
Integer |
getTransactionalMessagesPerSecond()
Transactional messages per second that can be sent
|
Integer |
getVersion()
Version of channel
|
int |
hashCode() |
Boolean |
isEnabled()
If the channel is enabled for sending messages.
|
Boolean |
isHasCredential()
Not used.
|
Boolean |
isIsArchived()
Is this channel archived
|
void |
setApplicationId(String applicationId)
The unique ID of the application to which the SMS channel belongs.
|
void |
setCreationDate(String creationDate)
The date that the settings were last updated in ISO 8601 format.
|
void |
setEnabled(Boolean enabled)
If the channel is enabled for sending messages.
|
void |
setHasCredential(Boolean hasCredential)
Not used.
|
void |
setId(String id)
Channel ID.
|
void |
setIsArchived(Boolean isArchived)
Is this channel archived
|
void |
setLastModifiedBy(String lastModifiedBy)
Who last updated this entry
|
void |
setLastModifiedDate(String lastModifiedDate)
Last date this was updated
|
void |
setPlatform(String platform)
Platform type.
|
void |
setPromotionalMessagesPerSecond(Integer promotionalMessagesPerSecond)
Promotional messages per second that can be sent
|
void |
setSenderId(String senderId)
Sender identifier of your messages.
|
void |
setShortCode(String shortCode)
The short code registered with the phone provider.
|
void |
setTransactionalMessagesPerSecond(Integer transactionalMessagesPerSecond)
Transactional messages per second that can be sent
|
void |
setVersion(Integer version)
Version of channel
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SMSChannelResponse |
withApplicationId(String applicationId)
The unique ID of the application to which the SMS channel belongs.
|
SMSChannelResponse |
withCreationDate(String creationDate)
The date that the settings were last updated in ISO 8601 format.
|
SMSChannelResponse |
withEnabled(Boolean enabled)
If the channel is enabled for sending messages.
|
SMSChannelResponse |
withHasCredential(Boolean hasCredential)
Not used.
|
SMSChannelResponse |
withId(String id)
Channel ID.
|
SMSChannelResponse |
withIsArchived(Boolean isArchived)
Is this channel archived
|
SMSChannelResponse |
withLastModifiedBy(String lastModifiedBy)
Who last updated this entry
|
SMSChannelResponse |
withLastModifiedDate(String lastModifiedDate)
Last date this was updated
|
SMSChannelResponse |
withPlatform(String platform)
Platform type.
|
SMSChannelResponse |
withPromotionalMessagesPerSecond(Integer promotionalMessagesPerSecond)
Promotional messages per second that can be sent
|
SMSChannelResponse |
withSenderId(String senderId)
Sender identifier of your messages.
|
SMSChannelResponse |
withShortCode(String shortCode)
The short code registered with the phone provider.
|
SMSChannelResponse |
withTransactionalMessagesPerSecond(Integer transactionalMessagesPerSecond)
Transactional messages per second that can be sent
|
SMSChannelResponse |
withVersion(Integer version)
Version of channel
|
public String getApplicationId()
public void setApplicationId(String applicationId)
applicationId - The unique ID of the application to which the SMS
channel belongs.public SMSChannelResponse withApplicationId(String applicationId)
Returns a reference to this object so that method calls can be chained together.
applicationId - The unique ID of the application to which the SMS
channel belongs.public String getCreationDate()
public void setCreationDate(String creationDate)
creationDate - The date that the settings were last updated in ISO
8601 format.public SMSChannelResponse withCreationDate(String creationDate)
Returns a reference to this object so that method calls can be chained together.
creationDate - The date that the settings were last updated in ISO
8601 format.public Boolean isEnabled()
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
enabled - If the channel is enabled for sending messages.public SMSChannelResponse withEnabled(Boolean enabled)
Returns a reference to this object so that method calls can be chained together.
enabled - If the channel is enabled for sending messages.public Boolean isHasCredential()
public Boolean getHasCredential()
public void setHasCredential(Boolean hasCredential)
hasCredential - Not used. Retained for backwards compatibility.public SMSChannelResponse withHasCredential(Boolean hasCredential)
Returns a reference to this object so that method calls can be chained together.
hasCredential - Not used. Retained for backwards compatibility.public String getId()
public void setId(String id)
id - Channel ID. Not used, only for backwards compatibility.public SMSChannelResponse withId(String id)
Returns a reference to this object so that method calls can be chained together.
id - Channel ID. Not used, only for backwards compatibility.public Boolean isIsArchived()
public Boolean getIsArchived()
public void setIsArchived(Boolean isArchived)
isArchived - Is this channel archivedpublic SMSChannelResponse withIsArchived(Boolean isArchived)
Returns a reference to this object so that method calls can be chained together.
isArchived - Is this channel archivedpublic String getLastModifiedBy()
public void setLastModifiedBy(String lastModifiedBy)
lastModifiedBy - Who last updated this entrypublic SMSChannelResponse withLastModifiedBy(String lastModifiedBy)
Returns a reference to this object so that method calls can be chained together.
lastModifiedBy - Who last updated this entrypublic String getLastModifiedDate()
public void setLastModifiedDate(String lastModifiedDate)
lastModifiedDate - Last date this was updatedpublic SMSChannelResponse withLastModifiedDate(String lastModifiedDate)
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate - Last date this was updatedpublic String getPlatform()
public void setPlatform(String platform)
platform - Platform type. Will be "SMS"public SMSChannelResponse withPlatform(String platform)
Returns a reference to this object so that method calls can be chained together.
platform - Platform type. Will be "SMS"public Integer getPromotionalMessagesPerSecond()
public void setPromotionalMessagesPerSecond(Integer promotionalMessagesPerSecond)
promotionalMessagesPerSecond - Promotional messages per second that
can be sentpublic SMSChannelResponse withPromotionalMessagesPerSecond(Integer promotionalMessagesPerSecond)
Returns a reference to this object so that method calls can be chained together.
promotionalMessagesPerSecond - Promotional messages per second that
can be sentpublic String getSenderId()
public void setSenderId(String senderId)
senderId - Sender identifier of your messages.public SMSChannelResponse withSenderId(String senderId)
Returns a reference to this object so that method calls can be chained together.
senderId - Sender identifier of your messages.public String getShortCode()
public void setShortCode(String shortCode)
shortCode - The short code registered with the phone provider.public SMSChannelResponse withShortCode(String shortCode)
Returns a reference to this object so that method calls can be chained together.
shortCode - The short code registered with the phone provider.public Integer getTransactionalMessagesPerSecond()
public void setTransactionalMessagesPerSecond(Integer transactionalMessagesPerSecond)
transactionalMessagesPerSecond - Transactional messages per second
that can be sentpublic SMSChannelResponse withTransactionalMessagesPerSecond(Integer transactionalMessagesPerSecond)
Returns a reference to this object so that method calls can be chained together.
transactionalMessagesPerSecond - Transactional messages per second
that can be sentpublic Integer getVersion()
public void setVersion(Integer version)
version - Version of channelpublic SMSChannelResponse withVersion(Integer version)
Returns a reference to this object so that method calls can be chained together.
version - Version of channelpublic String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.