Class: Google::Apis::WalletobjectsV1::ListTemplateOverride
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::ListTemplateOverride
- 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
-
#first_row_option ⇒ Google::Apis::WalletobjectsV1::FirstRowOption
Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row.
-
#second_row_option ⇒ Google::Apis::WalletobjectsV1::FieldSelector
Custom field selector to use with field overrides.
-
#third_row_option ⇒ Google::Apis::WalletobjectsV1::FieldSelector
Custom field selector to use with field overrides.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListTemplateOverride
constructor
A new instance of ListTemplateOverride.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListTemplateOverride
Returns a new instance of ListTemplateOverride.
4769 4770 4771 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4769 def initialize(**args) update!(**args) end |
Instance Attribute Details
#first_row_option ⇒ Google::Apis::WalletobjectsV1::FirstRowOption
Specifies from a predefined set of options or from a reference to the field
what will be displayed in the first row. To set this override, set the
FirstRowOption.fieldOption to the FieldSelector of your choice.
Corresponds to the JSON property firstRowOption
4757 4758 4759 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4757 def first_row_option @first_row_option end |
#second_row_option ⇒ Google::Apis::WalletobjectsV1::FieldSelector
Custom field selector to use with field overrides.
Corresponds to the JSON property secondRowOption
4762 4763 4764 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4762 def second_row_option @second_row_option end |
#third_row_option ⇒ Google::Apis::WalletobjectsV1::FieldSelector
Custom field selector to use with field overrides.
Corresponds to the JSON property thirdRowOption
4767 4768 4769 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4767 def third_row_option @third_row_option end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4774 4775 4776 4777 4778 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4774 def update!(**args) @first_row_option = args[:first_row_option] if args.key?(:first_row_option) @second_row_option = args[:second_row_option] if args.key?(:second_row_option) @third_row_option = args[:third_row_option] if args.key?(:third_row_option) end |