Class: Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/notifications/shipment_tracking_milestone_changed.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#location ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneLocation? (readonly)

Returns the value of attribute location.



180
181
182
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 180

def location
  @location
end

#occurred_at ⇒ String (readonly)

Returns the value of attribute occurred_at.

Returns:

  • (String)


181
182
183
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 181

def occurred_at
  @occurred_at
end

#status ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneStatus (readonly)

Returns the value of attribute status.



182
183
184
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 182

def status
  @status
end

Class Method Details

.[](occurred_at:, status:, location:) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone .[](arg0, arg1, arg2) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone



173
174
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 173

def self.[]: (occurred_at: String, status: Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneStatus, ?location: Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneLocation?) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone
| (String, Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneStatus, Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneLocation?) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone

.members ⇒ [ :occurred_at, :status, :location ]

Returns:

  • ([ :occurred_at, :status, :location ])


176
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 176

def self.members: () -> [ :occurred_at, :status, :location ]

.new(occurred_at:, status:, location:) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone .new(arg0, arg1, arg2) ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone



171
172
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 171

def self.new: (occurred_at: String, status: Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneStatus, ?location: Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneLocation?) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone
| (String, Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneStatus, Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneLocation?) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone

.parse ⇒ Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone

Parameters:

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

Returns:



178
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 178

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestone

Instance Method Details

#members ⇒ [ :occurred_at, :status, :location ]

Returns:

  • ([ :occurred_at, :status, :location ])


184
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 184

def members: () -> [ :occurred_at, :status, :location ]

#to_h ⇒ { occurred_at: String, status: Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneStatus, location: Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneLocation? }



185
# File 'sig/peddler/notifications/shipment_tracking_milestone_changed.rbs', line 185

def to_h: () -> { occurred_at: String, status: Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneStatus, location: Peddler::Notifications::ShipmentTrackingMilestoneChanged::TrackingMilestoneLocation? }