Class: Google::Apis::WalletobjectsV1::JwtInsertResponse
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::JwtInsertResponse
- 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
-
#resources ⇒ Google::Apis::WalletobjectsV1::Resources
Data that corresponds to the ids of the provided classes and objects in the JWT.
-
#save_uri ⇒ String
A URI that, when opened, will allow the end user to save the object(s) identified in the JWT to their Google account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JwtInsertResponse
constructor
A new instance of JwtInsertResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ JwtInsertResponse
Returns a new instance of JwtInsertResponse.
4680 4681 4682 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4680 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resources ⇒ Google::Apis::WalletobjectsV1::Resources
Data that corresponds to the ids of the provided classes and objects in the
JWT. resources will only include the non-empty arrays (i.e. if the JWT only
includes eventTicketObjects, then that is the only field that will be present
in resources).
Corresponds to the JSON property resources
4672 4673 4674 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4672 def resources @resources end |
#save_uri ⇒ String
A URI that, when opened, will allow the end user to save the object(s)
identified in the JWT to their Google account.
Corresponds to the JSON property saveUri
4678 4679 4680 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4678 def save_uri @save_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4685 4686 4687 4688 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4685 def update!(**args) @resources = args[:resources] if args.key?(:resources) @save_uri = args[:save_uri] if args.key?(:save_uri) end |