AddGitLabProviderRequest constructor

AddGitLabProviderRequest({
  1. String? name,
  2. String? clientId,
  3. String? clientSecret,
  4. Iterable<String>? scopes,
  5. Options? providerOptions,
})

Implementation

factory AddGitLabProviderRequest({
  $core.String? name,
  $core.String? clientId,
  $core.String? clientSecret,
  $core.Iterable<$core.String>? scopes,
  $10.Options? providerOptions,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (clientId != null) {
    $result.clientId = clientId;
  }
  if (clientSecret != null) {
    $result.clientSecret = clientSecret;
  }
  if (scopes != null) {
    $result.scopes.addAll(scopes);
  }
  if (providerOptions != null) {
    $result.providerOptions = providerOptions;
  }
  return $result;
}