Package app.knock.api.models.users
Class UserListPageResponse.Builder
-
- All Implemented Interfaces:
public final class UserListPageResponse.BuilderA builder for UserListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
entries
final UserListPageResponse.Builder entries(List<User> entries)
A list of users.
-
entries
final UserListPageResponse.Builder entries(JsonField<List<User>> entries)
Sets Builder.entries to an arbitrary JSON value.
You should usually call Builder.entries with a well-typed
List<User>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addEntry
final UserListPageResponse.Builder addEntry(User entry)
-
pageInfo
final UserListPageResponse.Builder pageInfo(PageInfo pageInfo)
Pagination information for a list of resources.
-
pageInfo
final UserListPageResponse.Builder pageInfo(JsonField<PageInfo> pageInfo)
Sets Builder.pageInfo to an arbitrary JSON value.
You should usually call Builder.pageInfo with a well-typed PageInfo 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)
-
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.
-
-
-
-