Class GraderRunResponse
-
- All Implemented Interfaces:
public final class GraderRunResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classGraderRunResponse.BuilderA builder for GraderRunResponse.
public final classGraderRunResponse.Metadatapublic final classGraderRunResponse.ModelGraderTokenUsagePerModelpublic final classGraderRunResponse.SubRewards
-
Method Summary
-
-
Method Detail
-
metadata
final GraderRunResponse.Metadata metadata()
-
modelGraderTokenUsagePerModel
final GraderRunResponse.ModelGraderTokenUsagePerModel modelGraderTokenUsagePerModel()
-
subRewards
final GraderRunResponse.SubRewards subRewards()
-
_metadata
final JsonField<GraderRunResponse.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_modelGraderTokenUsagePerModel
final JsonField<GraderRunResponse.ModelGraderTokenUsagePerModel> _modelGraderTokenUsagePerModel()
Returns the raw JSON value of modelGraderTokenUsagePerModel.
Unlike modelGraderTokenUsagePerModel, this method doesn't throw if the JSON field has an unexpected type.
-
_reward
final JsonField<Double> _reward()
Returns the raw JSON value of reward.
Unlike reward, this method doesn't throw if the JSON field has an unexpected type.
-
_subRewards
final JsonField<GraderRunResponse.SubRewards> _subRewards()
Returns the raw JSON value of subRewards.
Unlike subRewards, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final GraderRunResponse.Builder toBuilder()
-
validate
final GraderRunResponse 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 GraderRunResponse.Builder builder()
Returns a mutable builder for constructing an instance of GraderRunResponse.
The following fields are required:
.metadata() .modelGraderTokenUsagePerModel() .reward() .subRewards()
-
-
-
-