Partager via


CalculateExchangeResponseProperties Class

Definition

CalculateExchange response properties

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

Constructors

CalculateExchangeResponseProperties()

Creates an new CalculateExchangeResponseProperties 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 CalculateExchangeResponseProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CalculateExchangeResponseProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CalculateExchangeResponseProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to