Class UserCreateResponse.Builder
-
- All Implemented Interfaces:
public final class UserCreateResponse.BuilderA builder for UserCreateResponse.
-
-
Method Summary
-
-
Method Detail
-
groupId
final UserCreateResponse.Builder groupId(String groupId)
Identifier of the group the user was added to.
-
groupId
final UserCreateResponse.Builder groupId(JsonField<String> groupId)
Sets Builder.groupId to an arbitrary JSON value.
You should usually call Builder.groupId 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 UserCreateResponse.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("group.user")This method is primarily for setting the field to an undocumented or not yet supported value.
-
userId
final UserCreateResponse.Builder userId(String userId)
Identifier of the user that was added.
-
userId
final UserCreateResponse.Builder userId(JsonField<String> userId)
Sets Builder.userId to an arbitrary JSON value.
You should usually call Builder.userId 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 UserCreateResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UserCreateResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UserCreateResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UserCreateResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UserCreateResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UserCreateResponse build()
Returns an immutable instance of UserCreateResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.groupId() .userId()
-
-
-
-