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:



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

def errors
  @errors
end

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

Returns the value of attribute payload.



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

def payload
  @payload
end

Class Method Details

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



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

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 ])


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

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

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



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

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:



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

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

Instance Method Details

#members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

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

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



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

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