Share via


KnowledgeBaseErrorAdditionalInfo Class

  • java.lang.Object
    • com.azure.search.documents.knowledgebases.models.KnowledgeBaseErrorAdditionalInfo

Implements

public final class KnowledgeBaseErrorAdditionalInfo
implements JsonSerializable<KnowledgeBaseErrorAdditionalInfo>

The resource management error additional info.

Constructor Summary

Constructor Description
KnowledgeBaseErrorAdditionalInfo()

Creates an instance of KnowledgeBaseErrorAdditionalInfo class.

Method Summary

Modifier and Type Method and Description
static KnowledgeBaseErrorAdditionalInfo fromJson(JsonReader jsonReader)

Reads an instance of KnowledgeBaseErrorAdditionalInfo from the JsonReader.

Object getInfo()

Get the info property: The additional info.

String getType()

Get the type property: The additional info type.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

KnowledgeBaseErrorAdditionalInfo

public KnowledgeBaseErrorAdditionalInfo()

Creates an instance of KnowledgeBaseErrorAdditionalInfo class.

Method Details

fromJson

public static KnowledgeBaseErrorAdditionalInfo fromJson(JsonReader jsonReader)

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.

getInfo

public Object getInfo()

Get the info property: The additional info.

Returns:

the info value.

getType

public String getType()

Get the type property: The additional info type.

Returns:

the type value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to