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 OutgoingCallerIdDeleterdeleter(String pathSid)static OutgoingCallerIdDeleterdeleter(String pathAccountSid, String pathSid)booleanequals(Object o)static OutgoingCallerIdFetcherfetcher(String pathSid)static OutgoingCallerIdFetcherfetcher(String pathAccountSid, String pathSid)static OutgoingCallerIdfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a OutgoingCallerId object using the provided ObjectMapper.static OutgoingCallerIdfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a OutgoingCallerId object using the provided ObjectMapper.StringgetAccountSid()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetFriendlyName()PhoneNumbergetPhoneNumber()StringgetSid()StringgetUri()inthashCode()static OutgoingCallerIdReaderreader()static OutgoingCallerIdReaderreader(String pathAccountSid)static OutgoingCallerIdUpdaterupdater(String pathSid)static OutgoingCallerIdUpdaterupdater(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()
-
-