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