Class: Google::Apis::WalletobjectsV1::AddMessageRequest
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::AddMessageRequest
- 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
Overview
Resource used when the AddMessage endpoints are called.
Instance Attribute Summary collapse
-
#message ⇒ Google::Apis::WalletobjectsV1::Message
A message that will be displayed with a Valuable Corresponds to the JSON property
message
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddMessageRequest
constructor
A new instance of AddMessageRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AddMessageRequest
Returns a new instance of AddMessageRequest.
83 84 85 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 83 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ Google::Apis::WalletobjectsV1::Message
A message that will be displayed with a Valuable
Corresponds to the JSON property message
81 82 83 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 81 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
88 89 90 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 88 def update!(**args) @message = args[:message] if args.key?(:message) end |