Class OwnershipHistoryPagination

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class OwnershipHistoryPagination extends Object
Cursor-based pagination metadata for the history response.
  • Field Details

  • Constructor Details

    • OwnershipHistoryPagination

      public OwnershipHistoryPagination()
    • OwnershipHistoryPagination

      public OwnershipHistoryPagination(Boolean hasMore)
  • Method Details

    • hasMore

      public OwnershipHistoryPagination hasMore(Boolean hasMore)
    • getHasMore

      public Boolean getHasMore()
      Whether more history entries are available beyond this page.
      Returns:
      hasMore
    • setHasMore

      public void setHasMore(Boolean hasMore)
    • nextCursor

      public OwnershipHistoryPagination nextCursor(String nextCursor)
    • getNextCursor

      @Nullable public String getNextCursor()
      An opaque, base64-encoded cursor token. Pass it as the cursor query parameter to retrieve the next page. Absent or null when there are no further pages.
      Returns:
      nextCursor
    • getNextCursor_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getNextCursor_JsonNullable()
    • setNextCursor_JsonNullable

      public void setNextCursor_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> nextCursor)
    • setNextCursor

      public void setNextCursor(String nextCursor)
    • putAdditionalProperty

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