Class MetricMetaPage

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MetricMetaPage extends Object
Paging attributes. Only present if pagination query parameters were provided.
  • Field Details

  • Constructor Details

    • MetricMetaPage

      public MetricMetaPage()
  • Method Details

    • cursor

      public MetricMetaPage cursor(String cursor)
    • getCursor

      @Nullable public String getCursor()
      The cursor used to get the current results, if any.
      Returns:
      cursor
    • getCursor_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getCursor_JsonNullable()
    • setCursor_JsonNullable

      public void setCursor_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> cursor)
    • setCursor

      public void setCursor(String cursor)
    • limit

      public MetricMetaPage limit(Integer limit)
    • getLimit

      @Nullable public Integer getLimit()
      Number of results returned minimum: 0 maximum: 20000
      Returns:
      limit
    • setLimit

      public void setLimit(Integer limit)
    • nextCursor

      public MetricMetaPage nextCursor(String nextCursor)
    • getNextCursor

      @Nullable public String getNextCursor()
      The cursor used to get the next results, if any.
      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)
    • type

      public MetricMetaPage type(MetricMetaPageType type)
    • getType

      @Nullable public MetricMetaPageType getType()
      Type of metric pagination.
      Returns:
      type
    • setType

      public void setType(MetricMetaPageType type)
    • putAdditionalProperty

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