Class CreateUserRequest

java.lang.Object
ai.vectros.resources.identity.requests.CreateUserRequest

public final class CreateUserRequest extends Object
  • Method Details

    • getUpsert

      public Optional<Boolean> getUpsert()
      Returns:
      When true, if a user with the same externalId already exists its mutable fields (email, status, payload, schemaId) are updated to the submitted values instead of being returned unchanged; the immutable externalId and type are never changed, and email cannot be changed while an invitation to that user is still outstanding. Defaults to false. Requires the users:u scope in addition to users:c. A context-confined credential attempting to overwrite a user outside its own app context receives the uniform 400 ("already exists") rather than the overwrite.
    • getBody

      public UserRequest getBody()
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static CreateUserRequest.BodyStage builder()