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