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)


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

def key
  @key
end

#typeString? (readonly)

Returns the value of attribute type.

Returns:

  • (String, nil)


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

def type
  @type
end

#valueString? (readonly)

Returns the value of attribute value.

Returns:

  • (String, nil)


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

def value
  @value
end

Class Method Details

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

Overloads:



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

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 ])


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

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

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

Overloads:



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

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:



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

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

Instance Method Details

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

Returns:

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


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

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

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

Returns:

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


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

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