Class PermissionCreatePageResponse.Builder
-
- All Implemented Interfaces:
public final class PermissionCreatePageResponse.Builder
A builder for PermissionCreatePageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final PermissionCreatePageResponse.Builder data(List<PermissionCreateResponse> data)
-
data
final PermissionCreatePageResponse.Builder data(JsonField<List<PermissionCreateResponse>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<PermissionCreateResponse>
value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addData
final PermissionCreatePageResponse.Builder addData(PermissionCreateResponse data)
Adds a single PermissionCreateResponse to Builder.data.
-
hasMore
final PermissionCreatePageResponse.Builder hasMore(Boolean hasMore)
-
hasMore
final PermissionCreatePageResponse.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.
-
object_
final PermissionCreatePageResponse.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.
-
firstId
final PermissionCreatePageResponse.Builder firstId(String firstId)
-
firstId
final PermissionCreatePageResponse.Builder firstId(Optional<String> firstId)
Alias for calling Builder.firstId with
firstId.orElse(null)
.
-
firstId
final PermissionCreatePageResponse.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.
-
lastId
final PermissionCreatePageResponse.Builder lastId(String lastId)
-
lastId
final PermissionCreatePageResponse.Builder lastId(Optional<String> lastId)
Alias for calling Builder.lastId with
lastId.orElse(null)
.
-
lastId
final PermissionCreatePageResponse.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 PermissionCreatePageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PermissionCreatePageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PermissionCreatePageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PermissionCreatePageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PermissionCreatePageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PermissionCreatePageResponse build()
Returns an immutable instance of PermissionCreatePageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .hasMore()
-
-
-
-