Class RUMResponseMetadata

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RUMResponseMetadata extends Object
The metadata associated with a request.
  • Field Details

  • Constructor Details

    • RUMResponseMetadata

      public RUMResponseMetadata()
  • Method Details

    • elapsed

      public RUMResponseMetadata elapsed(Long elapsed)
    • getElapsed

      @Nullable public Long getElapsed()
      The time elapsed in milliseconds.
      Returns:
      elapsed
    • setElapsed

      public void setElapsed(Long elapsed)
    • page

    • getPage

      @Nullable public RUMResponsePage getPage()
      Paging attributes.
      Returns:
      page
    • setPage

      public void setPage(RUMResponsePage page)
    • requestId

      public RUMResponseMetadata requestId(String requestId)
    • getRequestId

      @Nullable public String getRequestId()
      The identifier of the request.
      Returns:
      requestId
    • setRequestId

      public void setRequestId(String requestId)
    • status

      public RUMResponseMetadata status(RUMResponseStatus status)
    • getStatus

      @Nullable public RUMResponseStatus getStatus()
      The status of the response.
      Returns:
      status
    • setStatus

      public void setStatus(RUMResponseStatus status)
    • warnings

      public RUMResponseMetadata warnings(List<RUMWarning> warnings)
    • addWarningsItem

      public RUMResponseMetadata addWarningsItem(RUMWarning warningsItem)
    • getWarnings

      @Nullable public List<RUMWarning> getWarnings()
      A list of warnings (non-fatal errors) encountered. Partial results may return if warnings are present in the response.
      Returns:
      warnings
    • setWarnings

      public void setWarnings(List<RUMWarning> warnings)
    • putAdditionalProperty

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