public class User extends NextGenInstanceResource<TwilioIPMessagingClient>
| Constructor and Description |
|---|
User(TwilioIPMessagingClient client,
Map<String,Object> properties) |
User(TwilioIPMessagingClient client,
String serviceSid,
String sid) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete()
Deletes the user
|
String |
getAccountSid()
The account sid that owns this user
|
Calendar |
getDateCreated()
The date when this user was created
|
Calendar |
getDateUpdated()
The date when this user was updated
|
String |
getIdentity()
The identity for this user
|
String |
getRoleSid()
The role sid for this user
|
String |
getServiceSid()
The service sid that is associated to this user
|
String |
getSid()
The unique identifier for this user
|
String |
getUrl()
Absolute url of this user
|
getCastedObject, getObject, getProperty, getPropertyAsInteger, toJSON, update, updatesetRequestAccountSidpublic User(TwilioIPMessagingClient client, String serviceSid, String sid)
public User(TwilioIPMessagingClient client, Map<String,Object> properties)
public String getSid()
public String getAccountSid()
public String getServiceSid()
public String getRoleSid()
public String getIdentity()
public Calendar getDateCreated()
public Calendar getDateUpdated()
public String getUrl()
public boolean delete()
throws TwilioRestException
TwilioRestExceptionCopyright © 2011 Twilio, Inc. All Rights Reserved.