Class ReportScheduleListResponsePagination

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ReportScheduleListResponsePagination extends Object
Offset and limit pagination metadata for a report schedule list response.
  • Field Details

  • Constructor Details

    • ReportScheduleListResponsePagination

      public ReportScheduleListResponsePagination()
  • Method Details

    • firstOffset

      public ReportScheduleListResponsePagination firstOffset(Long firstOffset)
    • getFirstOffset

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

      public void setFirstOffset(Long firstOffset)
    • lastOffset

      public ReportScheduleListResponsePagination lastOffset(Long lastOffset)
    • getLastOffset

      @Nullable public Long getLastOffset()
      The last offset when the total count is known, or null if it is unavailable.
      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

    • getLimit

      @Nullable public Long getLimit()
      The maximum number of schedules returned.
      Returns:
      limit
    • setLimit

      public void setLimit(Long limit)
    • nextOffset

      public ReportScheduleListResponsePagination nextOffset(Long nextOffset)
    • getNextOffset

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

      public void setNextOffset(Long nextOffset)
    • offset

    • getOffset

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

      public void setOffset(Long offset)
    • prevOffset

      public ReportScheduleListResponsePagination prevOffset(Long prevOffset)
    • getPrevOffset

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

      public void setPrevOffset(Long prevOffset)
    • total

    • getTotal

      @Nullable public Long getTotal()
      The total number of matching schedules.
      Returns:
      total
    • setTotal

      public void setTotal(Long total)
    • type

    • getType

      @Nullable public ReportScheduleListResponsePaginationType getType()
      The pagination type.
      Returns:
      type
    • setType

      public void setType(ReportScheduleListResponsePaginationType type)
    • putAdditionalProperty

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