LfA2aV1SecurityScheme.fromJson constructor
LfA2aV1SecurityScheme.fromJson(
- Map json_
Implementation
LfA2aV1SecurityScheme.fromJson(core.Map json_)
: this(
apiKeySecurityScheme: json_.containsKey('apiKeySecurityScheme')
? LfA2aV1APIKeySecurityScheme.fromJson(
json_['apiKeySecurityScheme']
as core.Map<core.String, core.dynamic>,
)
: null,
httpAuthSecurityScheme: json_.containsKey('httpAuthSecurityScheme')
? LfA2aV1HTTPAuthSecurityScheme.fromJson(
json_['httpAuthSecurityScheme']
as core.Map<core.String, core.dynamic>,
)
: null,
mtlsSecurityScheme: json_.containsKey('mtlsSecurityScheme')
? LfA2aV1MutualTlsSecurityScheme.fromJson(
json_['mtlsSecurityScheme']
as core.Map<core.String, core.dynamic>,
)
: null,
oauth2SecurityScheme: json_.containsKey('oauth2SecurityScheme')
? LfA2aV1OAuth2SecurityScheme.fromJson(
json_['oauth2SecurityScheme']
as core.Map<core.String, core.dynamic>,
)
: null,
openIdConnectSecurityScheme:
json_.containsKey('openIdConnectSecurityScheme')
? LfA2aV1OpenIdConnectSecurityScheme.fromJson(
json_['openIdConnectSecurityScheme']
as core.Map<core.String, core.dynamic>,
)
: null,
);