Share via


CalculateExchangeContentProperties Class

Definition

Calculate exchange request properties.

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

Constructors

CalculateExchangeContentProperties()

Initializes a new instance of CalculateExchangeContentProperties.

Properties

ReservationsToExchange

List of reservations that are being returned in this exchange.

ReservationsToPurchase

List of reservations that are being purchased in this exchange.

SavingsPlansToPurchase

List of savings plans that are being purchased in this exchange.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CalculateExchangeContentProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CalculateExchangeContentProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CalculateExchangeContentProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CalculateExchangeContentProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CalculateExchangeContentProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to