Class: Peddler::APIs::NotificationsV1::GetSubscriptionByIdResponse
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::NotificationsV1::GetSubscriptionByIdResponse
- 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::GetSubscriptionByIdResponse
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.
314 315 316 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 314 def errors @errors end |
#payload ⇒ Peddler::APIs::NotificationsV1::Subscription? (readonly)
Returns the value of attribute payload.
315 316 317 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 315 def payload @payload end |
Class Method Details
.[](errors:, payload:) ⇒ Peddler::APIs::NotificationsV1::GetSubscriptionByIdResponse .[](arg0, arg1) ⇒ Peddler::APIs::NotificationsV1::GetSubscriptionByIdResponse
307 308 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 307
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 ]
310 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 310
def self.members: () -> [ :errors, :payload ]
|
.new(errors:, payload:) ⇒ Peddler::APIs::NotificationsV1::GetSubscriptionByIdResponse .new(arg0, arg1) ⇒ Peddler::APIs::NotificationsV1::GetSubscriptionByIdResponse
305 306 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 305
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
|
.parse ⇒ Peddler::APIs::NotificationsV1::GetSubscriptionByIdResponse
312 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 312
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::NotificationsV1::GetSubscriptionByIdResponse
|
Instance Method Details
#members ⇒ [ :errors, :payload ]
317 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 317
def members: () -> [ :errors, :payload ]
|
#to_h ⇒ { errors: Array[Peddler::APIs::NotificationsV1::Error]?, payload: Peddler::APIs::NotificationsV1::Subscription? }
318 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 318
def to_h: () -> { errors: Array[Peddler::APIs::NotificationsV1::Error]?, payload: Peddler::APIs::NotificationsV1::Subscription? }
|