Class: Courier::Models::JourneyRunStep
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Courier::Models::JourneyRunStep
- Defined in:
- lib/courier/models/journey_run_step.rb,
sig/courier/models/journey_run_step.rbs
Instance Attribute Summary collapse
-
#action ⇒ String
The kind of node that ran, e.g.
-
#created_at ⇒ String?
When the step started, as an ISO 8601 timestamp.
-
#message_id ⇒ String?
The message this step produced, present on send steps.
-
#node_id ⇒ String?
The id of the node in the published Journey that this step executed.
-
#status ⇒ String
The state of the step: the seven run statuses, plus
SKIPPEDandCOMPUTING. -
#updated_at ⇒ String?
When the step last changed state, as an ISO 8601 timestamp.
Instance Method Summary collapse
-
#initialize(action:, status:, created_at: nil, message_id: nil, node_id: nil, updated_at: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see JourneyRunStep for more details.
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(action:, status:, created_at: nil, message_id: nil, node_id: nil, updated_at: nil) ⇒ Object
Some parameter documentations has been truncated, see Courier::Models::JourneyRunStep for more details.
One executed node of a Journey run. node_id is the id of the node in the
published Journey, so a step maps directly onto the Journey graph.
|
|
# File 'lib/courier/models/journey_run_step.rb', line 45
|
Instance Attribute Details
#action ⇒ String
The kind of node that ran, e.g. send, delay, or exit.
10 |
# File 'lib/courier/models/journey_run_step.rb', line 10 required :action, String |
#created_at ⇒ String?
When the step started, as an ISO 8601 timestamp.
23 |
# File 'lib/courier/models/journey_run_step.rb', line 23 optional :created_at, String |
#message_id ⇒ String?
The message this step produced, present on send steps. Pass it to
GET /messages/{message_id} for delivery status. A send to a List or an
Audience yields one id for the request, not one per recipient.
31 |
# File 'lib/courier/models/journey_run_step.rb', line 31 optional :message_id, String |
#node_id ⇒ String?
The id of the node in the published Journey that this step executed.
37 |
# File 'lib/courier/models/journey_run_step.rb', line 37 optional :node_id, String |
#status ⇒ String
The state of the step: the seven run statuses, plus SKIPPED and COMPUTING.
Not an enum — new values have been added before.
17 |
# File 'lib/courier/models/journey_run_step.rb', line 17 required :status, String |
#updated_at ⇒ String?
When the step last changed state, as an ISO 8601 timestamp.
43 |
# File 'lib/courier/models/journey_run_step.rb', line 43 optional :updated_at, String |
Instance Method Details
#to_hash ⇒ {
43 |
# File 'sig/courier/models/journey_run_step.rbs', line 43
def to_hash: -> {
|