Share via


ExchangeResultProperties Class

Definition

Exchange response properties.

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

Properties

NetPayable

Pricing information containing the amount and the currency code.

PolicyErrors

Exchange Policy errors.

PurchasesTotal

Pricing information containing the amount and the currency code.

RefundsTotal

Pricing information containing the amount and the currency code.

ReservationsToExchange

Details of the reservations being returned.

ReservationsToPurchase

Details of the reservations being purchased.

SavingsPlansToPurchase

Details of the savings plans being purchased.

SessionId

Exchange session identifier.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ExchangeResultProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ExchangeResultProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ExchangeResultProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ExchangeResultProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ExchangeResultProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to