Class LogsListRequest

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsListRequest extends Object
The request for a logs list.
  • Field Details

  • Constructor Details

    • LogsListRequest

      public LogsListRequest()
  • Method Details

    • filter

      public LogsListRequest filter(LogsQueryFilter filter)
    • getFilter

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

      public void setFilter(LogsQueryFilter filter)
    • options

      public LogsListRequest options(LogsQueryOptions options)
    • getOptions

      @Deprecated @Nullable public LogsQueryOptions getOptions()
      Deprecated.
      Global query options that are used during the query. Note: These fields are currently deprecated and do not affect the query results.
      Returns:
      options
    • setOptions

      @Deprecated public void setOptions(LogsQueryOptions options)
      Deprecated.
    • page

    • getPage

      @Nullable public LogsListRequestPage getPage()
      Paging attributes for listing logs.
      Returns:
      page
    • setPage

      public void setPage(LogsListRequestPage page)
    • sort

      public LogsListRequest sort(LogsSort sort)
    • getSort

      @Nullable public LogsSort getSort()
      Sort parameters when querying logs.
      Returns:
      sort
    • setSort

      public void setSort(LogsSort sort)
    • putAdditionalProperty

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