Class: Google::Apis::WalletobjectsV1::UploadPrivateDataRequest
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::UploadPrivateDataRequest
- 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
Request for sending user private Text or URI by the Issuer.
Instance Attribute Summary collapse
-
#issuer_id ⇒ Fixnum
The ID of the issuer sending the data.
-
#text ⇒ Google::Apis::WalletobjectsV1::PrivateText
Private data for TextModule.
-
#uri ⇒ Google::Apis::WalletobjectsV1::PrivateUri
Private data for LinkModule.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UploadPrivateDataRequest
constructor
A new instance of UploadPrivateDataRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UploadPrivateDataRequest
Returns a new instance of UploadPrivateDataRequest.
8241 8242 8243 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8241 def initialize(**args) update!(**args) end |
Instance Attribute Details
#issuer_id ⇒ Fixnum
The ID of the issuer sending the data.
Corresponds to the JSON property issuerId
8227 8228 8229 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8227 def issuer_id @issuer_id end |
#text ⇒ Google::Apis::WalletobjectsV1::PrivateText
Private data for TextModule. This data will be rendered as a TextModule for a
pass.
Corresponds to the JSON property text
8233 8234 8235 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8233 def text @text end |
#uri ⇒ Google::Apis::WalletobjectsV1::PrivateUri
Private data for LinkModule. This data will be rendered as the LinkModule for
a pass.
Corresponds to the JSON property uri
8239 8240 8241 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8239 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8246 8247 8248 8249 8250 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8246 def update!(**args) @issuer_id = args[:issuer_id] if args.key?(:issuer_id) @text = args[:text] if args.key?(:text) @uri = args[:uri] if args.key?(:uri) end |