Class PermissionListPageResponse.Builder
-
- All Implemented Interfaces:
public final class PermissionListPageResponse.BuilderA builder for PermissionListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final PermissionListPageResponse.Builder data(List<RbacRolePermission> data)
-
data
final PermissionListPageResponse.Builder data(JsonField<List<RbacRolePermission>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<RbacRolePermission>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
hasMore
final PermissionListPageResponse.Builder hasMore(Boolean hasMore)
Indicates whether there are more results beyond this page.
-
hasMore
final PermissionListPageResponse.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.
-
nextPage
final PermissionListPageResponse.Builder nextPage(String nextPage)
Opaque cursor for the next page. Pass as the
pageparameter on the next request.
-
nextPage
final PermissionListPageResponse.Builder nextPage(Optional<String> nextPage)
Alias for calling Builder.nextPage with
nextPage.orElse(null).
-
nextPage
final PermissionListPageResponse.Builder nextPage(JsonField<String> nextPage)
Sets Builder.nextPage to an arbitrary JSON value.
You should usually call Builder.nextPage 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 PermissionListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
addData
final PermissionListPageResponse.Builder addData(RbacRolePermission data)
Adds a single RbacRolePermission to Builder.data.
-
putAdditionalProperty
final PermissionListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PermissionListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PermissionListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PermissionListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PermissionListPageResponse build()
Returns an immutable instance of PermissionListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .hasMore() .nextPage()
-
-
-
-