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