public class Account extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
Account.Status |
static class |
Account.Type |
| Modifier and Type | Method and Description |
|---|---|
static AccountCreator |
creator()
Create a AccountCreator to execute create.
|
boolean |
equals(Object o) |
static AccountFetcher |
fetcher()
Create a AccountFetcher to execute fetch.
|
static AccountFetcher |
fetcher(String pathSid)
Create a AccountFetcher to execute fetch.
|
static Account |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Account object using the provided
ObjectMapper.
|
static Account |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Account object using the provided ObjectMapper.
|
String |
getAuthToken()
Returns The The authorization token for this account.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date this account was created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date this account was last updated.
|
String |
getFriendlyName()
Returns The A human readable description of this account.
|
String |
getOwnerAccountSid()
Returns The The unique 34 character id representing the parent of this
account.
|
String |
getSid()
Returns The A 34 character string that uniquely identifies this resource..
|
Account.Status |
getStatus()
Returns The The status of this account.
|
Map<String,String> |
getSubresourceUris()
Returns The Account Instance Subresources.
|
Account.Type |
getType()
Returns The The type of this account.
|
String |
getUri()
Returns The The URI for this resource, relative to `https://api.twilio.com`.
|
int |
hashCode() |
static AccountReader |
reader()
Create a AccountReader to execute read.
|
String |
toString() |
static AccountUpdater |
updater()
Create a AccountUpdater to execute update.
|
static AccountUpdater |
updater(String pathSid)
Create a AccountUpdater to execute update.
|
public static AccountCreator creator()
public static AccountFetcher fetcher(String pathSid)
pathSid - Fetch by unique Account Sidpublic static AccountFetcher fetcher()
public static AccountReader reader()
public static AccountUpdater updater(String pathSid)
pathSid - The sidpublic static AccountUpdater updater()
public static Account fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Account fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getAuthToken()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getFriendlyName()
public final String getOwnerAccountSid()
public final String getSid()
public final Account.Status getStatus()
public final Map<String,String> getSubresourceUris()
public final Account.Type getType()
public final String getUri()
Copyright © 2016 Twilio, Inc. All Rights Reserved.