Class: Google::Apis::MerchantapiNotificationsV1beta::ListNotificationSubscriptionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiNotificationsV1beta::ListNotificationSubscriptionsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_notifications_v1beta/classes.rb,
lib/google/apis/merchantapi_notifications_v1beta/representations.rb,
lib/google/apis/merchantapi_notifications_v1beta/representations.rb
Overview
Response message for the ListNotificationSubscription method.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_token
to retrieve the next page. -
#notification_subscriptions ⇒ Array<Google::Apis::MerchantapiNotificationsV1beta::NotificationSubscription>
The list of notification subscriptions requested by the merchant.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListNotificationSubscriptionsResponse
constructor
A new instance of ListNotificationSubscriptionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListNotificationSubscriptionsResponse
Returns a new instance of ListNotificationSubscriptionsResponse.
56 57 58 |
# File 'lib/google/apis/merchantapi_notifications_v1beta/classes.rb', line 56 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token, which can be sent as page_token
to retrieve the next page. If this
field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
49 50 51 |
# File 'lib/google/apis/merchantapi_notifications_v1beta/classes.rb', line 49 def next_page_token @next_page_token end |
#notification_subscriptions ⇒ Array<Google::Apis::MerchantapiNotificationsV1beta::NotificationSubscription>
The list of notification subscriptions requested by the merchant.
Corresponds to the JSON property notificationSubscriptions
54 55 56 |
# File 'lib/google/apis/merchantapi_notifications_v1beta/classes.rb', line 54 def notification_subscriptions @notification_subscriptions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
61 62 63 64 |
# File 'lib/google/apis/merchantapi_notifications_v1beta/classes.rb', line 61 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @notification_subscriptions = args[:notification_subscriptions] if args.key?(:notification_subscriptions) end |