Class: Google::Apis::WalletobjectsV1::Resources
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::Resources
- 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
-
#event_ticket_classes ⇒ Array<Google::Apis::WalletobjectsV1::EventTicketClass>
A list of event ticket classes.
-
#event_ticket_objects ⇒ Array<Google::Apis::WalletobjectsV1::EventTicketObject>
A list of event ticket objects.
-
#flight_classes ⇒ Array<Google::Apis::WalletobjectsV1::FlightClass>
A list of flight classes.
-
#flight_objects ⇒ Array<Google::Apis::WalletobjectsV1::FlightObject>
A list of flight objects.
-
#generic_classes ⇒ Array<Google::Apis::WalletobjectsV1::GenericClass>
A list of generic classes.
-
#generic_objects ⇒ Array<Google::Apis::WalletobjectsV1::GenericObject>
A list of generic objects.
-
#gift_card_classes ⇒ Array<Google::Apis::WalletobjectsV1::GiftCardClass>
A list of gift card classes.
-
#gift_card_objects ⇒ Array<Google::Apis::WalletobjectsV1::GiftCardObject>
A list of gift card objects.
-
#loyalty_classes ⇒ Array<Google::Apis::WalletobjectsV1::LoyaltyClass>
A list of loyalty classes.
-
#loyalty_objects ⇒ Array<Google::Apis::WalletobjectsV1::LoyaltyObject>
A list of loyalty objects.
-
#offer_classes ⇒ Array<Google::Apis::WalletobjectsV1::OfferClass>
A list of offer classes.
-
#offer_objects ⇒ Array<Google::Apis::WalletobjectsV1::OfferObject>
A list of offer objects.
-
#transit_classes ⇒ Array<Google::Apis::WalletobjectsV1::TransitClass>
A list of transit classes.
-
#transit_objects ⇒ Array<Google::Apis::WalletobjectsV1::TransitObject>
A list of transit objects.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Resources
constructor
A new instance of Resources.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Resources
Returns a new instance of Resources.
6856 6857 6858 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6856 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event_ticket_classes ⇒ Array<Google::Apis::WalletobjectsV1::EventTicketClass>
A list of event ticket classes.
Corresponds to the JSON property eventTicketClasses
6789 6790 6791 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6789 def event_ticket_classes @event_ticket_classes end |
#event_ticket_objects ⇒ Array<Google::Apis::WalletobjectsV1::EventTicketObject>
A list of event ticket objects.
Corresponds to the JSON property eventTicketObjects
6794 6795 6796 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6794 def event_ticket_objects @event_ticket_objects end |
#flight_classes ⇒ Array<Google::Apis::WalletobjectsV1::FlightClass>
A list of flight classes.
Corresponds to the JSON property flightClasses
6799 6800 6801 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6799 def flight_classes @flight_classes end |
#flight_objects ⇒ Array<Google::Apis::WalletobjectsV1::FlightObject>
A list of flight objects.
Corresponds to the JSON property flightObjects
6804 6805 6806 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6804 def flight_objects @flight_objects end |
#generic_classes ⇒ Array<Google::Apis::WalletobjectsV1::GenericClass>
A list of generic classes.
Corresponds to the JSON property genericClasses
6809 6810 6811 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6809 def generic_classes @generic_classes end |
#generic_objects ⇒ Array<Google::Apis::WalletobjectsV1::GenericObject>
A list of generic objects.
Corresponds to the JSON property genericObjects
6814 6815 6816 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6814 def generic_objects @generic_objects end |
#gift_card_classes ⇒ Array<Google::Apis::WalletobjectsV1::GiftCardClass>
A list of gift card classes.
Corresponds to the JSON property giftCardClasses
6819 6820 6821 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6819 def gift_card_classes @gift_card_classes end |
#gift_card_objects ⇒ Array<Google::Apis::WalletobjectsV1::GiftCardObject>
A list of gift card objects.
Corresponds to the JSON property giftCardObjects
6824 6825 6826 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6824 def gift_card_objects @gift_card_objects end |
#loyalty_classes ⇒ Array<Google::Apis::WalletobjectsV1::LoyaltyClass>
A list of loyalty classes.
Corresponds to the JSON property loyaltyClasses
6829 6830 6831 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6829 def loyalty_classes @loyalty_classes end |
#loyalty_objects ⇒ Array<Google::Apis::WalletobjectsV1::LoyaltyObject>
A list of loyalty objects.
Corresponds to the JSON property loyaltyObjects
6834 6835 6836 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6834 def loyalty_objects @loyalty_objects end |
#offer_classes ⇒ Array<Google::Apis::WalletobjectsV1::OfferClass>
A list of offer classes.
Corresponds to the JSON property offerClasses
6839 6840 6841 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6839 def offer_classes @offer_classes end |
#offer_objects ⇒ Array<Google::Apis::WalletobjectsV1::OfferObject>
A list of offer objects.
Corresponds to the JSON property offerObjects
6844 6845 6846 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6844 def offer_objects @offer_objects end |
#transit_classes ⇒ Array<Google::Apis::WalletobjectsV1::TransitClass>
A list of transit classes.
Corresponds to the JSON property transitClasses
6849 6850 6851 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6849 def transit_classes @transit_classes end |
#transit_objects ⇒ Array<Google::Apis::WalletobjectsV1::TransitObject>
A list of transit objects.
Corresponds to the JSON property transitObjects
6854 6855 6856 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6854 def transit_objects @transit_objects end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6861 def update!(**args) @event_ticket_classes = args[:event_ticket_classes] if args.key?(:event_ticket_classes) @event_ticket_objects = args[:event_ticket_objects] if args.key?(:event_ticket_objects) @flight_classes = args[:flight_classes] if args.key?(:flight_classes) @flight_objects = args[:flight_objects] if args.key?(:flight_objects) @generic_classes = args[:generic_classes] if args.key?(:generic_classes) @generic_objects = args[:generic_objects] if args.key?(:generic_objects) @gift_card_classes = args[:gift_card_classes] if args.key?(:gift_card_classes) @gift_card_objects = args[:gift_card_objects] if args.key?(:gift_card_objects) @loyalty_classes = args[:loyalty_classes] if args.key?(:loyalty_classes) @loyalty_objects = args[:loyalty_objects] if args.key?(:loyalty_objects) @offer_classes = args[:offer_classes] if args.key?(:offer_classes) @offer_objects = args[:offer_objects] if args.key?(:offer_objects) @transit_classes = args[:transit_classes] if args.key?(:transit_classes) @transit_objects = args[:transit_objects] if args.key?(:transit_objects) end |