Class GraderRunResponse.Metadata
-
- All Implemented Interfaces:
public final class GraderRunResponse.Metadata
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
GraderRunResponse.Metadata.Builder
A builder for Metadata.
public final class
GraderRunResponse.Metadata.Errors
public final class
GraderRunResponse.Metadata.Scores
-
Method Summary
-
-
Method Detail
-
errors
final GraderRunResponse.Metadata.Errors errors()
-
executionTime
final Double executionTime()
-
sampledModelName
final Optional<String> sampledModelName()
-
scores
final GraderRunResponse.Metadata.Scores scores()
-
tokenUsage
final Optional<Long> tokenUsage()
-
_errors
final JsonField<GraderRunResponse.Metadata.Errors> _errors()
Returns the raw JSON value of errors.
Unlike errors, this method doesn't throw if the JSON field has an unexpected type.
-
_executionTime
final JsonField<Double> _executionTime()
Returns the raw JSON value of executionTime.
Unlike executionTime, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_sampledModelName
final JsonField<String> _sampledModelName()
Returns the raw JSON value of sampledModelName.
Unlike sampledModelName, this method doesn't throw if the JSON field has an unexpected type.
-
_scores
final JsonField<GraderRunResponse.Metadata.Scores> _scores()
Returns the raw JSON value of scores.
Unlike scores, this method doesn't throw if the JSON field has an unexpected type.
-
_tokenUsage
final JsonField<Long> _tokenUsage()
Returns the raw JSON value of tokenUsage.
Unlike tokenUsage, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<String> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final GraderRunResponse.Metadata.Builder toBuilder()
-
validate
final GraderRunResponse.Metadata validate()
-
builder
final static GraderRunResponse.Metadata.Builder builder()
Returns a mutable builder for constructing an instance of Metadata.
The following fields are required:
.errors() .executionTime() .name() .sampledModelName() .scores() .tokenUsage() .type()
-
-
-
-