Class: Peddler::Reports::AccountHealthReport20201118::WarningState

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/reports/account_health_report_2020_11_18.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#statusString (readonly)

Returns the value of attribute status.

Returns:

  • (String)


341
342
343
# File 'sig/peddler/reports/account_health_report_2020_11_18.rbs', line 341

def status
  @status
end

#warning_typeString (readonly)

Returns the value of attribute warning_type.

Returns:

  • (String)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::Reports::AccountHealthReport20201118::WarningState

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



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 ]

Returns:

  • ([ :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 }

Returns:

  • ({ 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 }