Class AvailablePhoneNumberCountry
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.AvailablePhoneNumberCountry
-
- All Implemented Interfaces:
Serializable
public class AvailablePhoneNumberCountry extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static AvailablePhoneNumberCountryFetcherfetcher(String pathCountryCode)static AvailablePhoneNumberCountryFetcherfetcher(String pathAccountSid, String pathCountryCode)static AvailablePhoneNumberCountryfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a AvailablePhoneNumberCountry object using the provided ObjectMapper.static AvailablePhoneNumberCountryfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a AvailablePhoneNumberCountry object using the provided ObjectMapper.BooleangetBeta()StringgetCountry()StringgetCountryCode()Map<String,String>getSubresourceUris()URIgetUri()inthashCode()static AvailablePhoneNumberCountryReaderreader()static AvailablePhoneNumberCountryReaderreader(String pathAccountSid)
-
-
-
Method Detail
-
fetcher
public static AvailablePhoneNumberCountryFetcher fetcher(String pathCountryCode)
-
fetcher
public static AvailablePhoneNumberCountryFetcher fetcher(String pathAccountSid, String pathCountryCode)
-
reader
public static AvailablePhoneNumberCountryReader reader()
-
reader
public static AvailablePhoneNumberCountryReader reader(String pathAccountSid)
-
fromJson
public static AvailablePhoneNumberCountry fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a AvailablePhoneNumberCountry object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- AvailablePhoneNumberCountry object represented by the provided JSON
-
fromJson
public static AvailablePhoneNumberCountry fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a AvailablePhoneNumberCountry object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- AvailablePhoneNumberCountry object represented by the provided JSON
-
getCountryCode
public final String getCountryCode()
-
getCountry
public final String getCountry()
-
getUri
public final URI getUri()
-
getBeta
public final Boolean getBeta()
-
-