Class: Peddler::APIs::SupplySources20200701::DeliveryChannel

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

#operational_configurationPeddler::APIs::SupplySources20200701::OperationalConfiguration? (readonly)

Returns the value of attribute operational_configuration.



127
128
129
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 127

def operational_configuration
  @operational_configuration
end

#supportedBoolean? (readonly)

Returns the value of attribute supported.

Returns:

  • (Boolean, nil)


128
129
130
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 128

def supported
  @supported
end

Class Method Details

.[](supported:, operational_configuration:) ⇒ Peddler::APIs::SupplySources20200701::DeliveryChannel .[](arg0, arg1) ⇒ Peddler::APIs::SupplySources20200701::DeliveryChannel

Overloads:



120
121
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 120

def self.[]: (?supported: bool?, ?operational_configuration: Peddler::APIs::SupplySources20200701::OperationalConfiguration?) -> Peddler::APIs::SupplySources20200701::DeliveryChannel
| (bool?, Peddler::APIs::SupplySources20200701::OperationalConfiguration?) -> Peddler::APIs::SupplySources20200701::DeliveryChannel

.members[ :supported, :operational_configuration ]

Returns:

  • ([ :supported, :operational_configuration ])


123
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 123

def self.members: () -> [ :supported, :operational_configuration ]

.new(supported:, operational_configuration:) ⇒ Peddler::APIs::SupplySources20200701::DeliveryChannel .new(arg0, arg1) ⇒ Peddler::APIs::SupplySources20200701::DeliveryChannel

Overloads:



118
119
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 118

def self.new: (?supported: bool?, ?operational_configuration: Peddler::APIs::SupplySources20200701::OperationalConfiguration?) -> Peddler::APIs::SupplySources20200701::DeliveryChannel
| (bool?, Peddler::APIs::SupplySources20200701::OperationalConfiguration?) -> Peddler::APIs::SupplySources20200701::DeliveryChannel

.parsePeddler::APIs::SupplySources20200701::DeliveryChannel

Parameters:

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

Returns:



125
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 125

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::SupplySources20200701::DeliveryChannel

Instance Method Details

#members[ :supported, :operational_configuration ]

Returns:

  • ([ :supported, :operational_configuration ])


130
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 130

def members: () -> [ :supported, :operational_configuration ]

#supported?Boolean

Returns:

  • (Boolean)


131
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 131

def supported?: () -> bool

#to_h{ supported: bool?, operational_configuration: Peddler::APIs::SupplySources20200701::OperationalConfiguration? }

Returns:



132
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 132

def to_h: () -> { supported: bool?, operational_configuration: Peddler::APIs::SupplySources20200701::OperationalConfiguration? }