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>
Corresponds to the JSON property
eventTicketClasses. -
#event_ticket_objects ⇒ Array<Google::Apis::WalletobjectsV1::EventTicketObject>
Corresponds to the JSON property
eventTicketObjects. -
#flight_classes ⇒ Array<Google::Apis::WalletobjectsV1::FlightClass>
Corresponds to the JSON property
flightClasses. -
#flight_objects ⇒ Array<Google::Apis::WalletobjectsV1::FlightObject>
Corresponds to the JSON property
flightObjects. -
#gift_card_classes ⇒ Array<Google::Apis::WalletobjectsV1::GiftCardClass>
Corresponds to the JSON property
giftCardClasses. -
#gift_card_objects ⇒ Array<Google::Apis::WalletobjectsV1::GiftCardObject>
Corresponds to the JSON property
giftCardObjects. -
#loyalty_classes ⇒ Array<Google::Apis::WalletobjectsV1::LoyaltyClass>
Corresponds to the JSON property
loyaltyClasses. -
#loyalty_objects ⇒ Array<Google::Apis::WalletobjectsV1::LoyaltyObject>
Corresponds to the JSON property
loyaltyObjects. -
#offer_classes ⇒ Array<Google::Apis::WalletobjectsV1::OfferClass>
Corresponds to the JSON property
offerClasses. -
#offer_objects ⇒ Array<Google::Apis::WalletobjectsV1::OfferObject>
Corresponds to the JSON property
offerObjects. -
#transit_classes ⇒ Array<Google::Apis::WalletobjectsV1::TransitClass>
Corresponds to the JSON property
transitClasses. -
#transit_objects ⇒ Array<Google::Apis::WalletobjectsV1::TransitObject>
Corresponds to the JSON property
transitObjects.
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.
6645 6646 6647 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6645 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event_ticket_classes ⇒ Array<Google::Apis::WalletobjectsV1::EventTicketClass>
Corresponds to the JSON property eventTicketClasses
6588 6589 6590 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6588 def event_ticket_classes @event_ticket_classes end |
#event_ticket_objects ⇒ Array<Google::Apis::WalletobjectsV1::EventTicketObject>
Corresponds to the JSON property eventTicketObjects
6593 6594 6595 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6593 def event_ticket_objects @event_ticket_objects end |
#flight_classes ⇒ Array<Google::Apis::WalletobjectsV1::FlightClass>
Corresponds to the JSON property flightClasses
6598 6599 6600 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6598 def flight_classes @flight_classes end |
#flight_objects ⇒ Array<Google::Apis::WalletobjectsV1::FlightObject>
Corresponds to the JSON property flightObjects
6603 6604 6605 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6603 def flight_objects @flight_objects end |
#gift_card_classes ⇒ Array<Google::Apis::WalletobjectsV1::GiftCardClass>
Corresponds to the JSON property giftCardClasses
6608 6609 6610 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6608 def gift_card_classes @gift_card_classes end |
#gift_card_objects ⇒ Array<Google::Apis::WalletobjectsV1::GiftCardObject>
Corresponds to the JSON property giftCardObjects
6613 6614 6615 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6613 def gift_card_objects @gift_card_objects end |
#loyalty_classes ⇒ Array<Google::Apis::WalletobjectsV1::LoyaltyClass>
Corresponds to the JSON property loyaltyClasses
6618 6619 6620 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6618 def loyalty_classes @loyalty_classes end |
#loyalty_objects ⇒ Array<Google::Apis::WalletobjectsV1::LoyaltyObject>
Corresponds to the JSON property loyaltyObjects
6623 6624 6625 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6623 def loyalty_objects @loyalty_objects end |
#offer_classes ⇒ Array<Google::Apis::WalletobjectsV1::OfferClass>
Corresponds to the JSON property offerClasses
6628 6629 6630 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6628 def offer_classes @offer_classes end |
#offer_objects ⇒ Array<Google::Apis::WalletobjectsV1::OfferObject>
Corresponds to the JSON property offerObjects
6633 6634 6635 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6633 def offer_objects @offer_objects end |
#transit_classes ⇒ Array<Google::Apis::WalletobjectsV1::TransitClass>
Corresponds to the JSON property transitClasses
6638 6639 6640 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6638 def transit_classes @transit_classes end |
#transit_objects ⇒ Array<Google::Apis::WalletobjectsV1::TransitObject>
Corresponds to the JSON property transitObjects
6643 6644 6645 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6643 def transit_objects @transit_objects end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6650 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) @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 |