Class MessagingConfiguration

  • All Implemented Interfaces:
    Serializable

    public class MessagingConfiguration
    extends Resource
    PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
    See Also:
    Serialized Form
    • Method Detail

      • creator

        public static MessagingConfigurationCreator creator​(String pathServiceSid,
                                                            String country,
                                                            String messagingServiceSid)
        Create a MessagingConfigurationCreator to execute create.
        Parameters:
        pathServiceSid - The SID of the Service that the resource is associated with
        country - The ISO-3166-1 country code of the country or `all`.
        messagingServiceSid - The SID of the Messaging Service used for this configuration.
        Returns:
        MessagingConfigurationCreator capable of executing the create
      • updater

        public static MessagingConfigurationUpdater updater​(String pathServiceSid,
                                                            String pathCountry,
                                                            String messagingServiceSid)
        Create a MessagingConfigurationUpdater to execute update.
        Parameters:
        pathServiceSid - The SID of the Service that the resource is associated with
        pathCountry - The ISO-3166-1 country code of the country or `all`.
        messagingServiceSid - The SID of the Messaging Service used for this configuration.
        Returns:
        MessagingConfigurationUpdater capable of executing the update
      • fetcher

        public static MessagingConfigurationFetcher fetcher​(String pathServiceSid,
                                                            String pathCountry)
        Create a MessagingConfigurationFetcher to execute fetch.
        Parameters:
        pathServiceSid - The SID of the Service that the resource is associated with
        pathCountry - The ISO-3166-1 country code of the country or `all`.
        Returns:
        MessagingConfigurationFetcher capable of executing the fetch
      • reader

        public static MessagingConfigurationReader reader​(String pathServiceSid)
        Create a MessagingConfigurationReader to execute read.
        Parameters:
        pathServiceSid - The SID of the Service that the resource is associated with
        Returns:
        MessagingConfigurationReader capable of executing the read
      • deleter

        public static MessagingConfigurationDeleter deleter​(String pathServiceSid,
                                                            String pathCountry)
        Create a MessagingConfigurationDeleter to execute delete.
        Parameters:
        pathServiceSid - The SID of the Service that the resource is associated with
        pathCountry - The ISO-3166-1 country code of the country or `all`.
        Returns:
        MessagingConfigurationDeleter capable of executing the delete
      • fromJson

        public static MessagingConfiguration fromJson​(String json,
                                                      com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON String into a MessagingConfiguration object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON String
        objectMapper - Jackson ObjectMapper
        Returns:
        MessagingConfiguration object represented by the provided JSON
      • fromJson

        public static MessagingConfiguration fromJson​(InputStream json,
                                                      com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON InputStream into a MessagingConfiguration object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        MessagingConfiguration object represented by the provided JSON
      • getAccountSid

        public final String getAccountSid()
        Returns The The SID of the Account that created the resource.
        Returns:
        The SID of the Account that created the resource
      • getServiceSid

        public final String getServiceSid()
        Returns The The SID of the Service that the resource is associated with.
        Returns:
        The SID of the Service that the resource is associated with
      • getCountry

        public final String getCountry()
        Returns The The ISO-3166-1 country code of the country or `all`..
        Returns:
        The ISO-3166-1 country code of the country or `all`.
      • getMessagingServiceSid

        public final String getMessagingServiceSid()
        Returns The The SID of the Messaging Service used for this configuration..
        Returns:
        The SID of the Messaging Service used for this configuration.
      • getDateCreated

        public final org.joda.time.DateTime getDateCreated()
        Returns The The RFC 2822 date and time in GMT when the resource was created.
        Returns:
        The RFC 2822 date and time in GMT when the resource was created
      • getDateUpdated

        public final org.joda.time.DateTime getDateUpdated()
        Returns The The RFC 2822 date and time in GMT when the resource was last updated.
        Returns:
        The RFC 2822 date and time in GMT when the resource was last updated
      • getUrl

        public final URI getUrl()
        Returns The The URL of this resource..
        Returns:
        The URL of this resource.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object