Package com.braintrustdata.api.models
Class UserListPageResponse.Builder
-
- All Implemented Interfaces:
public final class UserListPageResponse.BuilderA builder for UserListPageResponse.
-
-
Method Summary
Modifier and Type Method Description final UserListPageResponse.Builderobjects(List<User> objects)A list of user objects final UserListPageResponse.Builderobjects(JsonField<List<User>> objects)Sets Builder.objects to an arbitrary JSON value. final UserListPageResponse.BuilderaddObject(User object_)Adds a single User to objects. final UserListPageResponse.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final UserListPageResponse.BuilderputAdditionalProperty(String key, JsonValue value)final UserListPageResponse.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final UserListPageResponse.BuilderremoveAdditionalProperty(String key)final UserListPageResponse.BuilderremoveAllAdditionalProperties(Set<String> keys)final UserListPageResponsebuild()Returns an immutable instance of UserListPageResponse. -
-
Method Detail
-
objects
final UserListPageResponse.Builder objects(List<User> objects)
A list of user objects
-
objects
final UserListPageResponse.Builder objects(JsonField<List<User>> objects)
Sets Builder.objects to an arbitrary JSON value.
You should usually call Builder.objects with a well-typed
List<User>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addObject
final UserListPageResponse.Builder addObject(User object_)
-
additionalProperties
final UserListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UserListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UserListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UserListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UserListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UserListPageResponse build()
Returns an immutable instance of UserListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.objects()
-
-
-
-