Class: Peddler::APIs::SupplySources20200701::ThroughputCap
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::SupplySources20200701::ThroughputCap
- Defined in:
- sig/peddler/apis/supply_sources_2020_07_01.rbs
Instance Attribute Summary collapse
-
#time_unit ⇒ String?
readonly
Returns the value of attribute time_unit.
-
#value ⇒ Integer?
readonly
Returns the value of attribute value.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :time_unit, :value ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::SupplySources20200701::ThroughputCap
Instance Method Summary collapse
Instance Attribute Details
#time_unit ⇒ String? (readonly)
Returns the value of attribute time_unit.
469 470 471 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 469 def time_unit @time_unit end |
#value ⇒ Integer? (readonly)
Returns the value of attribute value.
470 471 472 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 470 def value @value end |
Class Method Details
.[](time_unit:, value:) ⇒ Peddler::APIs::SupplySources20200701::ThroughputCap .[](arg0, arg1) ⇒ Peddler::APIs::SupplySources20200701::ThroughputCap
462 463 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 462
def self.[]: (?time_unit: String?, ?value: Integer?) -> Peddler::APIs::SupplySources20200701::ThroughputCap
| (String?, Integer?) -> Peddler::APIs::SupplySources20200701::ThroughputCap
|
.members ⇒ [ :time_unit, :value ]
465 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 465
def self.members: () -> [ :time_unit, :value ]
|
.new(time_unit:, value:) ⇒ Peddler::APIs::SupplySources20200701::ThroughputCap .new(arg0, arg1) ⇒ Peddler::APIs::SupplySources20200701::ThroughputCap
460 461 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 460
def self.new: (?time_unit: String?, ?value: Integer?) -> Peddler::APIs::SupplySources20200701::ThroughputCap
| (String?, Integer?) -> Peddler::APIs::SupplySources20200701::ThroughputCap
|
.parse ⇒ Peddler::APIs::SupplySources20200701::ThroughputCap
467 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 467
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::SupplySources20200701::ThroughputCap
|
Instance Method Details
#members ⇒ [ :time_unit, :value ]
472 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 472
def members: () -> [ :time_unit, :value ]
|
#to_h ⇒ { time_unit: String?, value: Integer? }
473 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 473
def to_h: () -> { time_unit: String?, value: Integer? }
|