ImportHumanUserRequest constructor
ImportHumanUserRequest({
- String? userName,
- ImportHumanUserRequest_Profile? profile,
- ImportHumanUserRequest_Email? email,
- ImportHumanUserRequest_Phone? phone,
- String? password,
- ImportHumanUserRequest_HashedPassword? hashedPassword,
- bool? passwordChangeRequired,
- bool? requestPasswordlessRegistration,
- String? otpCode,
- Iterable<
ImportHumanUserRequest_IDP> ? idps,
Implementation
factory ImportHumanUserRequest({
$core.String? userName,
ImportHumanUserRequest_Profile? profile,
ImportHumanUserRequest_Email? email,
ImportHumanUserRequest_Phone? phone,
$core.String? password,
ImportHumanUserRequest_HashedPassword? hashedPassword,
$core.bool? passwordChangeRequired,
$core.bool? requestPasswordlessRegistration,
$core.String? otpCode,
$core.Iterable<ImportHumanUserRequest_IDP>? idps,
}) {
final $result = create();
if (userName != null) {
$result.userName = userName;
}
if (profile != null) {
$result.profile = profile;
}
if (email != null) {
$result.email = email;
}
if (phone != null) {
$result.phone = phone;
}
if (password != null) {
$result.password = password;
}
if (hashedPassword != null) {
$result.hashedPassword = hashedPassword;
}
if (passwordChangeRequired != null) {
$result.passwordChangeRequired = passwordChangeRequired;
}
if (requestPasswordlessRegistration != null) {
$result.requestPasswordlessRegistration = requestPasswordlessRegistration;
}
if (otpCode != null) {
$result.otpCode = otpCode;
}
if (idps != null) {
$result.idps.addAll(idps);
}
return $result;
}