public class VoiceMessageResponse extends Object implements MessageResponseBase, Serializable
| Constructor and Description |
|---|
VoiceMessageResponse() |
| 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
|
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.
|
IfMachineType |
getIfMachine()
What to do when a machine picks up the phone? Possible values are:
- continue do not check, just play the message
- delay if a machine answers, wait until the machine stops talking
- hangup hangup when a machine answers
|
String |
getLanguage()
The language in which the message needs to be read to the recipient.
|
int |
getMachineTimeout()
The time (in milliseconds) to analyze if a machine has picked up the phone.
|
String |
getOriginator()
The originator (sender) of the message
|
MessageResponse.Recipients |
getRecipients()
Recipient information.
|
String |
getReference()
The reference that was set for the message
|
Integer |
getRepeat()
How many times needs the message to be repeated?
|
Date |
getScheduledDatetime()
The scheduled date and time of the message
|
VoiceType |
getVoice()
The voice in which the messages needs to be read to the recipient.
|
String |
toString() |
public String getId()
MessageResponseBasegetId in interface MessageResponseBasepublic String getHref()
MessageResponseBasegetHref in interface MessageResponseBasepublic String getOriginator()
public String getBody()
MessageResponseBasegetBody in interface MessageResponseBasepublic String getReference()
MessageResponseBasegetReference in interface MessageResponseBasepublic String getLanguage()
public VoiceType getVoice()
public Integer getRepeat()
public IfMachineType getIfMachine()
public int getMachineTimeout()
public Date getScheduledDatetime()
public Date getCreatedDatetime()
public MessageResponse.Recipients getRecipients()
MessageResponseBasegetRecipients in interface MessageResponseBaseCopyright © 2024. All rights reserved.