Class BetaManagedAgentsOutcomeEvaluationResource.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsOutcomeEvaluationResource.BuilderA builder for BetaManagedAgentsOutcomeEvaluationResource.
-
-
Method Summary
-
-
Method Detail
-
completedAt
final BetaManagedAgentsOutcomeEvaluationResource.Builder completedAt(OffsetDateTime completedAt)
A timestamp in RFC 3339 format
-
completedAt
final BetaManagedAgentsOutcomeEvaluationResource.Builder completedAt(Optional<OffsetDateTime> completedAt)
Alias for calling Builder.completedAt with
completedAt.orElse(null).
-
completedAt
final BetaManagedAgentsOutcomeEvaluationResource.Builder completedAt(JsonField<OffsetDateTime> completedAt)
Sets Builder.completedAt to an arbitrary JSON value.
You should usually call Builder.completedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final BetaManagedAgentsOutcomeEvaluationResource.Builder description(String description)
What the agent should produce.
-
description
final BetaManagedAgentsOutcomeEvaluationResource.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
explanation
final BetaManagedAgentsOutcomeEvaluationResource.Builder explanation(String explanation)
Grader's verdict text from the most recent evaluation. For satisfied, explains why criteria are met; for needs_revision (intermediate), what's missing; for failed, why unrecoverable.
-
explanation
final BetaManagedAgentsOutcomeEvaluationResource.Builder explanation(Optional<String> explanation)
Alias for calling Builder.explanation with
explanation.orElse(null).
-
explanation
final BetaManagedAgentsOutcomeEvaluationResource.Builder explanation(JsonField<String> explanation)
Sets Builder.explanation to an arbitrary JSON value.
You should usually call Builder.explanation with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
iteration
final BetaManagedAgentsOutcomeEvaluationResource.Builder iteration(Integer iteration)
0-indexed revision cycle the outcome is currently on.
-
iteration
final BetaManagedAgentsOutcomeEvaluationResource.Builder iteration(JsonField<Integer> iteration)
Sets Builder.iteration to an arbitrary JSON value.
You should usually call Builder.iteration with a well-typed Int value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
outcomeId
final BetaManagedAgentsOutcomeEvaluationResource.Builder outcomeId(String outcomeId)
Server-generated outc_ ID for this outcome.
-
outcomeId
final BetaManagedAgentsOutcomeEvaluationResource.Builder outcomeId(JsonField<String> outcomeId)
Sets Builder.outcomeId to an arbitrary JSON value.
You should usually call Builder.outcomeId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
result
final BetaManagedAgentsOutcomeEvaluationResource.Builder result(String result)
Current evaluation state.
pendingbefore the agent begins work;runningwhile producing or revising;evaluatingwhile the grader scores;satisfied/max_iterations_reached/failed/interruptedare terminal.
-
result
final BetaManagedAgentsOutcomeEvaluationResource.Builder result(JsonField<String> result)
Sets Builder.result to an arbitrary JSON value.
You should usually call Builder.result with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaManagedAgentsOutcomeEvaluationResource.Builder type(BetaManagedAgentsOutcomeEvaluationResource.Type type)
-
type
final BetaManagedAgentsOutcomeEvaluationResource.Builder type(JsonField<BetaManagedAgentsOutcomeEvaluationResource.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsOutcomeEvaluationResource.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsOutcomeEvaluationResource.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsOutcomeEvaluationResource.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsOutcomeEvaluationResource.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsOutcomeEvaluationResource.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsOutcomeEvaluationResource build()
Returns an immutable instance of BetaManagedAgentsOutcomeEvaluationResource.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.completedAt() .description() .explanation() .iteration() .outcomeId() .result() .type()
-
-
-
-