Partager via


ExchangeResponseProperties Class

Definition

Exchange response properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.ExchangeResponsePropertiesTypeConverter))]
public class ExchangeResponseProperties : Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.IExchangeResponseProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.ExchangeResponsePropertiesTypeConverter))>]
type ExchangeResponseProperties = class
    interface IExchangeResponseProperties
    interface IJsonSerializable
Public Class ExchangeResponseProperties
Implements IExchangeResponseProperties
Inheritance
ExchangeResponseProperties
Attributes
Implements

Constructors

ExchangeResponseProperties()

Creates an new ExchangeResponseProperties instance.

Properties

NetPayable

Pricing information containing the amount and the currency code

PolicyResultPolicyError

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

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ExchangeResponseProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ExchangeResponseProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.IExchangeResponseProperties.

FromJsonString(String)

Creates a new instance of ExchangeResponseProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ExchangeResponseProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to