Class WorkerChannel

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getAssignedTasks

        public final Integer getAssignedTasks()
      • getAvailable

        public final Boolean getAvailable()
      • getAvailableCapacityPercentage

        public final Integer getAvailableCapacityPercentage()
      • getConfiguredCapacity

        public final Integer getConfiguredCapacity()
      • getSid

        public final String getSid()
      • getTaskChannelSid

        public final String getTaskChannelSid()
      • getTaskChannelUniqueName

        public final String getTaskChannelUniqueName()
      • getWorkerSid

        public final String getWorkerSid()
      • getWorkspaceSid

        public final String getWorkspaceSid()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object