Class: Aws::FreeTier::Types::ActivityReward

Inherits:
Struct
  • Object
show all
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.

Direct Known Subclasses

Credit, Unknown

Defined Under Namespace

Classes: Credit, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#creditTypes::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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



37
38
39
# File 'gems/aws-sdk-freetier/lib/aws-sdk-freetier/types.rb', line 37

def unknown
  @unknown
end