Class: Google::Apis::WalletobjectsV1::JwtInsertResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#resourcesGoogle::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_uriString

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

Returns:

  • (String)


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