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 Summary
ConstructorsConstructorDescriptionCreates an instance of KnowledgeBaseErrorAdditionalInfo class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of KnowledgeBaseErrorAdditionalInfo from the JsonReader.getInfo()Get the info property: The additional info.getType()Get the type property: The additional info type.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
-
KnowledgeBaseErrorAdditionalInfo
public KnowledgeBaseErrorAdditionalInfo()Creates an instance of KnowledgeBaseErrorAdditionalInfo class.
-
-
Method Details
-
getType
-
getInfo
-
toJson
- Specified by:
toJsonin interfacecom.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.
-