Share via


ApiInnerError Class

Definition

The ApiInnerError.

public class ApiInnerError : Azure.AI.AgentServer.Contracts.Generated.Common.IUtf8JsonSerializable, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.Common.ApiInnerError>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.Common.ApiInnerError>
type ApiInnerError = class
    interface IUtf8JsonSerializable
    interface IJsonModel<ApiInnerError>
    interface IPersistableModel<ApiInnerError>
Public Class ApiInnerError
Implements IJsonModel(Of ApiInnerError), IPersistableModel(Of ApiInnerError), IUtf8JsonSerializable
Inheritance
ApiInnerError
Implements

Constructors

Name Description
ApiInnerError()

Initializes a new instance of ApiInnerError for deserialization.

ApiInnerError(String, ApiInnerError, IDictionary<String,BinaryData>)

Initializes a new instance of ApiInnerError.

ApiInnerError(String)

Initializes a new instance of ApiInnerError.

Properties

Name Description
Code

The error code.

Innererror

The inner error, if any.

Methods

Name Description
DeserializeApiInnerError(JsonElement, ModelReaderWriterOptions)
FromResponse(Response)

Deserializes the model from a raw response.

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
ToRequestContent()

Convert into a RequestContent.

Explicit Interface Implementations

Name Description
IJsonModel<ApiInnerError>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ApiInnerError>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ApiInnerError>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ApiInnerError>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ApiInnerError>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to