Class: Peddler::APIs::SupplySources20200701::ThroughputConfig

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/supply_sources_2020_07_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#throughput_capPeddler::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_unitString (readonly)

Returns the value of attribute throughput_unit.

Returns:

  • (String)


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 ]

Returns:

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

.parsePeddler::APIs::SupplySources20200701::ThroughputConfig

Parameters:

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

Returns:



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 ]

Returns:

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

Returns:



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? }