Class RunListPageResponse
-
- All Implemented Interfaces:
public final class RunListPageResponseAn object representing a list of runs for an evaluation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRunListPageResponse.BuilderA builder for RunListPageResponse.
-
Method Summary
Modifier and Type Method Description final List<RunListResponse>data()An array of eval run objects. final StringfirstId()The identifier of the first eval run in the data array. final BooleanhasMore()Indicates whether there are more evals available. final StringlastId()The identifier of the last eval run in the data array. final JsonValue_object_()The type of this object. final JsonField<List<RunListResponse>>_data()Returns the raw JSON value of data. final JsonField<String>_firstId()Returns the raw JSON value of firstId. final JsonField<Boolean>_hasMore()Returns the raw JSON value of hasMore. final JsonField<String>_lastId()Returns the raw JSON value of lastId. final Map<String, JsonValue>_additionalProperties()final RunListPageResponse.BuildertoBuilder()final RunListPageResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RunListPageResponse.Builderbuilder()Returns a mutable builder for constructing an instance of RunListPageResponse. -
-
Method Detail
-
data
final List<RunListResponse> data()
An array of eval run objects.
-
_object_
final JsonValue _object_()
The type of this object. It is always set to "list".
Expected to always return the following:
JsonValue.from("list")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_data
final JsonField<List<RunListResponse>> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_firstId
final JsonField<String> _firstId()
Returns the raw JSON value of firstId.
Unlike firstId, this method doesn't throw if the JSON field has an unexpected type.
-
_hasMore
final JsonField<Boolean> _hasMore()
Returns the raw JSON value of hasMore.
Unlike hasMore, this method doesn't throw if the JSON field has an unexpected type.
-
_lastId
final JsonField<String> _lastId()
Returns the raw JSON value of lastId.
Unlike lastId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RunListPageResponse.Builder toBuilder()
-
validate
final RunListPageResponse validate()
-
builder
final static RunListPageResponse.Builder builder()
Returns a mutable builder for constructing an instance of RunListPageResponse.
The following fields are required:
.data() .firstId() .hasMore() .lastId()
-
-
-
-