Class LogsResponseMetadata

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

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

  • Constructor Details

    • LogsResponseMetadata

      public LogsResponseMetadata()
  • Method Details

    • elapsed

      public LogsResponseMetadata 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 LogsResponseMetadataPage getPage()
      Paging attributes.
      Returns:
      page
    • setPage

      public void setPage(LogsResponseMetadataPage page)
    • requestId

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

      public void setStatus(LogsAggregateResponseStatus status)
    • warnings

      public LogsResponseMetadata warnings(List<LogsWarning> warnings)
    • addWarningsItem

      public LogsResponseMetadata addWarningsItem(LogsWarning warningsItem)
    • getWarnings

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

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