Class PowerpacksResponseMetaPagination

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class PowerpacksResponseMetaPagination extends Object
Powerpack response pagination metadata.
  • Field Details

  • Constructor Details

    • PowerpacksResponseMetaPagination

      public PowerpacksResponseMetaPagination()
  • Method Details

    • firstOffset

      public PowerpacksResponseMetaPagination firstOffset(Long firstOffset)
    • getFirstOffset

      @Nullable public Long getFirstOffset()
      The first offset.
      Returns:
      firstOffset
    • setFirstOffset

      public void setFirstOffset(Long firstOffset)
    • lastOffset

      public PowerpacksResponseMetaPagination lastOffset(Long lastOffset)
    • getLastOffset

      @Nullable public Long getLastOffset()
      The last offset.
      Returns:
      lastOffset
    • getLastOffset_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getLastOffset_JsonNullable()
    • setLastOffset_JsonNullable

      public void setLastOffset_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> lastOffset)
    • setLastOffset

      public void setLastOffset(Long lastOffset)
    • limit

      public PowerpacksResponseMetaPagination limit(Long limit)
    • getLimit

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

      public void setLimit(Long limit)
    • nextOffset

      public PowerpacksResponseMetaPagination nextOffset(Long nextOffset)
    • getNextOffset

      @Nullable public Long getNextOffset()
      The next offset.
      Returns:
      nextOffset
    • setNextOffset

      public void setNextOffset(Long nextOffset)
    • offset

      public PowerpacksResponseMetaPagination offset(Long offset)
    • getOffset

      @Nullable public Long getOffset()
      The offset.
      Returns:
      offset
    • setOffset

      public void setOffset(Long offset)
    • prevOffset

      public PowerpacksResponseMetaPagination prevOffset(Long prevOffset)
    • getPrevOffset

      @Nullable public Long getPrevOffset()
      The previous offset.
      Returns:
      prevOffset
    • setPrevOffset

      public void setPrevOffset(Long prevOffset)
    • total

      public PowerpacksResponseMetaPagination total(Long total)
    • getTotal

      @Nullable public Long getTotal()
      Total results.
      Returns:
      total
    • setTotal

      public void setTotal(Long total)
    • type

    • getType

      @Nullable public String getType()
      Offset type.
      Returns:
      type
    • setType

      public void setType(String type)
    • putAdditionalProperty

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