Class BetaManagedAgentsWorkflowRunPhaseStartedEvent
-
- All Implemented Interfaces:
public final class BetaManagedAgentsWorkflowRunPhaseStartedEventA workflow run's plan entered a phase.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsWorkflowRunPhaseStartedEvent.BuilderA builder for BetaManagedAgentsWorkflowRunPhaseStartedEvent.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for this event. 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_started")final JsonField<String>_id()Returns the raw JSON value of id. 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 BetaManagedAgentsWorkflowRunPhaseStartedEvent.BuildertoBuilder()final BetaManagedAgentsWorkflowRunPhaseStartedEventvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsWorkflowRunPhaseStartedEvent.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsWorkflowRunPhaseStartedEvent. -
-
Method Detail
-
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_started")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.
-
_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 BetaManagedAgentsWorkflowRunPhaseStartedEvent.Builder toBuilder()
-
validate
final BetaManagedAgentsWorkflowRunPhaseStartedEvent 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 BetaManagedAgentsWorkflowRunPhaseStartedEvent.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsWorkflowRunPhaseStartedEvent.
The following fields are required:
.id() .processedAt() .workflowRunId() .workflowRunPhaseId()
-
-
-
-