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 Summary
ConstructorsConstructorDescriptionCreates an instance of KnowledgeAgentSearchActivityRecordQuery class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of KnowledgeAgentSearchActivityRecordQuery from the JsonReader.Get the filter property: The filter string.Get the search property: The search string.Set the filter property: The filter string.Set the search property: The search string.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
KnowledgeAgentSearchActivityRecordQuery
public KnowledgeAgentSearchActivityRecordQuery()Creates an instance of KnowledgeAgentSearchActivityRecordQuery class.
-
-
Method Details
-
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
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
- Specified by:
toJsonin interfacecom.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.
-