UpdateAzureADProviderRequest constructor

UpdateAzureADProviderRequest({
  1. String? id,
  2. String? name,
  3. String? clientId,
  4. String? clientSecret,
  5. AzureADTenant? tenant,
  6. bool? emailVerified,
  7. Iterable<String>? scopes,
  8. Options? providerOptions,
})

Implementation

factory UpdateAzureADProviderRequest({
  $core.String? id,
  $core.String? name,
  $core.String? clientId,
  $core.String? clientSecret,
  $11.AzureADTenant? tenant,
  $core.bool? emailVerified,
  $core.Iterable<$core.String>? scopes,
  $11.Options? providerOptions,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (name != null) {
    _result.name = name;
  }
  if (clientId != null) {
    _result.clientId = clientId;
  }
  if (clientSecret != null) {
    _result.clientSecret = clientSecret;
  }
  if (tenant != null) {
    _result.tenant = tenant;
  }
  if (emailVerified != null) {
    _result.emailVerified = emailVerified;
  }
  if (scopes != null) {
    _result.scopes.addAll(scopes);
  }
  if (providerOptions != null) {
    _result.providerOptions = providerOptions;
  }
  return _result;
}