Class: Peddler::APIs::NotificationsV1::GetSubscriptionResponse

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:



330
331
332
# File 'sig/peddler/apis/notifications_v1.rbs', line 330

def errors
  @errors
end

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

Returns the value of attribute payload.



331
332
333
# File 'sig/peddler/apis/notifications_v1.rbs', line 331

def payload
  @payload
end

Class Method Details

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



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

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

.members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

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

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



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

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

.parsePeddler::APIs::NotificationsV1::GetSubscriptionResponse

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

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

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



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

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