public class EndUser extends Resource
Modifier and Type | Method and Description |
---|---|
static EndUserCreator |
creator(String friendlyName,
String type)
Create a EndUserCreator to execute create.
|
static EndUserDeleter |
deleter(String pathSid)
Create a EndUserDeleter to execute delete.
|
boolean |
equals(Object o) |
static EndUserFetcher |
fetcher(String pathSid)
Create a EndUserFetcher to execute fetch.
|
static EndUser |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a EndUser object using the provided
ObjectMapper.
|
static EndUser |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a EndUser object using the provided ObjectMapper.
|
String |
getAccountSid()
Returns The SID of the Account that created the resource.
|
Map<String,Object> |
getAttributes()
Returns The set of parameters that compose the End Users resource.
|
ZonedDateTime |
getDateCreated()
Returns The ISO 8601 date and time in GMT when the resource was created.
|
ZonedDateTime |
getDateUpdated()
Returns The ISO 8601 date and time in GMT when the resource was last updated.
|
String |
getFriendlyName()
Returns The string that you assigned to describe the resource.
|
String |
getSid()
Returns The unique string that identifies the resource.
|
String |
getType()
Returns The type of end user of the Bundle resource.
|
URI |
getUrl()
Returns The absolute URL of the End User resource.
|
int |
hashCode() |
static EndUserReader |
reader()
Create a EndUserReader to execute read.
|
static EndUserUpdater |
updater(String pathSid)
Create a EndUserUpdater to execute update.
|
public static EndUserCreator creator(String friendlyName, String type)
friendlyName
- The string that you assigned to describe the resourcetype
- The type of end user of the Bundle resourcepublic static EndUserReader reader()
public static EndUserFetcher fetcher(String pathSid)
pathSid
- The unique string that identifies the resourcepublic static EndUserUpdater updater(String pathSid)
pathSid
- The unique string that identifies the resourcepublic static EndUserDeleter deleter(String pathSid)
pathSid
- The unique string that identifies the resourcepublic static EndUser fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static EndUser 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 getFriendlyName()
public final String getType()
public final Map<String,Object> getAttributes()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.