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