Class SpansAggregateResponseMetadata

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

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

  • Constructor Details

    • SpansAggregateResponseMetadata

      public SpansAggregateResponseMetadata()
  • Method Details

    • elapsed

      public SpansAggregateResponseMetadata elapsed(Long elapsed)
    • getElapsed

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

      public void setElapsed(Long elapsed)
    • requestId

      public SpansAggregateResponseMetadata requestId(String requestId)
    • getRequestId

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

      public void setRequestId(String requestId)
    • status

    • getStatus

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

      public void setStatus(SpansAggregateResponseStatus status)
    • warnings

      public SpansAggregateResponseMetadata warnings(List<SpansWarning> warnings)
    • addWarningsItem

      public SpansAggregateResponseMetadata addWarningsItem(SpansWarning warningsItem)
    • getWarnings

      @Nullable public List<SpansWarning> getWarnings()
      A list of warnings (non fatal errors) encountered, partial results might be returned if warnings are present in the response.
      Returns:
      warnings
    • setWarnings

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

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