Class: Peddler::APIs::ShippingV1::Label

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#label_specificationPeddler::APIs::ShippingV1::LabelSpecification? (readonly)

Returns the value of attribute label_specification.



376
377
378
# File 'sig/peddler/apis/shipping_v1.rbs', line 376

def label_specification
  @label_specification
end

#label_streamString? (readonly)

Returns the value of attribute label_stream.

Returns:

  • (String, nil)


377
378
379
# File 'sig/peddler/apis/shipping_v1.rbs', line 377

def label_stream
  @label_stream
end

Class Method Details

.[](label_specification:, label_stream:) ⇒ Peddler::APIs::ShippingV1::Label .[](arg0, arg1) ⇒ Peddler::APIs::ShippingV1::Label

Overloads:



369
370
# File 'sig/peddler/apis/shipping_v1.rbs', line 369

def self.[]: (?label_specification: Peddler::APIs::ShippingV1::LabelSpecification?, ?label_stream: String?) -> Peddler::APIs::ShippingV1::Label
| (Peddler::APIs::ShippingV1::LabelSpecification?, String?) -> Peddler::APIs::ShippingV1::Label

.members[ :label_specification, :label_stream ]

Returns:

  • ([ :label_specification, :label_stream ])


372
# File 'sig/peddler/apis/shipping_v1.rbs', line 372

def self.members: () -> [ :label_specification, :label_stream ]

.new(label_specification:, label_stream:) ⇒ Peddler::APIs::ShippingV1::Label .new(arg0, arg1) ⇒ Peddler::APIs::ShippingV1::Label

Overloads:



367
368
# File 'sig/peddler/apis/shipping_v1.rbs', line 367

def self.new: (?label_specification: Peddler::APIs::ShippingV1::LabelSpecification?, ?label_stream: String?) -> Peddler::APIs::ShippingV1::Label
| (Peddler::APIs::ShippingV1::LabelSpecification?, String?) -> Peddler::APIs::ShippingV1::Label

.parsePeddler::APIs::ShippingV1::Label

Parameters:

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

Returns:



374
# File 'sig/peddler/apis/shipping_v1.rbs', line 374

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

Instance Method Details

#members[ :label_specification, :label_stream ]

Returns:

  • ([ :label_specification, :label_stream ])


379
# File 'sig/peddler/apis/shipping_v1.rbs', line 379

def members: () -> [ :label_specification, :label_stream ]

#to_h{ label_specification: Peddler::APIs::ShippingV1::LabelSpecification?, label_stream: String? }

Returns:



380
# File 'sig/peddler/apis/shipping_v1.rbs', line 380

def to_h: () -> { label_specification: Peddler::APIs::ShippingV1::LabelSpecification?, label_stream: String? }