public class MessagingConfiguration extends Resource
Modifier and Type | Method and Description |
---|---|
static MessagingConfigurationCreator |
creator(String pathServiceSid,
String country,
String messagingServiceSid)
Create a MessagingConfigurationCreator to execute create.
|
static MessagingConfigurationDeleter |
deleter(String pathServiceSid,
String pathCountry)
Create a MessagingConfigurationDeleter to execute delete.
|
boolean |
equals(Object o) |
static MessagingConfigurationFetcher |
fetcher(String pathServiceSid,
String pathCountry)
Create a MessagingConfigurationFetcher to execute fetch.
|
static MessagingConfiguration |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a MessagingConfiguration object using the
provided ObjectMapper.
|
static MessagingConfiguration |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a MessagingConfiguration object using the
provided ObjectMapper.
|
String |
getAccountSid()
Returns The SID of the Account that created the resource.
|
String |
getCountry()
Returns The ISO-3166-1 country code of the country or `all`..
|
ZonedDateTime |
getDateCreated()
Returns The RFC 2822 date and time in GMT when the resource was created.
|
ZonedDateTime |
getDateUpdated()
Returns The RFC 2822 date and time in GMT when the resource was last updated.
|
String |
getMessagingServiceSid()
Returns The SID of the Messaging Service used for this configuration..
|
String |
getServiceSid()
Returns The SID of the Service that the resource is associated with.
|
URI |
getUrl()
Returns The URL of this resource..
|
int |
hashCode() |
static MessagingConfigurationReader |
reader(String pathServiceSid)
Create a MessagingConfigurationReader to execute read.
|
static MessagingConfigurationUpdater |
updater(String pathServiceSid,
String pathCountry,
String messagingServiceSid)
Create a MessagingConfigurationUpdater to execute update.
|
public static MessagingConfigurationCreator creator(String pathServiceSid, String country, String messagingServiceSid)
pathServiceSid
- The SID of the Service that the resource is associated
withcountry
- The ISO-3166-1 country code of the country or `all`.messagingServiceSid
- The SID of the Messaging Service used for this
configuration.public static MessagingConfigurationUpdater updater(String pathServiceSid, String pathCountry, String messagingServiceSid)
pathServiceSid
- The SID of the Service that the resource is associated
withpathCountry
- The ISO-3166-1 country code of the country or `all`.messagingServiceSid
- The SID of the Messaging Service used for this
configuration.public static MessagingConfigurationFetcher fetcher(String pathServiceSid, String pathCountry)
pathServiceSid
- The SID of the Service that the resource is associated
withpathCountry
- The ISO-3166-1 country code of the country or `all`.public static MessagingConfigurationReader reader(String pathServiceSid)
pathServiceSid
- The SID of the Service that the resource is associated
withpublic static MessagingConfigurationDeleter deleter(String pathServiceSid, String pathCountry)
pathServiceSid
- The SID of the Service that the resource is associated
withpathCountry
- The ISO-3166-1 country code of the country or `all`.public static MessagingConfiguration fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static MessagingConfiguration fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final String getServiceSid()
public final String getCountry()
public final String getMessagingServiceSid()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.