Share via


ResponseContract Class

Definition

Operation response details.

public class ResponseContract : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ApiManagement.Models.ResponseContract>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ApiManagement.Models.ResponseContract>
type ResponseContract = class
    interface IJsonModel<ResponseContract>
    interface IPersistableModel<ResponseContract>
Public Class ResponseContract
Implements IJsonModel(Of ResponseContract), IPersistableModel(Of ResponseContract)
Inheritance
ResponseContract
Implements

Constructors

ResponseContract(Int32)

Initializes a new instance of ResponseContract.

Properties

Description

Operation response description.

Headers

Collection of operation response headers.

Representations

Collection of operation response representations.

StatusCode

Operation response HTTP status code.

Explicit Interface Implementations

IJsonModel<ResponseContract>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ResponseContract>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ResponseContract>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ResponseContract>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ResponseContract>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to