Class: Google::Apis::WalletobjectsV1::SecurityAnimation

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecurityAnimation

Returns a new instance of SecurityAnimation.



6915
6916
6917
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6915

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#animation_typeString

Type of animation. Corresponds to the JSON property animationType

Returns:

  • (String)


6913
6914
6915
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6913

def animation_type
  @animation_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6920
6921
6922
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6920

def update!(**args)
  @animation_type = args[:animation_type] if args.key?(:animation_type)
end