Class: Peddler::APIs::NotificationsV1::GetSubscriptionsPayload

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/notifications_v1.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#next_tokenString? (readonly)

Returns the value of attribute next_token.

Returns:

  • (String, nil)


348
349
350
# File 'sig/peddler/apis/notifications_v1.rbs', line 348

def next_token
  @next_token
end

#subscriptionsArray[Peddler::APIs::NotificationsV1::Subscription]? (readonly)

Returns the value of attribute subscriptions.



349
350
351
# File 'sig/peddler/apis/notifications_v1.rbs', line 349

def subscriptions
  @subscriptions
end

Class Method Details

.[](next_token:, subscriptions:) ⇒ Peddler::APIs::NotificationsV1::GetSubscriptionsPayload .[](arg0, arg1) ⇒ Peddler::APIs::NotificationsV1::GetSubscriptionsPayload

Overloads:



341
342
# File 'sig/peddler/apis/notifications_v1.rbs', line 341

def self.[]: (?next_token: String?, ?subscriptions: Array[Peddler::APIs::NotificationsV1::Subscription]?) -> Peddler::APIs::NotificationsV1::GetSubscriptionsPayload
| (String?, Array[Peddler::APIs::NotificationsV1::Subscription]?) -> Peddler::APIs::NotificationsV1::GetSubscriptionsPayload

.members[ :next_token, :subscriptions ]

Returns:

  • ([ :next_token, :subscriptions ])


344
# File 'sig/peddler/apis/notifications_v1.rbs', line 344

def self.members: () -> [ :next_token, :subscriptions ]

.new(next_token:, subscriptions:) ⇒ Peddler::APIs::NotificationsV1::GetSubscriptionsPayload .new(arg0, arg1) ⇒ Peddler::APIs::NotificationsV1::GetSubscriptionsPayload

Overloads:



339
340
# File 'sig/peddler/apis/notifications_v1.rbs', line 339

def self.new: (?next_token: String?, ?subscriptions: Array[Peddler::APIs::NotificationsV1::Subscription]?) -> Peddler::APIs::NotificationsV1::GetSubscriptionsPayload
| (String?, Array[Peddler::APIs::NotificationsV1::Subscription]?) -> Peddler::APIs::NotificationsV1::GetSubscriptionsPayload

.parsePeddler::APIs::NotificationsV1::GetSubscriptionsPayload

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



346
# File 'sig/peddler/apis/notifications_v1.rbs', line 346

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::NotificationsV1::GetSubscriptionsPayload

Instance Method Details

#members[ :next_token, :subscriptions ]

Returns:

  • ([ :next_token, :subscriptions ])


351
# File 'sig/peddler/apis/notifications_v1.rbs', line 351

def members: () -> [ :next_token, :subscriptions ]

#to_h{ next_token: String?, subscriptions: Array[Peddler::APIs::NotificationsV1::Subscription]? }

Returns:



352
# File 'sig/peddler/apis/notifications_v1.rbs', line 352

def to_h: () -> { next_token: String?, subscriptions: Array[Peddler::APIs::NotificationsV1::Subscription]? }