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 Details

    • KnowledgeBaseRemoteSharePointActivityArguments

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

    • getSearch

      public String 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

      public String 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.