Class GetFiltersRequest

All Implemented Interfaces:
Writeable, org.elasticsearch.core.RefCounted, TaskAwareRequest, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class GetFiltersRequest extends ActionRequest implements org.elasticsearch.xcontent.ToXContentObject
A request to retrieve MlFilters
  • Field Details

  • Constructor Details

    • GetFiltersRequest

      public GetFiltersRequest()
  • Method Details

    • getFilterId

      public String getFilterId()
    • getFrom

      public Integer getFrom()
    • getSize

      public Integer getSize()
    • setFilterId

      public void setFilterId(String filterId)
      Sets the filter id
      Parameters:
      filterId - the filter id
    • setFrom

      public void setFrom(Integer from)
      Sets the number of filters to skip.
      Parameters:
      from - set the `from` parameter
    • setSize

      public void setSize(Integer size)
      Sets the number of filters to return.
      Parameters:
      size - set the `size` parameter
    • validate

      Specified by:
      validate in class ActionRequest
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object