Class: Aws::AppMonetization::Types::AppQuotaConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMonetization::Types::AppQuotaConfig
- Defined in:
- gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb
Overview
AppQuotaConfig is a union - when making an API calls you must set exactly one of the members.
AppQuotaConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AppQuotaConfig corresponding to the set member.
How one metric is priced on a plan: exactly one of a flat grant or a
tiered-priced grant. Both arms carry the free allowance
(includedQuantity) with the same meaning.
Defined Under Namespace
Classes: Flat, Tiered, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#flat ⇒ Types::AppQuota
A flat grant: free allowance plus an optional overage policy.
-
#tiered ⇒ Types::AppTieredQuota
A tiered-priced grant: free allowance plus a tier-ladder price schedule.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#flat ⇒ Types::AppQuota
A flat grant: free allowance plus an optional overage policy.
288 289 290 291 292 293 294 295 296 297 298 299 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 288 class AppQuotaConfig < Struct.new( :flat, :tiered, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Flat < AppQuotaConfig; end class Tiered < AppQuotaConfig; end class Unknown < AppQuotaConfig; end end |
#tiered ⇒ Types::AppTieredQuota
A tiered-priced grant: free allowance plus a tier-ladder price schedule.
288 289 290 291 292 293 294 295 296 297 298 299 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 288 class AppQuotaConfig < Struct.new( :flat, :tiered, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Flat < AppQuotaConfig; end class Tiered < AppQuotaConfig; end class Unknown < AppQuotaConfig; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
288 289 290 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 288 def unknown @unknown end |