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