public class MessageResponse extends Object implements MessageResponseBase, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
MessageResponse.Items
Response recipient items
|
static class |
MessageResponse.Price
Response price of items
|
static class |
MessageResponse.Recipients
Recipient status
|
| Constructor and Description |
|---|
MessageResponse() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBody()
The body of the SMS message.
|
Date |
getCreatedDatetime()
The date and time of the creation of the message
|
DataCodingType |
getDatacoding()
The datacoding used, can be plain or unicode
|
String |
getDirection()
Tells you if the message is sent or received.
|
Integer |
getGateway()
The SMS route that is used to send the message.
|
String |
getHref()
The URL of the created object.
|
String |
getId()
An unique random ID which is created on the MessageBird platform and is returned upon creation of the object.
|
MClassType |
getMclass()
Indicated the message type.
|
String |
getOriginator()
The sender of the message.
|
MessageResponse.Recipients |
getRecipients()
Recipient information.
|
String |
getReference()
The reference that was set for the message
|
Date |
getScheduledDatetime()
The scheduled date and time of the message
|
MsgType |
getType()
The type of message.
|
Map<String,Object> |
getTypeDetails()
Return type details object
|
Integer |
getValidity()
The amount of seconds that the message is valid.
|
void |
setReference(String reference)
Your reference for this message
|
String |
toString() |
public String getId()
getId in interface MessageResponseBasepublic String getHref()
MessageResponseBasegetHref in interface MessageResponseBasepublic String getDirection()
public MsgType getType()
public String getOriginator()
public String getBody()
MessageResponseBasegetBody in interface MessageResponseBasepublic String getReference()
MessageResponseBasegetReference in interface MessageResponseBasepublic void setReference(String reference)
reference - public Integer getValidity()
public Integer getGateway()
public DataCodingType getDatacoding()
public MClassType getMclass()
public Date getScheduledDatetime()
public Date getCreatedDatetime()
public MessageResponse.Recipients getRecipients()
MessageResponseBasegetRecipients in interface MessageResponseBaseCopyright © 2024. All rights reserved.