Class BetaManagedAgentsWorkflowRunStatusIdleEvent
-
- All Implemented Interfaces:
public final class BetaManagedAgentsWorkflowRunStatusIdleEventA workflow run is idle. Emitted each time the run goes idle, whatever the cause. If the run ends while idle, no
workflow_run.status_runningcomes between this event and itsworkflow_run.status_ended.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsWorkflowRunStatusIdleEvent.BuilderA builder for BetaManagedAgentsWorkflowRunStatusIdleEvent.
-
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 JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("workflow_run.status_idle")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 Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsWorkflowRunStatusIdleEvent.BuildertoBuilder()final BetaManagedAgentsWorkflowRunStatusIdleEventvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsWorkflowRunStatusIdleEvent.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsWorkflowRunStatusIdleEvent. -
-
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.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("workflow_run.status_idle")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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsWorkflowRunStatusIdleEvent.Builder toBuilder()
-
validate
final BetaManagedAgentsWorkflowRunStatusIdleEvent 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 BetaManagedAgentsWorkflowRunStatusIdleEvent.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsWorkflowRunStatusIdleEvent.
The following fields are required:
.id() .processedAt() .workflowRunId()
-
-
-
-