Class: Deeprails::Models::WorkflowEventResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Deeprails::Models::WorkflowEventResponse
- Defined in:
- lib/deeprails/models/workflow_event_response.rb
Overview
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
-
#created_at ⇒ Time
The time the event was created in UTC.
-
#event_id ⇒ String
A unique workflow event ID.
-
#status ⇒ Symbol, Deeprails::Models::WorkflowEventResponse::Status
Status of the event.
-
#workflow_id ⇒ String
Workflow ID associated with the event.
Instance Method Summary collapse
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(created_at:, event_id:, status:, workflow_id:) ⇒ Object
|
|
# File 'lib/deeprails/models/workflow_event_response.rb', line 31
|
Instance Attribute Details
#created_at ⇒ Time
The time the event was created in UTC.
11 |
# File 'lib/deeprails/models/workflow_event_response.rb', line 11 required :created_at, Time |
#event_id ⇒ String
A unique workflow event ID.
17 |
# File 'lib/deeprails/models/workflow_event_response.rb', line 17 required :event_id, String |
#status ⇒ Symbol, Deeprails::Models::WorkflowEventResponse::Status
Status of the event.
23 |
# File 'lib/deeprails/models/workflow_event_response.rb', line 23 required :status, enum: -> { Deeprails::WorkflowEventResponse::Status } |
#workflow_id ⇒ String
Workflow ID associated with the event.
29 |
# File 'lib/deeprails/models/workflow_event_response.rb', line 29 required :workflow_id, String |