Class UserListPageResponse.Builder
-
- All Implemented Interfaces:
public final class UserListPageResponse.BuilderA builder for UserListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final UserListPageResponse.Builder data(List<OrganizationGroupUser> data)
Users in the current page.
-
data
final UserListPageResponse.Builder data(JsonField<List<OrganizationGroupUser>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<OrganizationGroupUser>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addData
final UserListPageResponse.Builder addData(OrganizationGroupUser data)
Adds a single OrganizationGroupUser to Builder.data.
-
hasMore
final UserListPageResponse.Builder hasMore(Boolean hasMore)
Whether more users are available when paginating.
-
hasMore
final UserListPageResponse.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.
-
next
final UserListPageResponse.Builder next(String next)
Cursor to fetch the next page of results, or
nullwhen no further users are available.
-
next
final UserListPageResponse.Builder next(Optional<String> next)
Alias for calling Builder.next with
next.orElse(null).
-
next
final UserListPageResponse.Builder next(JsonField<String> next)
Sets Builder.next to an arbitrary JSON value.
You should usually call Builder.next 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 UserListPageResponse.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 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:
.data() .hasMore() .next()
-
-
-
-