Class: Google::Apis::WalletobjectsV1::ModifyLinkedOfferObjects
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::ModifyLinkedOfferObjects
- 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
-
#add_linked_offer_object_ids ⇒ Array<String>
The linked offer object ids to add to the object.
-
#remove_linked_offer_object_ids ⇒ Array<String>
The linked offer object ids to remove from the object.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ModifyLinkedOfferObjects
constructor
A new instance of ModifyLinkedOfferObjects.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ModifyLinkedOfferObjects
Returns a new instance of ModifyLinkedOfferObjects.
5996 5997 5998 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 5996 def initialize(**args) update!(**args) end |
Instance Attribute Details
#add_linked_offer_object_ids ⇒ Array<String>
The linked offer object ids to add to the object.
Corresponds to the JSON property addLinkedOfferObjectIds
5989 5990 5991 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 5989 def add_linked_offer_object_ids @add_linked_offer_object_ids end |
#remove_linked_offer_object_ids ⇒ Array<String>
The linked offer object ids to remove from the object.
Corresponds to the JSON property removeLinkedOfferObjectIds
5994 5995 5996 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 5994 def remove_linked_offer_object_ids @remove_linked_offer_object_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6001 6002 6003 6004 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6001 def update!(**args) @add_linked_offer_object_ids = args[:add_linked_offer_object_ids] if args.key?(:add_linked_offer_object_ids) @remove_linked_offer_object_ids = args[:remove_linked_offer_object_ids] if args.key?(:remove_linked_offer_object_ids) end |