Class: Google::Apis::WalletobjectsV1::FirstRowOption

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) ⇒ FirstRowOption

Returns a new instance of FirstRowOption.



2337
2338
2339
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2337

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

Instance Attribute Details

#field_optionGoogle::Apis::WalletobjectsV1::FieldSelector

Custom field selector to use with field overrides. Corresponds to the JSON property fieldOption



2330
2331
2332
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2330

def field_option
  @field_option
end

#transit_optionString

Corresponds to the JSON property transitOption

Returns:

  • (String)


2335
2336
2337
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2335

def transit_option
  @transit_option
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2342
2343
2344
2345
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2342

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