Class CreateUserRequest.Builder
- All Implemented Interfaces:
CreateUserRequest._FinalStage,CreateUserRequest.BodyStage
- Enclosing class:
CreateUserRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) body(@NotNull UserRequest body) build()from(CreateUserRequest other) Whentrue, if a user with the sameexternalIdalready exists its mutable fields (email, status, payload, schemaId) are updated to the submitted values instead of being returned unchanged; the immutableexternalIdandtypeare never changed, andemailcannot be changed while an invitation to that user is still outstanding.Whentrue, if a user with the sameexternalIdalready exists its mutable fields (email, status, payload, schemaId) are updated to the submitted values instead of being returned unchanged; the immutableexternalIdandtypeare never changed, andemailcannot be changed while an invitation to that user is still outstanding.
-
Method Details
-
from
- Specified by:
fromin interfaceCreateUserRequest.BodyStage
-
body
- Specified by:
bodyin interfaceCreateUserRequest.BodyStage
-
upsert
When
true, if a user with the sameexternalIdalready exists its mutable fields (email, status, payload, schemaId) are updated to the submitted values instead of being returned unchanged; the immutableexternalIdandtypeare never changed, andemailcannot be changed while an invitation to that user is still outstanding. Defaults tofalse. Requires theusers:uscope in addition tousers:c.- Specified by:
upsertin interfaceCreateUserRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
upsert
When
true, if a user with the sameexternalIdalready exists its mutable fields (email, status, payload, schemaId) are updated to the submitted values instead of being returned unchanged; the immutableexternalIdandtypeare never changed, andemailcannot be changed while an invitation to that user is still outstanding. Defaults tofalse. Requires theusers:uscope in addition tousers:c.- Specified by:
upsertin interfaceCreateUserRequest._FinalStage
-
build
- Specified by:
buildin interfaceCreateUserRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceCreateUserRequest._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceCreateUserRequest._FinalStage
-