Class: Google::Apis::WalletobjectsV1::ActivationStatus
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::ActivationStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/walletobjects_v1/classes.rb,
lib/google/apis/walletobjects_v1/representations.rb,
lib/google/apis/walletobjects_v1/representations.rb
Overview
The activation status of the object. This field includes activation status if valuable supports activation.
Instance Attribute Summary collapse
-
#state ⇒ String
Corresponds to the JSON property
state
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ActivationStatus
constructor
A new instance of ActivationStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ActivationStatus
Returns a new instance of ActivationStatus.
64 65 66 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 64 def initialize(**args) update!(**args) end |
Instance Attribute Details
#state ⇒ String
Corresponds to the JSON property state
62 63 64 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 62 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
69 70 71 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 69 def update!(**args) @state = args[:state] if args.key?(:state) end |