Class KnowledgeAgentSearchActivityRecordQuery

java.lang.Object
com.azure.search.documents.agents.models.KnowledgeAgentSearchActivityRecordQuery
All Implemented Interfaces:
com.azure.json.JsonSerializable<KnowledgeAgentSearchActivityRecordQuery>

public final class KnowledgeAgentSearchActivityRecordQuery extends Object implements com.azure.json.JsonSerializable<KnowledgeAgentSearchActivityRecordQuery>
The query details for the retrieval activity.
  • Constructor Details

    • KnowledgeAgentSearchActivityRecordQuery

      public KnowledgeAgentSearchActivityRecordQuery()
      Creates an instance of KnowledgeAgentSearchActivityRecordQuery class.
  • Method Details

    • getSearch

      public String getSearch()
      Get the search property: The search string.
      Returns:
      the search value.
    • setSearch

      Set the search property: The search string.
      Parameters:
      search - the search value to set.
      Returns:
      the KnowledgeAgentSearchActivityRecordQuery object itself.
    • getFilter

      public String getFilter()
      Get the filter property: The filter string.
      Returns:
      the filter value.
    • setFilter

      Set the filter property: The filter string.
      Parameters:
      filter - the filter value to set.
      Returns:
      the KnowledgeAgentSearchActivityRecordQuery object itself.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<KnowledgeAgentSearchActivityRecordQuery>
      Throws:
      IOException
    • fromJson

      public static KnowledgeAgentSearchActivityRecordQuery fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of KnowledgeAgentSearchActivityRecordQuery from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of KnowledgeAgentSearchActivityRecordQuery if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the KnowledgeAgentSearchActivityRecordQuery.