Class: Peddler::APIs::ShippingV1::Label
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV1::Label
- Defined in:
- sig/peddler/apis/shipping_v1.rbs
Instance Attribute Summary collapse
-
#label_specification ⇒ Peddler::APIs::ShippingV1::LabelSpecification?
readonly
Returns the value of attribute label_specification.
-
#label_stream ⇒ String?
readonly
Returns the value of attribute label_stream.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :label_specification, :label_stream ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV1::Label
Instance Method Summary collapse
-
#members ⇒ [ :label_specification, :label_stream ]
-
#to_h ⇒ { label_specification: Peddler::APIs::ShippingV1::LabelSpecification?, label_stream: String? }
Instance Attribute Details
#label_specification ⇒ Peddler::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_stream ⇒ String? (readonly)
Returns the value of attribute label_stream.
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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::ShippingV1::Label
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 ]
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? }
380 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 380
def to_h: () -> { label_specification: Peddler::APIs::ShippingV1::LabelSpecification?, label_stream: String? }
|