Class: Google::Apis::WalletobjectsV1::TransitClassAddMessageResponse
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::TransitClassAddMessageResponse
- 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::TransitClass
The updated TransitClass resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TransitClassAddMessageResponse
constructor
A new instance of TransitClassAddMessageResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TransitClassAddMessageResponse
Returns a new instance of TransitClassAddMessageResponse.
7986 7987 7988 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7986 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource ⇒ Google::Apis::WalletobjectsV1::TransitClass
The updated TransitClass resource.
Corresponds to the JSON property resource
7984 7985 7986 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7984 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7991 7992 7993 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7991 def update!(**args) @resource = args[:resource] if args.key?(:resource) end |