Class: Google::Apis::WalletobjectsV1::JwtValidateRequest
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::JwtValidateRequest
- 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 to validate the JWT or JSON representation of a pass.
Instance Attribute Summary collapse
-
#json_resource ⇒ Google::Apis::WalletobjectsV1::JsonResource
A JSON representation of a pass.
-
#jwt_resource ⇒ Google::Apis::WalletobjectsV1::JwtResource
A JWT representation of a pass.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JwtValidateRequest
constructor
A new instance of JwtValidateRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ JwtValidateRequest
Returns a new instance of JwtValidateRequest.
4793 4794 4795 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4793 def initialize(**args) update!(**args) end |
Instance Attribute Details
#json_resource ⇒ Google::Apis::WalletobjectsV1::JsonResource
A JSON representation of a pass.
Corresponds to the JSON property jsonResource
4786 4787 4788 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4786 def json_resource @json_resource end |
#jwt_resource ⇒ Google::Apis::WalletobjectsV1::JwtResource
A JWT representation of a pass.
Corresponds to the JSON property jwtResource
4791 4792 4793 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4791 def jwt_resource @jwt_resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4798 4799 4800 4801 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4798 def update!(**args) @json_resource = args[:json_resource] if args.key?(:json_resource) @jwt_resource = args[:jwt_resource] if args.key?(:jwt_resource) end |