public class Cps extends Resource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static CpsFetcher |
fetcher()
Create a CpsFetcher to execute fetch.
|
static Cps |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Cps object using the provided
ObjectMapper.
|
static Cps |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Cps object using the provided ObjectMapper.
|
URI |
getCpsUrl()
Returns CPS URL of the phone number..
|
String |
getPhoneNumber()
Returns Phone number passed..
|
URI |
getUrl()
Returns The URL of this resource..
|
int |
hashCode() |
public static CpsFetcher fetcher()
public static Cps fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Cps fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final URI getCpsUrl()
public final String getPhoneNumber()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.