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.
2777 2778 2779 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2777 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource ⇒ Google::Apis::WalletobjectsV1::FlightClass
The updated FlightClass resource.
Corresponds to the JSON property resource
2775 2776 2777 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2775 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2782 2783 2784 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2782 def update!(**args) @resource = args[:resource] if args.key?(:resource) end |