Class CIAppResponseMetadata

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

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

  • Constructor Details

    • CIAppResponseMetadata

      public CIAppResponseMetadata()
  • Method Details

    • elapsed

      public CIAppResponseMetadata elapsed(Long elapsed)
    • getElapsed

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

      public void setElapsed(Long elapsed)
    • requestId

      public CIAppResponseMetadata 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 CIAppResponseStatus getStatus()
      The status of the response.
      Returns:
      status
    • setStatus

      public void setStatus(CIAppResponseStatus status)
    • warnings

      public CIAppResponseMetadata warnings(List<CIAppWarning> warnings)
    • addWarningsItem

      public CIAppResponseMetadata addWarningsItem(CIAppWarning warningsItem)
    • getWarnings

      @Nullable public List<CIAppWarning> 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<CIAppWarning> warnings)
    • putAdditionalProperty

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