Class: Peddler::APIs::ShippingV2::Event
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV2::Event
- Defined in:
- sig/peddler/apis/shipping_v2.rbs
Instance Attribute Summary collapse
-
#event_code ⇒ String
readonly
Returns the value of attribute event_code.
-
#event_time ⇒ Time
readonly
Returns the value of attribute event_time.
-
#location ⇒ Peddler::APIs::ShippingV2::Location?
readonly
Returns the value of attribute location.
-
#shipment_type ⇒ String?
readonly
Returns the value of attribute shipment_type.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :event_code, :event_time, :location, :shipment_type ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV2::Event
Instance Method Summary collapse
-
#members ⇒ [ :event_code, :event_time, :location, :shipment_type ]
-
#to_h ⇒ { event_code: String, event_time: Time, location: Peddler::APIs::ShippingV2::Location?, shipment_type: String? }
Instance Attribute Details
#event_code ⇒ String (readonly)
Returns the value of attribute event_code.
640 641 642 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 640 def event_code @event_code end |
#event_time ⇒ Time (readonly)
Returns the value of attribute event_time.
641 642 643 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 641 def event_time @event_time end |
#location ⇒ Peddler::APIs::ShippingV2::Location? (readonly)
Returns the value of attribute location.
642 643 644 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 642 def location @location end |
#shipment_type ⇒ String? (readonly)
Returns the value of attribute shipment_type.
643 644 645 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 643 def shipment_type @shipment_type end |
Class Method Details
.[](event_code:, event_time:, location:, shipment_type:) ⇒ Peddler::APIs::ShippingV2::Event .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ShippingV2::Event
633 634 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 633
def self.[]: (event_code: String, event_time: Time, ?location: Peddler::APIs::ShippingV2::Location?, ?shipment_type: String?) -> Peddler::APIs::ShippingV2::Event
| (String, Time, Peddler::APIs::ShippingV2::Location?, String?) -> Peddler::APIs::ShippingV2::Event
|
.members ⇒ [ :event_code, :event_time, :location, :shipment_type ]
636 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 636
def self.members: () -> [ :event_code, :event_time, :location, :shipment_type ]
|
.new(event_code:, event_time:, location:, shipment_type:) ⇒ Peddler::APIs::ShippingV2::Event .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ShippingV2::Event
631 632 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 631
def self.new: (event_code: String, event_time: Time, ?location: Peddler::APIs::ShippingV2::Location?, ?shipment_type: String?) -> Peddler::APIs::ShippingV2::Event
| (String, Time, Peddler::APIs::ShippingV2::Location?, String?) -> Peddler::APIs::ShippingV2::Event
|
.parse ⇒ Peddler::APIs::ShippingV2::Event
638 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 638
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV2::Event
|
Instance Method Details
#members ⇒ [ :event_code, :event_time, :location, :shipment_type ]
645 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 645
def members: () -> [ :event_code, :event_time, :location, :shipment_type ]
|
#to_h ⇒ { event_code: String, event_time: Time, location: Peddler::APIs::ShippingV2::Location?, shipment_type: String? }
646 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 646
def to_h: () -> { event_code: String, event_time: Time, location: Peddler::APIs::ShippingV2::Location?, shipment_type: String? }
|