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.
8213 8214 8215 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8213 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
8199 8200 8201 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8199 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
8205 8206 8207 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8205 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
8211 8212 8213 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8211 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8218 8219 8220 8221 8222 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8218 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 |