Class: Peddler::APIs::ShippingV1::Event
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV1::Event
- Defined in:
- sig/peddler/apis/shipping_v1.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::ShippingV1::Location?
readonly
Returns the value of attribute location.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :event_code, :event_time, :location ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV1::Event
Instance Method Summary collapse
-
#members ⇒ [ :event_code, :event_time, :location ]
-
#to_h ⇒ { event_code: String, event_time: Time, location: Peddler::APIs::ShippingV1::Location? }
Instance Attribute Details
#event_code ⇒ String (readonly)
Returns the value of attribute event_code.
250 251 252 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 250 def event_code @event_code end |
#event_time ⇒ Time (readonly)
Returns the value of attribute event_time.
251 252 253 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 251 def event_time @event_time end |
#location ⇒ Peddler::APIs::ShippingV1::Location? (readonly)
Returns the value of attribute location.
252 253 254 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 252 def location @location end |
Class Method Details
.[](event_code:, event_time:, location:) ⇒ Peddler::APIs::ShippingV1::Event .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ShippingV1::Event
243 244 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 243
def self.[]: (event_code: String, event_time: Time, ?location: Peddler::APIs::ShippingV1::Location?) -> Peddler::APIs::ShippingV1::Event
| (String, Time, Peddler::APIs::ShippingV1::Location?) -> Peddler::APIs::ShippingV1::Event
|
.members ⇒ [ :event_code, :event_time, :location ]
246 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 246
def self.members: () -> [ :event_code, :event_time, :location ]
|
.new(event_code:, event_time:, location:) ⇒ Peddler::APIs::ShippingV1::Event .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ShippingV1::Event
241 242 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 241
def self.new: (event_code: String, event_time: Time, ?location: Peddler::APIs::ShippingV1::Location?) -> Peddler::APIs::ShippingV1::Event
| (String, Time, Peddler::APIs::ShippingV1::Location?) -> Peddler::APIs::ShippingV1::Event
|
.parse ⇒ Peddler::APIs::ShippingV1::Event
248 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 248
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV1::Event
|
Instance Method Details
#members ⇒ [ :event_code, :event_time, :location ]
254 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 254
def members: () -> [ :event_code, :event_time, :location ]
|
#to_h ⇒ { event_code: String, event_time: Time, location: Peddler::APIs::ShippingV1::Location? }
255 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 255
def to_h: () -> { event_code: String, event_time: Time, location: Peddler::APIs::ShippingV1::Location? }
|