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.
313 314 315 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 313 def errors @errors end |
#payload ⇒ Peddler::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 ]
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
|
.parse ⇒ Peddler::APIs::NotificationsV1::GetSubscriptionByIdResponse
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 ]
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? }
|