public class Address extends Resource
| Modifier and Type | Method and Description |
|---|---|
static AddressCreator |
creator(String customerName,
String street,
String city,
String region,
String postalCode,
String isoCountry)
Create a AddressCreator to execute create.
|
static AddressCreator |
creator(String pathAccountSid,
String customerName,
String street,
String city,
String region,
String postalCode,
String isoCountry)
Create a AddressCreator to execute create.
|
static AddressDeleter |
deleter(String pathSid)
Create a AddressDeleter to execute delete.
|
static AddressDeleter |
deleter(String pathAccountSid,
String pathSid)
Create a AddressDeleter to execute delete.
|
boolean |
equals(Object o) |
static AddressFetcher |
fetcher(String pathSid)
Create a AddressFetcher to execute fetch.
|
static AddressFetcher |
fetcher(String pathAccountSid,
String pathSid)
Create a AddressFetcher to execute fetch.
|
static Address |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Address object using the provided
ObjectMapper.
|
static Address |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Address object using the provided ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
String |
getCity()
Returns The The city.
|
String |
getCustomerName()
Returns The The customer_name.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
Boolean |
getEmergencyEnabled()
Returns The The emergency_enabled.
|
String |
getFriendlyName()
Returns The The friendly_name.
|
String |
getIsoCountry()
Returns The The iso_country.
|
String |
getPostalCode()
Returns The The postal_code.
|
String |
getRegion()
Returns The The region.
|
String |
getSid()
Returns The The sid.
|
String |
getStreet()
Returns The The street.
|
String |
getUri()
Returns The The uri.
|
Boolean |
getValidated()
Returns The The validated.
|
int |
hashCode() |
static AddressReader |
reader()
Create a AddressReader to execute read.
|
static AddressReader |
reader(String pathAccountSid)
Create a AddressReader to execute read.
|
String |
toString() |
static AddressUpdater |
updater(String pathSid)
Create a AddressUpdater to execute update.
|
static AddressUpdater |
updater(String pathAccountSid,
String pathSid)
Create a AddressUpdater to execute update.
|
public static AddressCreator creator(String pathAccountSid, String customerName, String street, String city, String region, String postalCode, String isoCountry)
pathAccountSid - The account_sidcustomerName - The customer_namestreet - The streetcity - The cityregion - The regionpostalCode - The postal_codeisoCountry - The iso_countrypublic static AddressCreator creator(String customerName, String street, String city, String region, String postalCode, String isoCountry)
customerName - The customer_namestreet - The streetcity - The cityregion - The regionpostalCode - The postal_codeisoCountry - The iso_countrypublic static AddressDeleter deleter(String pathAccountSid, String pathSid)
pathAccountSid - The account_sidpathSid - The sidpublic static AddressDeleter deleter(String pathSid)
pathSid - The sidpublic static AddressFetcher fetcher(String pathAccountSid, String pathSid)
pathAccountSid - The account_sidpathSid - The sidpublic static AddressFetcher fetcher(String pathSid)
pathSid - The sidpublic static AddressUpdater updater(String pathAccountSid, String pathSid)
pathAccountSid - The account_sidpathSid - The sidpublic static AddressUpdater updater(String pathSid)
pathSid - The sidpublic static AddressReader reader(String pathAccountSid)
pathAccountSid - The account_sidpublic static AddressReader reader()
public static Address fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Address fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getAccountSid()
public final String getCity()
public final String getCustomerName()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getFriendlyName()
public final String getIsoCountry()
public final String getPostalCode()
public final String getRegion()
public final String getSid()
public final String getStreet()
public final String getUri()
public final Boolean getEmergencyEnabled()
public final Boolean getValidated()
Copyright © 2016 Twilio, Inc. All Rights Reserved.