Class RunListPageResponse.Builder
-
- All Implemented Interfaces:
public final class RunListPageResponse.BuilderA builder for RunListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final RunListPageResponse.Builder data(List<RunListResponse> data)
An array of eval run objects.
-
data
final RunListPageResponse.Builder data(JsonField<List<RunListResponse>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<RunListResponse>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addData
final RunListPageResponse.Builder addData(RunListResponse data)
Adds a single RunListResponse to Builder.data.
-
firstId
final RunListPageResponse.Builder firstId(String firstId)
The identifier of the first eval run in the data array.
-
firstId
final RunListPageResponse.Builder firstId(JsonField<String> firstId)
Sets Builder.firstId to an arbitrary JSON value.
You should usually call Builder.firstId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
hasMore
final RunListPageResponse.Builder hasMore(Boolean hasMore)
Indicates whether there are more evals available.
-
hasMore
final RunListPageResponse.Builder hasMore(JsonField<Boolean> hasMore)
Sets Builder.hasMore to an arbitrary JSON value.
You should usually call Builder.hasMore with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
lastId
final RunListPageResponse.Builder lastId(String lastId)
The identifier of the last eval run in the data array.
-
lastId
final RunListPageResponse.Builder lastId(JsonField<String> lastId)
Sets Builder.lastId to an arbitrary JSON value.
You should usually call Builder.lastId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
object_
final RunListPageResponse.Builder object_(JsonValue object_)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("list")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final RunListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RunListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RunListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RunListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RunListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RunListPageResponse build()
Returns an immutable instance of RunListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .firstId() .hasMore() .lastId()
-
-
-
-