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.
4602 4603 4604 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4602 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
4594 4595 4596 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4594 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
4600 4601 4602 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4600 def save_uri @save_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4607 4608 4609 4610 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4607 def update!(**args) @resources = args[:resources] if args.key?(:resources) @save_uri = args[:save_uri] if args.key?(:save_uri) end |