|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.twilio.sdk.resource.Resource
com.twilio.sdk.resource.InstanceResource
com.twilio.sdk.resource.instance.Message
public class Message
| Constructor Summary | |
|---|---|
Message(TwilioRestClient client)
Instantiates a new message. |
|
Message(TwilioRestClient client,
Map<String,Object> properties)
Instantiates a new message. |
|
Message(TwilioRestClient client,
String sid)
Instantiates a new message. |
|
| Method Summary | |
|---|---|
String |
getAccountSid()
Gets the account sid. |
String |
getApiVersion()
Gets the api version. |
String |
getBody()
Gets the body. |
Date |
getDateCreated()
Gets the date created. |
Date |
getDateSent()
Gets the date sent. |
Date |
getDateUpdated()
Gets the date updated. |
String |
getDirection()
Gets the direction. |
String |
getFrom()
Gets the from. |
MediaList |
getMedia()
Returns the a list of media. |
Media |
getMedia(String mediaSid)
Returns the a list of media. |
int |
getNumMedia()
Gets the number of media associated with the message. |
int |
getNumSegments()
Gets the number of segments used to deliver this message. |
String |
getPrice()
Gets the price. |
String |
getPriceUnit()
Gets the price. |
String |
getSid()
Gets the sid. |
String |
getStatus()
Gets the status. |
String |
getTo()
Gets the to. |
| Methods inherited from class com.twilio.sdk.resource.InstanceResource |
|---|
getObject, getProperty, update, update |
| Methods inherited from class com.twilio.sdk.resource.Resource |
|---|
setRequestAccountSid |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Message(TwilioRestClient client)
client - the client
public Message(TwilioRestClient client,
String sid)
client - the clientsid - the sid
public Message(TwilioRestClient client,
Map<String,Object> properties)
client - the clientproperties - the properties| Method Detail |
|---|
public String getSid()
public MediaList getMedia()
public Media getMedia(String mediaSid)
mediaSid - the sid of a media instance associated with this message
public Date getDateCreated()
public Date getDateUpdated()
public Date getDateSent()
public String getAccountSid()
public String getTo()
public String getFrom()
public String getBody()
public String getStatus()
public String getPrice()
public String getPriceUnit()
public int getNumSegments()
public int getNumMedia()
public String getDirection()
public String getApiVersion()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||