Class AlphaSender

  • All Implemented Interfaces:
    Serializable

    public class AlphaSender
    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 AlphaSenderCreator creator​(String pathServiceSid,
                                                 String alphaSender)
        Create a AlphaSenderCreator to execute create.
        Parameters:
        pathServiceSid - The service_sid
        alphaSender - An Alphanumeric Sender ID string, up to 11 characters.
        Returns:
        AlphaSenderCreator capable of executing the create
      • reader

        public static AlphaSenderReader reader​(String pathServiceSid)
        Create a AlphaSenderReader to execute read.
        Parameters:
        pathServiceSid - The service_sid
        Returns:
        AlphaSenderReader capable of executing the read
      • fetcher

        public static AlphaSenderFetcher fetcher​(String pathServiceSid,
                                                 String pathSid)
        Create a AlphaSenderFetcher to execute fetch.
        Parameters:
        pathServiceSid - The service_sid
        pathSid - The sid
        Returns:
        AlphaSenderFetcher capable of executing the fetch
      • deleter

        public static AlphaSenderDeleter deleter​(String pathServiceSid,
                                                 String pathSid)
        Create a AlphaSenderDeleter to execute delete.
        Parameters:
        pathServiceSid - The service_sid
        pathSid - The sid
        Returns:
        AlphaSenderDeleter capable of executing the delete
      • fromJson

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

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

        public final String getSid()
        Returns The The 34 character unique sid of the Alpha Sender ID..
        Returns:
        The 34 character unique sid of the Alpha Sender ID.
      • getAccountSid

        public final String getAccountSid()
        Returns The The 34 character unique sid of the Account..
        Returns:
        The 34 character unique sid of the Account.
      • getServiceSid

        public final String getServiceSid()
        Returns The The 34 character unique sid of the Messaging Service..
        Returns:
        The 34 character unique sid of the Messaging Service.
      • getDateCreated

        public final org.joda.time.DateTime getDateCreated()
        Returns The The date that this resource was created..
        Returns:
        The date that this resource was created.
      • getDateUpdated

        public final org.joda.time.DateTime getDateUpdated()
        Returns The The date that this resource was last updated..
        Returns:
        The date that this resource was last updated.
      • getAlphaSender

        public final String getAlphaSender()
        Returns The An Alphanumeric Sender ID string, up to 11 characters..
        Returns:
        An Alphanumeric Sender ID string, up to 11 characters.
      • getCapabilities

        public final List<Map<String,​Object>> getCapabilities()
        Returns The An array of values that indicate whether the number can receive calls or messages..
        Returns:
        An array of values that indicate whether the number can receive calls or messages.
      • getUrl

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

        public int hashCode()
        Overrides:
        hashCode in class Object