public class User extends Resource
| Modifier and Type | Method and Description |
|---|---|
static UserCreator |
creator(String pathServiceSid,
String identity)
Create a UserCreator to execute create.
|
static UserDeleter |
deleter(String pathServiceSid,
String pathIdentity)
Create a UserDeleter to execute delete.
|
boolean |
equals(Object o) |
static UserFetcher |
fetcher(String pathServiceSid,
String pathIdentity)
Create a UserFetcher to execute fetch.
|
static User |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a User object using the provided
ObjectMapper.
|
static User |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a User object using the provided ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
String |
getIdentity()
Returns The The identity.
|
Map<String,String> |
getLinks()
Returns The The links.
|
List<String> |
getSegments()
Returns The The segments.
|
String |
getServiceSid()
Returns The The service_sid.
|
String |
getSid()
Returns The The sid.
|
URI |
getUrl()
Returns The The url.
|
int |
hashCode() |
static UserReader |
reader(String pathServiceSid)
Create a UserReader to execute read.
|
String |
toString() |
public static UserCreator creator(String pathServiceSid, String identity)
pathServiceSid - The service_sididentity - The identitypublic static UserDeleter deleter(String pathServiceSid, String pathIdentity)
pathServiceSid - The service_sidpathIdentity - The identitypublic static UserFetcher fetcher(String pathServiceSid, String pathIdentity)
pathServiceSid - The service_sidpathIdentity - The identitypublic static UserReader reader(String pathServiceSid)
pathServiceSid - The service_sidpublic static User fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static User fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getSid()
public final String getAccountSid()
public final String getServiceSid()
public final String getIdentity()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.