Share via


CalculateExchangeResultProperties Class

Definition

CalculateExchange response properties.

public class CalculateExchangeResultProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Reservations.Models.CalculateExchangeResultProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Reservations.Models.CalculateExchangeResultProperties>
public class CalculateExchangeResultProperties
type CalculateExchangeResultProperties = class
    interface IJsonModel<CalculateExchangeResultProperties>
    interface IPersistableModel<CalculateExchangeResultProperties>
type CalculateExchangeResultProperties = class
Public Class CalculateExchangeResultProperties
Implements IJsonModel(Of CalculateExchangeResultProperties), IPersistableModel(Of CalculateExchangeResultProperties)
Public Class CalculateExchangeResultProperties
Inheritance
CalculateExchangeResultProperties
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<CalculateExchangeResultProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CalculateExchangeResultProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CalculateExchangeResultProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CalculateExchangeResultProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CalculateExchangeResultProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to