Class Message

    • Method Detail

      • fromJson

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

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

        public final String getSid()
      • getAccountSid

        public final String getAccountSid()
      • getAttributes

        public final String getAttributes()
      • getServiceSid

        public final String getServiceSid()
      • getTo

        public final String getTo()
      • getChannelSid

        public final String getChannelSid()
      • getLastUpdatedBy

        public final String getLastUpdatedBy()
      • getWasEdited

        public final Boolean getWasEdited()
      • getFrom

        public final String getFrom()
      • getBody

        public final String getBody()
      • getIndex

        public final Integer getIndex()
      • getType

        public final String getType()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object