Class: Peddler::APIs::NotificationsV1::GetSubscriptionResponse
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::NotificationsV1::GetSubscriptionResponse
- Defined in:
- sig/peddler/apis/notifications_v1.rbs
Instance Attribute Summary collapse
-
#errors ⇒ Array[Peddler::APIs::NotificationsV1::Error]?
readonly
Returns the value of attribute errors.
-
#payload ⇒ Peddler::APIs::NotificationsV1::Subscription?
readonly
Returns the value of attribute payload.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :errors, :payload ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::NotificationsV1::GetSubscriptionResponse
Instance Method Summary collapse
-
#members ⇒ [ :errors, :payload ]
-
#to_h ⇒ { errors: Array[Peddler::APIs::NotificationsV1::Error]?, payload: Peddler::APIs::NotificationsV1::Subscription? }
Instance Attribute Details
#errors ⇒ Array[Peddler::APIs::NotificationsV1::Error]? (readonly)
Returns the value of attribute errors.
330 331 332 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 330 def errors @errors end |
#payload ⇒ Peddler::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 ]
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
|
.parse ⇒ Peddler::APIs::NotificationsV1::GetSubscriptionResponse
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 ]
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? }
|