|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.twilio.sdk.resource.Resource<C>
com.twilio.sdk.resource.InstanceResource
com.twilio.sdk.resource.instance.Token
public class Token
| Constructor Summary | |
|---|---|
Token(TwilioRestClient client)
Instantiates a new token. |
|
Token(TwilioRestClient client,
Map<String,Object> properties)
Instantiates a new token. |
|
Token(TwilioRestClient client,
String username)
Instantiates a new token. |
|
| Method Summary | |
|---|---|
String |
getAccountSid()
Gets the account sid. |
Date |
getDateCreated()
Gets the date created. |
Date |
getDateUpdated()
Gets the date updated. |
List<com.twilio.sdk.resource.instance.Token.IceServer> |
getIceServers()
Returns the ice servers associated with this token. |
String |
getPassword()
Gets the password |
String |
getSid()
Gets the sid. |
int |
getTtl()
Gets the ttl |
String |
getUsername()
Gets the username |
| 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 Token(TwilioRestClient client)
client - the client
public Token(TwilioRestClient client,
String username)
client - the clientusername - the username
public Token(TwilioRestClient client,
Map<String,Object> properties)
client - the clientproperties - the properties| Method Detail |
|---|
public String getSid()
public Date getDateCreated()
public Date getDateUpdated()
public String getAccountSid()
public String getUsername()
public String getPassword()
public int getTtl()
public List<com.twilio.sdk.resource.instance.Token.IceServer> getIceServers()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||