Class KnowledgeBaseErrorAdditionalInfo

java.lang.Object
com.azure.search.documents.knowledgebases.models.KnowledgeBaseErrorAdditionalInfo
All Implemented Interfaces:
com.azure.json.JsonSerializable<KnowledgeBaseErrorAdditionalInfo>

public final class KnowledgeBaseErrorAdditionalInfo extends Object implements com.azure.json.JsonSerializable<KnowledgeBaseErrorAdditionalInfo>
The resource management error additional info.
  • Constructor Details

    • KnowledgeBaseErrorAdditionalInfo

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

    • getType

      public String getType()
      Get the type property: The additional info type.
      Returns:
      the type value.
    • getInfo

      public Object getInfo()
      Get the info property: The additional info.
      Returns:
      the info value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<KnowledgeBaseErrorAdditionalInfo>
      Throws:
      IOException
    • fromJson

      public static KnowledgeBaseErrorAdditionalInfo fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of KnowledgeBaseErrorAdditionalInfo from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of KnowledgeBaseErrorAdditionalInfo 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 KnowledgeBaseErrorAdditionalInfo.