Class: Google::Apis::WalletobjectsV1::FlightClassAddMessageResponse
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::FlightClassAddMessageResponse
- 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::FlightClass
The updated FlightClass resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FlightClassAddMessageResponse
constructor
A new instance of FlightClassAddMessageResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FlightClassAddMessageResponse
Returns a new instance of FlightClassAddMessageResponse.
2843 2844 2845 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2843 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource ⇒ Google::Apis::WalletobjectsV1::FlightClass
The updated FlightClass resource.
Corresponds to the JSON property resource
2841 2842 2843 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2841 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2848 2849 2850 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2848 def update!(**args) @resource = args[:resource] if args.key?(:resource) end |