Class: Google::Apis::WalletobjectsV1::SecurityAnimation
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::SecurityAnimation
- 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
Instance Attribute Summary collapse
-
#animation_type ⇒ String
Type of animation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecurityAnimation
constructor
A new instance of SecurityAnimation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecurityAnimation
Returns a new instance of SecurityAnimation.
7321 7322 7323 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7321 def initialize(**args) update!(**args) end |
Instance Attribute Details
#animation_type ⇒ String
Type of animation.
Corresponds to the JSON property animationType
7319 7320 7321 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7319 def animation_type @animation_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7326 7327 7328 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7326 def update!(**args) @animation_type = args[:animation_type] if args.key?(:animation_type) end |