Class OutgoingCallerId
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.OutgoingCallerId
-
- All Implemented Interfaces:
Serializable
public class OutgoingCallerId extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OutgoingCallerIdDeleter
deleter(String pathSid)
static OutgoingCallerIdDeleter
deleter(String pathAccountSid, String pathSid)
boolean
equals(Object o)
static OutgoingCallerIdFetcher
fetcher(String pathSid)
static OutgoingCallerIdFetcher
fetcher(String pathAccountSid, String pathSid)
static OutgoingCallerId
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a OutgoingCallerId object using the provided ObjectMapper.static OutgoingCallerId
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a OutgoingCallerId object using the provided ObjectMapper.String
getAccountSid()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getFriendlyName()
PhoneNumber
getPhoneNumber()
String
getSid()
String
getUri()
int
hashCode()
static OutgoingCallerIdReader
reader()
static OutgoingCallerIdReader
reader(String pathAccountSid)
static OutgoingCallerIdUpdater
updater(String pathSid)
static OutgoingCallerIdUpdater
updater(String pathAccountSid, String pathSid)
-
-
-
Method Detail
-
fetcher
public static OutgoingCallerIdFetcher fetcher(String pathSid)
-
fetcher
public static OutgoingCallerIdFetcher fetcher(String pathAccountSid, String pathSid)
-
deleter
public static OutgoingCallerIdDeleter deleter(String pathSid)
-
deleter
public static OutgoingCallerIdDeleter deleter(String pathAccountSid, String pathSid)
-
reader
public static OutgoingCallerIdReader reader()
-
reader
public static OutgoingCallerIdReader reader(String pathAccountSid)
-
updater
public static OutgoingCallerIdUpdater updater(String pathSid)
-
updater
public static OutgoingCallerIdUpdater updater(String pathAccountSid, String pathSid)
-
fromJson
public static OutgoingCallerId fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a OutgoingCallerId object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- OutgoingCallerId object represented by the provided JSON
-
fromJson
public static OutgoingCallerId fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a OutgoingCallerId object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- OutgoingCallerId object represented by the provided JSON
-
getSid
public final String getSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getFriendlyName
public final String getFriendlyName()
-
getAccountSid
public final String getAccountSid()
-
getPhoneNumber
public final PhoneNumber getPhoneNumber()
-
getUri
public final String getUri()
-
-