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 Details

    • KnowledgeBaseIndexedSharePointActivityArguments

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

    • getSearch

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

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