Class PaginatedResponseMeta

java.lang.Object
com.datadog.api.client.v2.model.PaginatedResponseMeta

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class PaginatedResponseMeta extends Object
Metadata for scores response.
  • Field Details

  • Constructor Details

    • PaginatedResponseMeta

      public PaginatedResponseMeta()
    • PaginatedResponseMeta

      public PaginatedResponseMeta(Long count, Long limit, Long offset, Long total)
  • Method Details

    • count

      public PaginatedResponseMeta count(Long count)
    • getCount

      public Long getCount()
      Number of entities in this response.
      Returns:
      count
    • setCount

      public void setCount(Long count)
    • limit

      public PaginatedResponseMeta limit(Long limit)
    • getLimit

      public Long getLimit()
      Pagination limit.
      Returns:
      limit
    • setLimit

      public void setLimit(Long limit)
    • offset

      public PaginatedResponseMeta offset(Long offset)
    • getOffset

      public Long getOffset()
      Pagination offset.
      Returns:
      offset
    • setOffset

      public void setOffset(Long offset)
    • total

      public PaginatedResponseMeta total(Long total)
    • getTotal

      public Long getTotal()
      Total number of entities available.
      Returns:
      total
    • setTotal

      public void setTotal(Long total)
    • putAdditionalProperty

      public PaginatedResponseMeta putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      PaginatedResponseMeta
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this PaginatedResponseMeta object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object