Class Queue

    • Method Detail

      • fromJson

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

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

        public final Integer getCurrentSize()
      • getFriendlyName

        public final String getFriendlyName()
      • getUri

        public final String getUri()
      • getAccountSid

        public final String getAccountSid()
      • getAverageWaitTime

        public final Integer getAverageWaitTime()
      • getSid

        public final String getSid()
      • getMaxSize

        public final Integer getMaxSize()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object