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