Share via


ExchangeContent Class

Definition

Exchange request.

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

Constructors

ExchangeContent()

Initializes a new instance of ExchangeContent.

Properties

ExchangeRequestSessionId

SessionId that was returned by CalculateExchange API.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ExchangeContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ExchangeContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ExchangeContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ExchangeContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ExchangeContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to