public class Token extends InstanceResource
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
getCastedObject, getObject, getProperty, toJSON, update, updatesetRequestAccountSidpublic Token(TwilioRestClient client)
client - the clientpublic Token(TwilioRestClient client, String username)
client - the clientusername - the usernamepublic Token(TwilioRestClient client, Map<String,Object> properties)
client - the clientproperties - the propertiespublic 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()
Copyright © 2011 Twilio, Inc. All Rights Reserved.