Class Bucket

    • Method Detail

      • fromJson

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

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

        public final String getSid()
      • getRateLimitSid

        public final String getRateLimitSid()
      • getServiceSid

        public final String getServiceSid()
      • getAccountSid

        public final String getAccountSid()
      • getMax

        public final Integer getMax()
      • getInterval

        public final Integer getInterval()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object