Class UserListPageResponse.Builder
-
- All Implemented Interfaces:
public final class UserListPageResponse.BuilderA builder for UserListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final UserListPageResponse.Builder data(List<BetaOrganizationUser> data)
-
data
final UserListPageResponse.Builder data(JsonField<List<BetaOrganizationUser>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<BetaOrganizationUser>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
firstId
final UserListPageResponse.Builder firstId(String firstId)
First ID in the
datalist. Can be used as thebefore_idfor the previous page.
-
firstId
final UserListPageResponse.Builder firstId(Optional<String> firstId)
Alias for calling Builder.firstId with
firstId.orElse(null).
-
firstId
final UserListPageResponse.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 UserListPageResponse.Builder hasMore(Boolean hasMore)
Indicates if there are more results in the requested page direction.
-
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.
-
lastId
final UserListPageResponse.Builder lastId(String lastId)
Last ID in the
datalist. Can be used as theafter_idfor the next page.
-
lastId
final UserListPageResponse.Builder lastId(Optional<String> lastId)
Alias for calling Builder.lastId with
lastId.orElse(null).
-
lastId
final UserListPageResponse.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.
-
additionalProperties
final UserListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
addData
final UserListPageResponse.Builder addData(BetaOrganizationUser data)
Adds a single BetaOrganizationUser to Builder.data.
-
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() .firstId() .hasMore() .lastId()
-
-
-
-