public class Address extends SidResource
Modifier and Type | Method and Description |
---|---|
static AddressCreator |
create(String accountSid,
String customerName,
String street,
String city,
String region,
String postalCode,
String isoCountry)
Create a AddressCreator to execute create.
|
static AddressDeleter |
delete(String accountSid,
String sid)
Create a AddressDeleter to execute delete.
|
boolean |
equals(Object o) |
static AddressFetcher |
fetch(String accountSid,
String sid)
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.
|
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.
|
int |
hashCode() |
static AddressReader |
read(String accountSid)
Create a AddressReader to execute read.
|
String |
toString() |
static AddressUpdater |
update(String accountSid,
String sid)
Create a AddressUpdater to execute update.
|
public static AddressCreator create(String accountSid, String customerName, String street, String city, String region, String postalCode, String isoCountry)
accountSid
- The account_sidcustomerName
- The customer_namestreet
- The streetcity
- The cityregion
- The regionpostalCode
- The postal_codeisoCountry
- The iso_countrypublic static AddressDeleter delete(String accountSid, String sid)
accountSid
- The account_sidsid
- The sidpublic static AddressFetcher fetch(String accountSid, String sid)
accountSid
- The account_sidsid
- The sidpublic static AddressUpdater update(String accountSid, String sid)
accountSid
- The account_sidsid
- The sidpublic static AddressReader read(String accountSid)
accountSid
- The account_sidpublic 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()
getSid
in class SidResource
public final String getStreet()
public final String getUri()
Copyright © 2011 Twilio, Inc. All Rights Reserved.