public class Number extends Resource
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static NumberFetcher |
fetcher(PhoneNumber pathNumber)
Create a NumberFetcher to execute fetch.
|
static Number |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Number object using the provided
ObjectMapper.
|
static Number |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Number object using the provided ObjectMapper.
|
String |
getCountry()
Returns The The country.
|
InboundCallPrice |
getInboundCallPrice()
Returns The The inbound_call_price.
|
String |
getIsoCountry()
Returns The The iso_country.
|
PhoneNumber |
getNumber()
Returns The The number.
|
OutboundCallPrice |
getOutboundCallPrice()
Returns The The outbound_call_price.
|
Currency |
getPriceUnit()
Returns The The price_unit.
|
URI |
getUrl()
Returns The The url.
|
int |
hashCode() |
String |
toString() |
public static NumberFetcher fetcher(PhoneNumber pathNumber)
pathNumber - The numberpublic static Number fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Number fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final PhoneNumber getNumber()
public final String getCountry()
public final String getIsoCountry()
public final OutboundCallPrice getOutboundCallPrice()
public final InboundCallPrice getInboundCallPrice()
public final Currency getPriceUnit()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.