Class CsmUnifiedHostsMeta

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CsmUnifiedHostsMeta extends Object
Pagination metadata for a unified hosts list response.
  • Field Details

  • Constructor Details

    • CsmUnifiedHostsMeta

      public CsmUnifiedHostsMeta()
    • CsmUnifiedHostsMeta

      public CsmUnifiedHostsMeta(Long pageIndex, Long pageSize, Long totalFiltered, Long totalPages)
  • Method Details

    • pageIndex

      public CsmUnifiedHostsMeta pageIndex(Long pageIndex)
    • getPageIndex

      public Long getPageIndex()
      The current page index (zero-based).
      Returns:
      pageIndex
    • setPageIndex

      public void setPageIndex(Long pageIndex)
    • pageSize

      public CsmUnifiedHostsMeta pageSize(Long pageSize)
    • getPageSize

      public Long getPageSize()
      The number of hosts returned per page.
      Returns:
      pageSize
    • setPageSize

      public void setPageSize(Long pageSize)
    • totalFiltered

      public CsmUnifiedHostsMeta totalFiltered(Long totalFiltered)
    • getTotalFiltered

      public Long getTotalFiltered()
      The total number of hosts matching the filter criteria.
      Returns:
      totalFiltered
    • setTotalFiltered

      public void setTotalFiltered(Long totalFiltered)
    • totalPages

      public CsmUnifiedHostsMeta totalPages(Long totalPages)
    • getTotalPages

      public Long getTotalPages()
      The total number of pages available.
      Returns:
      totalPages
    • setTotalPages

      public void setTotalPages(Long totalPages)
    • putAdditionalProperty

      public CsmUnifiedHostsMeta 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:
      CsmUnifiedHostsMeta
    • 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 CsmUnifiedHostsMeta 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