Class Mobile
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.availablephonenumbercountry.Mobile
-
- All Implemented Interfaces:
Serializable
public class Mobile 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 MobilefromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Mobile object using the provided ObjectMapper.static MobilefromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Mobile object using the provided ObjectMapper.StringgetAddressRequirements()BooleangetBeta()PhoneNumberCapabilitiesgetCapabilities()PhoneNumbergetFriendlyName()StringgetIsoCountry()StringgetLata()BigDecimalgetLatitude()StringgetLocality()BigDecimalgetLongitude()PhoneNumbergetPhoneNumber()StringgetPostalCode()StringgetRateCenter()StringgetRegion()inthashCode()static MobileReaderreader(String pathCountryCode)static MobileReaderreader(String pathAccountSid, String pathCountryCode)
-
-
-
Method Detail
-
reader
public static MobileReader reader(String pathCountryCode)
-
reader
public static MobileReader reader(String pathAccountSid, String pathCountryCode)
-
fromJson
public static Mobile fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Mobile object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Mobile object represented by the provided JSON
-
fromJson
public static Mobile fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Mobile object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Mobile object represented by the provided JSON
-
getFriendlyName
public final PhoneNumber getFriendlyName()
-
getPhoneNumber
public final PhoneNumber getPhoneNumber()
-
getLata
public final String getLata()
-
getLocality
public final String getLocality()
-
getRateCenter
public final String getRateCenter()
-
getLatitude
public final BigDecimal getLatitude()
-
getLongitude
public final BigDecimal getLongitude()
-
getRegion
public final String getRegion()
-
getPostalCode
public final String getPostalCode()
-
getIsoCountry
public final String getIsoCountry()
-
getAddressRequirements
public final String getAddressRequirements()
-
getBeta
public final Boolean getBeta()
-
getCapabilities
public final PhoneNumberCapabilities getCapabilities()
-
-