Class EventsListRequest

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class EventsListRequest extends Object
The object sent with the request to retrieve a list of events from your organization.
  • Field Details

  • Constructor Details

    • EventsListRequest

      public EventsListRequest()
  • Method Details

    • filter

      public EventsListRequest filter(EventsQueryFilter filter)
    • getFilter

      @Nullable public EventsQueryFilter getFilter()
      The search and filter query settings.
      Returns:
      filter
    • setFilter

      public void setFilter(EventsQueryFilter filter)
    • options

      public EventsListRequest options(EventsQueryOptions options)
    • getOptions

      @Nullable public EventsQueryOptions getOptions()
      The global query options that are used. Either provide a timezone or a time offset but not both, otherwise the query fails.
      Returns:
      options
    • setOptions

      public void setOptions(EventsQueryOptions options)
    • page

    • getPage

      @Nullable public EventsRequestPage getPage()
      Pagination settings.
      Returns:
      page
    • setPage

      public void setPage(EventsRequestPage page)
    • sort

      public EventsListRequest sort(EventsSort sort)
    • getSort

      @Nullable public EventsSort getSort()
      The sort parameters when querying events.
      Returns:
      sort
    • setSort

      public void setSort(EventsSort sort)
    • putAdditionalProperty

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