Class Links

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Links extends Object
The JSON:API links related to pagination.
  • Field Details

  • Constructor Details

  • Method Details

    • first

      public Links first(String first)
    • getFirst

      public String getFirst()
      First page link.
      Returns:
      first
    • setFirst

      public void setFirst(String first)
    • last

      public Links last(String last)
    • getLast

      public String getLast()
      Last page link.
      Returns:
      last
    • setLast

      public void setLast(String last)
    • next

      public Links next(String next)
    • getNext

      @Nullable public String getNext()
      Next page link.
      Returns:
      next
    • setNext

      public void setNext(String next)
    • previous

      public Links previous(String previous)
    • getPrevious

      @Nullable public String getPrevious()
      Previous page link.
      Returns:
      previous
    • setPrevious

      public void setPrevious(String previous)
    • self

      public Links self(String self)
    • getSelf

      public String getSelf()
      Request link.
      Returns:
      self
    • setSelf

      public void setSelf(String self)
    • putAdditionalProperty

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