SavingsPlanOffering class

Information about a Savings Plan offering.

Annotations
  • @JsonSerializable(includeIfNull: false, explicitToJson: true, createFactory: true, createToJson: false)

Constructors

SavingsPlanOffering({CurrencyCode currency, String description, int durationSeconds, String offeringId, String operation, SavingsPlanPaymentOption paymentOption, SavingsPlanType planType, List<SavingsPlanProductType> productTypes, List<SavingsPlanOfferingProperty> properties, String serviceCode, String usageType})
SavingsPlanOffering.fromJson(Map<String, dynamic> json)
factory

Properties

currency CurrencyCode
The currency.
@JsonKey(name: 'currency'), final
description String
The description.
@JsonKey(name: 'description'), final
durationSeconds int
The duration, in seconds.
@JsonKey(name: 'durationSeconds'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
offeringId String
The ID of the offering.
@JsonKey(name: 'offeringId'), final
operation String
The specific AWS operation for the line item in the billing report.
@JsonKey(name: 'operation'), final
paymentOption SavingsPlanPaymentOption
The payment option.
@JsonKey(name: 'paymentOption'), final
planType SavingsPlanType
The plan type.
@JsonKey(name: 'planType'), final
productTypes List<SavingsPlanProductType>
The product type.
@JsonKey(name: 'productTypes'), final
properties List<SavingsPlanOfferingProperty>
The properties.
@JsonKey(name: 'properties'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
serviceCode String
The service.
@JsonKey(name: 'serviceCode'), final
usageType String
The usage details of the line item in the billing report.
@JsonKey(name: 'usageType'), final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited