Class: Peddler::APIs::SupplySources20200701::ThroughputConfig
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::SupplySources20200701::ThroughputConfig
- Defined in:
- sig/peddler/apis/supply_sources_2020_07_01.rbs
Instance Attribute Summary collapse
-
#throughput_cap ⇒ Peddler::APIs::SupplySources20200701::ThroughputCap?
readonly
Returns the value of attribute throughput_cap.
-
#throughput_unit ⇒ String
readonly
Returns the value of attribute throughput_unit.
Class Method Summary collapse
- .[] ⇒ Object
- .members ⇒ [ :throughput_unit, :throughput_cap ]
- .new ⇒ Object
- .parse ⇒ Peddler::APIs::SupplySources20200701::ThroughputConfig
Instance Method Summary collapse
- #members ⇒ [ :throughput_unit, :throughput_cap ]
- #to_h ⇒ { throughput_unit: String, throughput_cap: Peddler::APIs::SupplySources20200701::ThroughputCap? }
Instance Attribute Details
#throughput_cap ⇒ Peddler::APIs::SupplySources20200701::ThroughputCap? (readonly)
Returns the value of attribute throughput_cap.
486 487 488 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 486 def throughput_cap @throughput_cap end |
#throughput_unit ⇒ String (readonly)
Returns the value of attribute throughput_unit.
487 488 489 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 487 def throughput_unit @throughput_unit end |
Class Method Details
.[](throughput_unit:, throughput_cap:) ⇒ Peddler::APIs::SupplySources20200701::ThroughputConfig .[](arg0, arg1) ⇒ Peddler::APIs::SupplySources20200701::ThroughputConfig
479 480 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 479 def self.[]: (throughput_unit: String, ?throughput_cap: Peddler::APIs::SupplySources20200701::ThroughputCap?) -> Peddler::APIs::SupplySources20200701::ThroughputConfig | (String, Peddler::APIs::SupplySources20200701::ThroughputCap?) -> Peddler::APIs::SupplySources20200701::ThroughputConfig |
.members ⇒ [ :throughput_unit, :throughput_cap ]
482 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 482 def self.members: () -> [ :throughput_unit, :throughput_cap ] |
.new(throughput_unit:, throughput_cap:) ⇒ Peddler::APIs::SupplySources20200701::ThroughputConfig .new(arg0, arg1) ⇒ Peddler::APIs::SupplySources20200701::ThroughputConfig
477 478 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 477 def self.new: (throughput_unit: String, ?throughput_cap: Peddler::APIs::SupplySources20200701::ThroughputCap?) -> Peddler::APIs::SupplySources20200701::ThroughputConfig | (String, Peddler::APIs::SupplySources20200701::ThroughputCap?) -> Peddler::APIs::SupplySources20200701::ThroughputConfig |
.parse ⇒ Peddler::APIs::SupplySources20200701::ThroughputConfig
484 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 484 def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::SupplySources20200701::ThroughputConfig |
Instance Method Details
#members ⇒ [ :throughput_unit, :throughput_cap ]
489 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 489 def members: () -> [ :throughput_unit, :throughput_cap ] |
#to_h ⇒ { throughput_unit: String, throughput_cap: Peddler::APIs::SupplySources20200701::ThroughputCap? }
490 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 490 def to_h: () -> { throughput_unit: String, throughput_cap: Peddler::APIs::SupplySources20200701::ThroughputCap? } |