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({
  $26.SecretGeneratorType? generatorType,
  $core.int? length,
  $10.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;
}