Class BetaManagedAgentsWorkflowRunPhaseEndedEvent
-
- All Implemented Interfaces:
public final class BetaManagedAgentsWorkflowRunPhaseEndedEventA workflow run's plan left a phase, or the run's end closed it. Emitted once for every
workflow_run.phase_startedevent, before the run'sworkflow_run.status_endedevent. The event does not say whether the plan finished the phase's work, or why it left.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsWorkflowRunPhaseEndedEvent.BuilderA builder for BetaManagedAgentsWorkflowRunPhaseEndedEvent.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for this event. final StringphaseStartedId()Identifier of the workflow_run.phase_startedevent that opened the phase.final OffsetDateTimeprocessedAt()Timestamp when this event was processed. final StringworkflowRunId()Identifier of the run. final StringworkflowRunPhaseId()Identifier of the phase, as in phaseson the run'sworkflow_run.createdevent.final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("workflow_run.phase_ended")final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_phaseStartedId()Returns the raw JSON value of phaseStartedId. final JsonField<OffsetDateTime>_processedAt()Returns the raw JSON value of processedAt. final JsonField<String>_workflowRunId()Returns the raw JSON value of workflowRunId. final JsonField<String>_workflowRunPhaseId()Returns the raw JSON value of workflowRunPhaseId. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsWorkflowRunPhaseEndedEvent.BuildertoBuilder()final BetaManagedAgentsWorkflowRunPhaseEndedEventvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsWorkflowRunPhaseEndedEvent.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsWorkflowRunPhaseEndedEvent. -
-
Method Detail
-
phaseStartedId
final String phaseStartedId()
Identifier of the
workflow_run.phase_startedevent that opened the phase.
-
processedAt
final OffsetDateTime processedAt()
Timestamp when this event was processed.
-
workflowRunId
final String workflowRunId()
Identifier of the run. The same value is on all of the run's
workflow_run.*events.
-
workflowRunPhaseId
final String workflowRunPhaseId()
Identifier of the phase, as in
phaseson the run'sworkflow_run.createdevent.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("workflow_run.phase_ended")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_phaseStartedId
final JsonField<String> _phaseStartedId()
Returns the raw JSON value of phaseStartedId.
Unlike phaseStartedId, this method doesn't throw if the JSON field has an unexpected type.
-
_processedAt
final JsonField<OffsetDateTime> _processedAt()
Returns the raw JSON value of processedAt.
Unlike processedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_workflowRunId
final JsonField<String> _workflowRunId()
Returns the raw JSON value of workflowRunId.
Unlike workflowRunId, this method doesn't throw if the JSON field has an unexpected type.
-
_workflowRunPhaseId
final JsonField<String> _workflowRunPhaseId()
Returns the raw JSON value of workflowRunPhaseId.
Unlike workflowRunPhaseId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsWorkflowRunPhaseEndedEvent.Builder toBuilder()
-
validate
final BetaManagedAgentsWorkflowRunPhaseEndedEvent validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsWorkflowRunPhaseEndedEvent.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsWorkflowRunPhaseEndedEvent.
The following fields are required:
.id() .phaseStartedId() .processedAt() .workflowRunId() .workflowRunPhaseId()
-
-
-
-