Class: Google::Apis::WalletobjectsV1::FirstRowOption
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::FirstRowOption
- 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
-
#field_option ⇒ Google::Apis::WalletobjectsV1::FieldSelector
Custom field selector to use with field overrides.
-
#transit_option ⇒ String
Corresponds to the JSON property
transitOption
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FirstRowOption
constructor
A new instance of FirstRowOption.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_option ⇒ Google::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_option ⇒ String
Corresponds to the JSON property transitOption
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 |