Class: Google::Apis::WalletobjectsV1::BarcodeSectionDetail
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::BarcodeSectionDetail
- 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_selector ⇒ Google::Apis::WalletobjectsV1::FieldSelector
Custom field selector to use with field overrides.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BarcodeSectionDetail
constructor
A new instance of BarcodeSectionDetail.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BarcodeSectionDetail
Returns a new instance of BarcodeSectionDetail.
331 332 333 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 331 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field_selector ⇒ Google::Apis::WalletobjectsV1::FieldSelector
Custom field selector to use with field overrides.
Corresponds to the JSON property fieldSelector
329 330 331 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 329 def field_selector @field_selector end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
336 337 338 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 336 def update!(**args) @field_selector = args[:field_selector] if args.key?(:field_selector) end |