Class EventsResponseMetadata

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

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

  • Constructor Details

    • EventsResponseMetadata

      public EventsResponseMetadata()
  • Method Details

    • elapsed

      public EventsResponseMetadata 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 EventsResponseMetadataPage getPage()
      Pagination attributes.
      Returns:
      page
    • setPage

      public void setPage(EventsResponseMetadataPage page)
    • requestId

      public EventsResponseMetadata requestId(String requestId)
    • getRequestId

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

      public void setRequestId(String requestId)
    • status

      public EventsResponseMetadata status(String status)
    • getStatus

      @Nullable public String getStatus()
      The request status.
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • warnings

      public EventsResponseMetadata warnings(List<EventsWarning> warnings)
    • addWarningsItem

      public EventsResponseMetadata addWarningsItem(EventsWarning warningsItem)
    • getWarnings

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

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