Class: Aws::FreeTier::Types::ActivityReward
- Inherits:
-
Struct
- Object
- Struct
- Aws::FreeTier::Types::ActivityReward
- Defined in:
- gems/aws-sdk-freetier/lib/aws-sdk-freetier/types.rb
Overview
Note:
ActivityReward is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ActivityReward corresponding to the set member.
The summary of the rewards granted as a result of activities completed.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#credit ⇒ Types::MonetaryAmount
The credits gained by activity rewards.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#credit ⇒ Types::MonetaryAmount
The credits gained by activity rewards.
37 38 39 40 41 42 43 44 45 46 |
# File 'gems/aws-sdk-freetier/lib/aws-sdk-freetier/types.rb', line 37 class ActivityReward < Struct.new( :credit, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Credit < ActivityReward; end class Unknown < ActivityReward; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
37 38 39 |
# File 'gems/aws-sdk-freetier/lib/aws-sdk-freetier/types.rb', line 37 def unknown @unknown end |