Class: Peddler::Reports::AccountHealthReport20201118::WarningState
- Inherits:
-
Data
- Object
- Data
- Peddler::Reports::AccountHealthReport20201118::WarningState
- Defined in:
- sig/peddler/reports/account_health_report_2020_11_18.rbs
Instance Attribute Summary collapse
-
#status ⇒ String
readonly
Returns the value of attribute status.
-
#warning_type ⇒ String
readonly
Returns the value of attribute warning_type.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :status, :warning_type ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::Reports::AccountHealthReport20201118::WarningState
Instance Method Summary collapse
Instance Attribute Details
#status ⇒ String (readonly)
Returns the value of attribute status.
341 342 343 |
# File 'sig/peddler/reports/account_health_report_2020_11_18.rbs', line 341 def status @status end |
#warning_type ⇒ String (readonly)
Returns the value of attribute warning_type.
342 343 344 |
# File 'sig/peddler/reports/account_health_report_2020_11_18.rbs', line 342 def warning_type @warning_type end |
Class Method Details
.[](status:, warning_type:) ⇒ Peddler::Reports::AccountHealthReport20201118::WarningState .[](arg0, arg1) ⇒ Peddler::Reports::AccountHealthReport20201118::WarningState
334 335 |
# File 'sig/peddler/reports/account_health_report_2020_11_18.rbs', line 334
def self.[]: (status: String, warning_type: String) -> Peddler::Reports::AccountHealthReport20201118::WarningState
| (String, String) -> Peddler::Reports::AccountHealthReport20201118::WarningState
|
.members ⇒ [ :status, :warning_type ]
337 |
# File 'sig/peddler/reports/account_health_report_2020_11_18.rbs', line 337
def self.members: () -> [ :status, :warning_type ]
|
.new(status:, warning_type:) ⇒ Peddler::Reports::AccountHealthReport20201118::WarningState .new(arg0, arg1) ⇒ Peddler::Reports::AccountHealthReport20201118::WarningState
332 333 |
# File 'sig/peddler/reports/account_health_report_2020_11_18.rbs', line 332
def self.new: (status: String, warning_type: String) -> Peddler::Reports::AccountHealthReport20201118::WarningState
| (String, String) -> Peddler::Reports::AccountHealthReport20201118::WarningState
|
.parse ⇒ Peddler::Reports::AccountHealthReport20201118::WarningState
339 |
# File 'sig/peddler/reports/account_health_report_2020_11_18.rbs', line 339
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Reports::AccountHealthReport20201118::WarningState
|
Instance Method Details
#members ⇒ [ :status, :warning_type ]
344 |
# File 'sig/peddler/reports/account_health_report_2020_11_18.rbs', line 344
def members: () -> [ :status, :warning_type ]
|
#to_h ⇒ { status: String, warning_type: String }
345 |
# File 'sig/peddler/reports/account_health_report_2020_11_18.rbs', line 345
def to_h: () -> { status: String, warning_type: String }
|