Class TaskChannel

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getFriendlyName

        public final String getFriendlyName()
      • getSid

        public final String getSid()
      • getUniqueName

        public final String getUniqueName()
      • getWorkspaceSid

        public final String getWorkspaceSid()
      • getChannelOptimizedRouting

        public final Boolean getChannelOptimizedRouting()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object