UpdateSecretGeneratorRequest constructor

UpdateSecretGeneratorRequest({
  1. SecretGeneratorType? generatorType,
  2. int? length,
  3. Duration? expiry,
  4. bool? includeLowerLetters,
  5. bool? includeUpperLetters,
  6. bool? includeDigits,
  7. bool? includeSymbols,
})

Implementation

factory UpdateSecretGeneratorRequest({
  $24.SecretGeneratorType? generatorType,
  $core.int? length,
  $7.Duration? expiry,
  $core.bool? includeLowerLetters,
  $core.bool? includeUpperLetters,
  $core.bool? includeDigits,
  $core.bool? includeSymbols,
}) {
  final $result = create();
  if (generatorType != null) {
    $result.generatorType = generatorType;
  }
  if (length != null) {
    $result.length = length;
  }
  if (expiry != null) {
    $result.expiry = expiry;
  }
  if (includeLowerLetters != null) {
    $result.includeLowerLetters = includeLowerLetters;
  }
  if (includeUpperLetters != null) {
    $result.includeUpperLetters = includeUpperLetters;
  }
  if (includeDigits != null) {
    $result.includeDigits = includeDigits;
  }
  if (includeSymbols != null) {
    $result.includeSymbols = includeSymbols;
  }
  return $result;
}