Class: Peddler::APIs::ExternalFulfillmentShipments20240911::CustomAttribute

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#keyString? (readonly)

Returns the value of attribute key.

Returns:

  • (String, nil)


162
163
164
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 162

def key
  @key
end

#typeString? (readonly)

Returns the value of attribute type.

Returns:

  • (String, nil)


163
164
165
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 163

def type
  @type
end

#valueString? (readonly)

Returns the value of attribute value.

Returns:

  • (String, nil)


164
165
166
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 164

def value
  @value
end

Class Method Details

.[](key:, type:, value:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::CustomAttribute .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::CustomAttribute

Overloads:



155
156
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 155

def self.[]: (?key: String?, ?type: String?, ?value: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::CustomAttribute
| (String?, String?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::CustomAttribute

.members[ :key, :type, :value ]

Returns:

  • ([ :key, :type, :value ])


158
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 158

def self.members: () -> [ :key, :type, :value ]

.new(key:, type:, value:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::CustomAttribute .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::CustomAttribute

Overloads:



153
154
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 153

def self.new: (?key: String?, ?type: String?, ?value: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::CustomAttribute
| (String?, String?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::CustomAttribute

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::CustomAttribute

Parameters:

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

Returns:



160
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 160

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

Instance Method Details

#members[ :key, :type, :value ]

Returns:

  • ([ :key, :type, :value ])


166
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 166

def members: () -> [ :key, :type, :value ]

#to_h{ key: String?, type: String?, value: String? }

Returns:

  • ({ key: String?, type: String?, value: String? })


167
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 167

def to_h: () -> { key: String?, type: String?, value: String? }