Class Address
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.Address
-
- All Implemented Interfaces:
Serializable
public class Address extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddressCreatorcreator(String customerName, String street, String city, String region, String postalCode, String isoCountry)static AddressCreatorcreator(String pathAccountSid, String customerName, String street, String city, String region, String postalCode, String isoCountry)static AddressDeleterdeleter(String pathSid)static AddressDeleterdeleter(String pathAccountSid, String pathSid)booleanequals(Object o)static AddressFetcherfetcher(String pathSid)static AddressFetcherfetcher(String pathAccountSid, String pathSid)static AddressfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Address object using the provided ObjectMapper.static AddressfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Address object using the provided ObjectMapper.StringgetAccountSid()StringgetCity()StringgetCustomerName()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()BooleangetEmergencyEnabled()StringgetFriendlyName()StringgetIsoCountry()StringgetPostalCode()StringgetRegion()StringgetSid()StringgetStreet()StringgetUri()BooleangetValidated()BooleangetVerified()inthashCode()static AddressReaderreader()static AddressReaderreader(String pathAccountSid)static AddressUpdaterupdater(String pathSid)static AddressUpdaterupdater(String pathAccountSid, String pathSid)
-
-
-
Method Detail
-
creator
public static AddressCreator creator(String customerName, String street, String city, String region, String postalCode, String isoCountry)
-
creator
public static AddressCreator creator(String pathAccountSid, String customerName, String street, String city, String region, String postalCode, String isoCountry)
-
fetcher
public static AddressFetcher fetcher(String pathSid)
-
fetcher
public static AddressFetcher fetcher(String pathAccountSid, String pathSid)
-
deleter
public static AddressDeleter deleter(String pathSid)
-
deleter
public static AddressDeleter deleter(String pathAccountSid, String pathSid)
-
reader
public static AddressReader reader()
-
reader
public static AddressReader reader(String pathAccountSid)
-
updater
public static AddressUpdater updater(String pathSid)
-
updater
public static AddressUpdater updater(String pathAccountSid, String pathSid)
-
fromJson
public static Address fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Address object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Address object represented by the provided JSON
-
fromJson
public static Address fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Address object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Address object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getCity
public final String getCity()
-
getCustomerName
public final String getCustomerName()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getFriendlyName
public final String getFriendlyName()
-
getIsoCountry
public final String getIsoCountry()
-
getPostalCode
public final String getPostalCode()
-
getRegion
public final String getRegion()
-
getSid
public final String getSid()
-
getStreet
public final String getStreet()
-
getUri
public final String getUri()
-
getEmergencyEnabled
public final Boolean getEmergencyEnabled()
-
getValidated
public final Boolean getValidated()
-
getVerified
public final Boolean getVerified()
-
-