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