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.



2301
2302
2303
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2301

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



2294
2295
2296
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2294

def field_option
  @field_option
end

#transit_optionString

Corresponds to the JSON property transitOption

Returns:

  • (String)


2299
2300
2301
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2299

def transit_option
  @transit_option
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2306
2307
2308
2309
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2306

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