AddGitHubProviderRequest constructor
AddGitHubProviderRequest({})
Implementation
factory AddGitHubProviderRequest({
$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;
}