Class KnowledgeBaseIndexedSharePointActivityArguments
java.lang.Object
com.azure.search.documents.knowledgebases.models.KnowledgeBaseIndexedSharePointActivityArguments
- All Implemented Interfaces:
com.azure.json.JsonSerializable<KnowledgeBaseIndexedSharePointActivityArguments>
public final class KnowledgeBaseIndexedSharePointActivityArguments
extends Object
implements com.azure.json.JsonSerializable<KnowledgeBaseIndexedSharePointActivityArguments>
Represents the arguments the indexed SharePoint retrieval activity was run with.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of KnowledgeBaseIndexedSharePointActivityArguments class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of KnowledgeBaseIndexedSharePointActivityArguments from the JsonReader.Get the search property: The search string used to query indexed SharePoint contents.Set the search property: The search string used to query indexed SharePoint contents.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class 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
-
KnowledgeBaseIndexedSharePointActivityArguments
public KnowledgeBaseIndexedSharePointActivityArguments()Creates an instance of KnowledgeBaseIndexedSharePointActivityArguments class.
-
-
Method Details
-
getSearch
Get the search property: The search string used to query indexed SharePoint contents.- Returns:
- the search value.
-
setSearch
Set the search property: The search string used to query indexed SharePoint contents.- Parameters:
search- the search value to set.- Returns:
- the KnowledgeBaseIndexedSharePointActivityArguments object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<KnowledgeBaseIndexedSharePointActivityArguments>- Throws:
IOException
-
fromJson
public static KnowledgeBaseIndexedSharePointActivityArguments fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of KnowledgeBaseIndexedSharePointActivityArguments from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of KnowledgeBaseIndexedSharePointActivityArguments 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 KnowledgeBaseIndexedSharePointActivityArguments.
-