Class: Peddler::APIs::NotificationsV1::GetSubscriptionByIdResponse

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:



313
314
315
# File 'sig/peddler/apis/notifications_v1.rbs', line 313

def errors
  @errors
end

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

Returns the value of attribute payload.



314
315
316
# File 'sig/peddler/apis/notifications_v1.rbs', line 314

def payload
  @payload
end

Class Method Details

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



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

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

.members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

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

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



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

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

.parsePeddler::APIs::NotificationsV1::GetSubscriptionByIdResponse

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

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

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



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

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