Class: Courier::Models::AutomationRunListItem
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Courier::Models::AutomationRunListItem
- Defined in:
- lib/courier/models/automation_run_list_item.rb,
sig/courier/models/automation_run_list_item.rbs
Instance Attribute Summary collapse
-
#created_at ⇒ String?
When the run started, as an ISO 8601 timestamp.
-
#run_id ⇒ String
A unique identifier representing the run.
-
#source ⇒ Array<String>
Internal provenance strings describing what started the run, e.g.
-
#status ⇒ String?
The state of the run:
PROCESSING,PROCESSED,WAITING,CANCELED,ERROR,THROTTLED, orNOT PROCESSED. -
#template_id ⇒ String?
The id of the Automation Template this run belongs to.
Instance Method Summary collapse
-
#initialize(run_id:, source:, created_at: nil, status: nil, template_id: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see AutomationRunListItem 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(run_id:, source:, created_at: nil, status: nil, template_id: nil) ⇒ Object
Some parameter documentations has been truncated, see Courier::Models::AutomationRunListItem for more details.
An Automation run as it appears in a list response.
|
|
# File 'lib/courier/models/automation_run_list_item.rb', line 40
|
Instance Attribute Details
#created_at ⇒ String?
When the run started, as an ISO 8601 timestamp.
24 |
# File 'lib/courier/models/automation_run_list_item.rb', line 24 optional :created_at, String |
#run_id ⇒ String
A unique identifier representing the run.
10 |
# File 'lib/courier/models/automation_run_list_item.rb', line 10 required :run_id, String |
#source ⇒ Array<String>
Internal provenance strings describing what started the run, e.g.
invoke/<template_id> or segment/page/Pricing Page. Diagnostic only — the
format is unstable and should not be parsed.
18 |
# File 'lib/courier/models/automation_run_list_item.rb', line 18 required :source, Courier::Internal::Type::ArrayOf[String] |
#status ⇒ String?
The state of the run: PROCESSING, PROCESSED, WAITING, CANCELED, ERROR,
THROTTLED, or NOT PROCESSED. Not an enum — new values have been added
before.
32 |
# File 'lib/courier/models/automation_run_list_item.rb', line 32 optional :status, String |
#template_id ⇒ String?
The id of the Automation Template this run belongs to.
38 |
# File 'lib/courier/models/automation_run_list_item.rb', line 38 optional :template_id, String |
Instance Method Details
#to_hash ⇒ {
37 |
# File 'sig/courier/models/automation_run_list_item.rbs', line 37
def to_hash: -> {
|