public class MachineToMachine extends Resource
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static MachineToMachine |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a MachineToMachine object using the provided
ObjectMapper.
|
static MachineToMachine |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a MachineToMachine object using the provided
ObjectMapper.
|
String |
getAddressRequirements()
Returns The The address_requirements.
|
Boolean |
getBeta()
Returns The The beta.
|
PhoneNumberCapabilities |
getCapabilities()
Returns The The capabilities.
|
PhoneNumber |
getFriendlyName()
Returns The The friendly_name.
|
String |
getIsoCountry()
Returns The The iso_country.
|
String |
getLata()
Returns The The lata.
|
BigDecimal |
getLatitude()
Returns The The latitude.
|
String |
getLocality()
Returns The The locality.
|
BigDecimal |
getLongitude()
Returns The The longitude.
|
PhoneNumber |
getPhoneNumber()
Returns The The phone_number.
|
String |
getPostalCode()
Returns The The postal_code.
|
String |
getRateCenter()
Returns The The rate_center.
|
String |
getRegion()
Returns The The region.
|
int |
hashCode() |
static MachineToMachineReader |
reader(String pathCountryCode)
Create a MachineToMachineReader to execute read.
|
static MachineToMachineReader |
reader(String pathAccountSid,
String pathCountryCode)
Create a MachineToMachineReader to execute read.
|
String |
toString() |
public static MachineToMachineReader reader(String pathAccountSid, String pathCountryCode)
pathAccountSid - The account_sidpathCountryCode - The country_codepublic static MachineToMachineReader reader(String pathCountryCode)
pathCountryCode - The country_codepublic static MachineToMachine fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static MachineToMachine fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final PhoneNumber getFriendlyName()
public final PhoneNumber getPhoneNumber()
public final String getLata()
public final String getLocality()
public final String getRateCenter()
public final BigDecimal getLatitude()
public final BigDecimal getLongitude()
public final String getRegion()
public final String getPostalCode()
public final String getIsoCountry()
public final String getAddressRequirements()
public final Boolean getBeta()
public final PhoneNumberCapabilities getCapabilities()
Copyright © 2016 Twilio, Inc. All Rights Reserved.