Class: Peddler::APIs::NotificationsV1::GetSubscriptionsResponse

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

#errorsArray[Peddler::APIs::NotificationsV1::Error]? (readonly)

Returns the value of attribute errors.

Returns:



365
366
367
# File 'sig/peddler/apis/notifications_v1.rbs', line 365

def errors
  @errors
end

#payloadPeddler::APIs::NotificationsV1::GetSubscriptionsPayload? (readonly)

Returns the value of attribute payload.



366
367
368
# File 'sig/peddler/apis/notifications_v1.rbs', line 366

def payload
  @payload
end

Class Method Details

.[](errors:, payload:) ⇒ Peddler::APIs::NotificationsV1::GetSubscriptionsResponse .[](arg0, arg1) ⇒ Peddler::APIs::NotificationsV1::GetSubscriptionsResponse



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

def self.[]: (?errors: Array[Peddler::APIs::NotificationsV1::Error]?, ?payload: Peddler::APIs::NotificationsV1::GetSubscriptionsPayload?) -> Peddler::APIs::NotificationsV1::GetSubscriptionsResponse
| (Array[Peddler::APIs::NotificationsV1::Error]?, Peddler::APIs::NotificationsV1::GetSubscriptionsPayload?) -> Peddler::APIs::NotificationsV1::GetSubscriptionsResponse

.members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

def self.members: () -> [ :errors, :payload ]

.new(errors:, payload:) ⇒ Peddler::APIs::NotificationsV1::GetSubscriptionsResponse .new(arg0, arg1) ⇒ Peddler::APIs::NotificationsV1::GetSubscriptionsResponse



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

def self.new: (?errors: Array[Peddler::APIs::NotificationsV1::Error]?, ?payload: Peddler::APIs::NotificationsV1::GetSubscriptionsPayload?) -> Peddler::APIs::NotificationsV1::GetSubscriptionsResponse
| (Array[Peddler::APIs::NotificationsV1::Error]?, Peddler::APIs::NotificationsV1::GetSubscriptionsPayload?) -> Peddler::APIs::NotificationsV1::GetSubscriptionsResponse

.parsePeddler::APIs::NotificationsV1::GetSubscriptionsResponse

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

def members: () -> [ :errors, :payload ]

#to_h{ errors: Array[Peddler::APIs::NotificationsV1::Error]?, payload: Peddler::APIs::NotificationsV1::GetSubscriptionsPayload? }



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

def to_h: () -> { errors: Array[Peddler::APIs::NotificationsV1::Error]?, payload: Peddler::APIs::NotificationsV1::GetSubscriptionsPayload? }