Class ConnectionsPagePagination

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

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

  • Constructor Details

    • ConnectionsPagePagination

      public ConnectionsPagePagination()
  • Method Details

    • firstNumber

      public ConnectionsPagePagination firstNumber(Long firstNumber)
    • getFirstNumber

      @Nullable public Long getFirstNumber()
      The first page number.
      Returns:
      firstNumber
    • setFirstNumber

      public void setFirstNumber(Long firstNumber)
    • lastNumber

      public ConnectionsPagePagination lastNumber(Long lastNumber)
    • getLastNumber

      @Nullable public Long getLastNumber()
      The last page number.
      Returns:
      lastNumber
    • setLastNumber

      public void setLastNumber(Long lastNumber)
    • nextNumber

      public ConnectionsPagePagination nextNumber(Long nextNumber)
    • getNextNumber

      @Nullable public Long getNextNumber()
      The next page number.
      Returns:
      nextNumber
    • getNextNumber_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getNextNumber_JsonNullable()
    • setNextNumber_JsonNullable

      public void setNextNumber_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> nextNumber)
    • setNextNumber

      public void setNextNumber(Long nextNumber)
    • number

      public ConnectionsPagePagination number(Long number)
    • getNumber

      @Nullable public Long getNumber()
      The current page number.
      Returns:
      number
    • setNumber

      public void setNumber(Long number)
    • prevNumber

      public ConnectionsPagePagination prevNumber(Long prevNumber)
    • getPrevNumber

      @Nullable public Long getPrevNumber()
      The previous page number.
      Returns:
      prevNumber
    • getPrevNumber_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getPrevNumber_JsonNullable()
    • setPrevNumber_JsonNullable

      public void setPrevNumber_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> prevNumber)
    • setPrevNumber

      public void setPrevNumber(Long prevNumber)
    • size

      public ConnectionsPagePagination size(Long size)
    • getSize

      @Nullable public Long getSize()
      The page size.
      Returns:
      size
    • setSize

      public void setSize(Long size)
    • total

      public ConnectionsPagePagination total(Long total)
    • getTotal

      @Nullable public Long getTotal()
      Total connections matching request.
      Returns:
      total
    • setTotal

      public void setTotal(Long total)
    • type

      public ConnectionsPagePagination type(String type)
    • getType

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

      public void setType(String type)
    • putAdditionalProperty

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