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.



2277
2278
2279
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2277

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



2270
2271
2272
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2270

def field_option
  @field_option
end

#transit_optionString

Corresponds to the JSON property transitOption

Returns:

  • (String)


2275
2276
2277
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2275

def transit_option
  @transit_option
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2282
2283
2284
2285
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2282

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