Class Channel

    • Method Detail

      • fromJson

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

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

        public final String getSid()
      • getAccountSid

        public final String getAccountSid()
      • getServiceSid

        public final String getServiceSid()
      • getFriendlyName

        public final String getFriendlyName()
      • getUniqueName

        public final String getUniqueName()
      • getAttributes

        public final String getAttributes()
      • getCreatedBy

        public final String getCreatedBy()
      • getMembersCount

        public final Integer getMembersCount()
      • getMessagesCount

        public final Integer getMessagesCount()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object