SecurityScheme constructor
SecurityScheme({
- SecurityScheme_Type? type,
- String? description,
- String? name,
- SecurityScheme_In? in_4,
- SecurityScheme_Flow? flow,
- String? authorizationUrl,
- String? tokenUrl,
- Scopes? scopes,
- Map<
String, Value> ? extensions,
Implementation
factory SecurityScheme({
SecurityScheme_Type? type,
$core.String? description,
$core.String? name,
SecurityScheme_In? in_4,
SecurityScheme_Flow? flow,
$core.String? authorizationUrl,
$core.String? tokenUrl,
Scopes? scopes,
$core.Map<$core.String, $0.Value>? extensions,
}) {
final _result = create();
if (type != null) {
_result.type = type;
}
if (description != null) {
_result.description = description;
}
if (name != null) {
_result.name = name;
}
if (in_4 != null) {
_result.in_4 = in_4;
}
if (flow != null) {
_result.flow = flow;
}
if (authorizationUrl != null) {
_result.authorizationUrl = authorizationUrl;
}
if (tokenUrl != null) {
_result.tokenUrl = tokenUrl;
}
if (scopes != null) {
_result.scopes = scopes;
}
if (extensions != null) {
_result.extensions.addAll(extensions);
}
return _result;
}