Class: Google::Apis::WalletobjectsV1::EventTicketClassAddMessageResponse
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::EventTicketClassAddMessageResponse
- 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
-
#resource ⇒ Google::Apis::WalletobjectsV1::EventTicketClass
The updated EventTicketClass resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EventTicketClassAddMessageResponse
constructor
A new instance of EventTicketClassAddMessageResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EventTicketClassAddMessageResponse
Returns a new instance of EventTicketClassAddMessageResponse.
1858 1859 1860 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1858 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource ⇒ Google::Apis::WalletobjectsV1::EventTicketClass
The updated EventTicketClass resource.
Corresponds to the JSON property resource
1856 1857 1858 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1856 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1863 1864 1865 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1863 def update!(**args) @resource = args[:resource] if args.key?(:resource) end |