public class AvailablePhoneNumberCountry extends SidResource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static AvailablePhoneNumberCountryFetcher |
fetch(String accountSid,
String countryCode)
Create a AvailablePhoneNumberCountryFetcher to execute fetch.
|
static AvailablePhoneNumberCountry |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a AvailablePhoneNumberCountry object using
the provided ObjectMapper.
|
static AvailablePhoneNumberCountry |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a AvailablePhoneNumberCountry object using the
provided ObjectMapper.
|
Boolean |
getBeta()
Returns The The beta.
|
String |
getCountry()
Returns The The country.
|
String |
getCountryCode()
Returns The The country_code.
|
String |
getSid()
Returns The The country_code.
|
Map<String,String> |
getSubresourceUris()
Returns The The subresource_uris.
|
URI |
getUri()
Returns The The uri.
|
int |
hashCode() |
static AvailablePhoneNumberCountryReader |
read(String accountSid)
Create a AvailablePhoneNumberCountryReader to execute read.
|
String |
toString() |
public static AvailablePhoneNumberCountryReader read(String accountSid)
accountSid
- The account_sidpublic static AvailablePhoneNumberCountryFetcher fetch(String accountSid, String countryCode)
accountSid
- The account_sidcountryCode
- The country_codepublic static AvailablePhoneNumberCountry fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static AvailablePhoneNumberCountry fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getSid()
getSid
in class SidResource
public final String getCountryCode()
public final String getCountry()
public final URI getUri()
public final Boolean getBeta()
public final Map<String,String> getSubresourceUris()
Copyright © 2011 Twilio, Inc. All Rights Reserved.