Package com.networknt.oas.model.impl
Class SecuritySchemeImpl
- java.lang.Object
-
- com.networknt.jsonoverlay.JsonOverlay<V>
-
- com.networknt.jsonoverlay.PropertiesOverlay<SecurityScheme>
-
- com.networknt.oas.model.impl.SecuritySchemeImpl
-
- All Implemented Interfaces:
com.networknt.jsonoverlay.IJsonOverlay<SecurityScheme>,com.networknt.jsonoverlay.IModelPart<OpenApi3,SecurityScheme>,SecurityScheme
public class SecuritySchemeImpl extends com.networknt.jsonoverlay.PropertiesOverlay<SecurityScheme> implements SecurityScheme
-
-
Field Summary
Fields Modifier and Type Field Description static StringF_authorizationCodeOAuthFlowstatic StringF_bearerFormatstatic StringF_clientCredentialsOAuthFlowstatic StringF_descriptionstatic StringF_extensionsstatic StringF_implicitOAuthFlowstatic StringF_instatic StringF_namestatic StringF_oAuthFlowsExtensionsstatic StringF_openIdConnectUrlstatic StringF_passwordOAuthFlowstatic StringF_schemestatic StringF_typestatic com.networknt.jsonoverlay.OverlayFactory<SecurityScheme>factory
-
Constructor Summary
Constructors Constructor Description SecuritySchemeImpl(com.fasterxml.jackson.databind.JsonNode json, com.networknt.jsonoverlay.JsonOverlay<?> parent, com.networknt.jsonoverlay.ReferenceManager refMgr)SecuritySchemeImpl(SecurityScheme securityScheme, com.networknt.jsonoverlay.JsonOverlay<?> parent, com.networknt.jsonoverlay.ReferenceManager refMgr)
-
Method Summary
-
Methods inherited from class com.networknt.jsonoverlay.PropertiesOverlay
_add, _createList, _createMap, _createScalar, _elaborate, _findInternal, _fixJson, _fromJson, _get, _get, _get, _get, _get, _get, _getList, _getList, _getMap, _getMap, _getOverlay, _insert, _isElaborated, _isPresent, _remove, _remove, _set, _set, _setList, _setMap, _setScalar, _toJsonInternal, equals, equals, hashCode
-
Methods inherited from class com.networknt.jsonoverlay.JsonOverlay
_ensureElaborated, _getCreatingRef, _jsonArray, _jsonBoolean, _jsonMissing, _jsonNull, _jsonObject, _jsonScalar, _jsonScalar, _jsonScalar, _jsonScalar, _jsonScalar, _jsonScalar, _jsonScalar, _jsonScalar, _jsonScalar, _setCreatingRef, _setParent, builder, create, toString
-
-
-
-
Field Detail
-
F_type
public static final String F_type
- See Also:
- Constant Field Values
-
F_description
public static final String F_description
- See Also:
- Constant Field Values
-
F_name
public static final String F_name
- See Also:
- Constant Field Values
-
F_in
public static final String F_in
- See Also:
- Constant Field Values
-
F_scheme
public static final String F_scheme
- See Also:
- Constant Field Values
-
F_bearerFormat
public static final String F_bearerFormat
- See Also:
- Constant Field Values
-
F_implicitOAuthFlow
public static final String F_implicitOAuthFlow
- See Also:
- Constant Field Values
-
F_passwordOAuthFlow
public static final String F_passwordOAuthFlow
- See Also:
- Constant Field Values
-
F_clientCredentialsOAuthFlow
public static final String F_clientCredentialsOAuthFlow
- See Also:
- Constant Field Values
-
F_authorizationCodeOAuthFlow
public static final String F_authorizationCodeOAuthFlow
- See Also:
- Constant Field Values
-
F_oAuthFlowsExtensions
public static final String F_oAuthFlowsExtensions
- See Also:
- Constant Field Values
-
F_openIdConnectUrl
public static final String F_openIdConnectUrl
- See Also:
- Constant Field Values
-
F_extensions
public static final String F_extensions
- See Also:
- Constant Field Values
-
factory
public static com.networknt.jsonoverlay.OverlayFactory<SecurityScheme> factory
-
-
Constructor Detail
-
SecuritySchemeImpl
public SecuritySchemeImpl(com.fasterxml.jackson.databind.JsonNode json, com.networknt.jsonoverlay.JsonOverlay<?> parent, com.networknt.jsonoverlay.ReferenceManager refMgr)
-
SecuritySchemeImpl
public SecuritySchemeImpl(SecurityScheme securityScheme, com.networknt.jsonoverlay.JsonOverlay<?> parent, com.networknt.jsonoverlay.ReferenceManager refMgr)
-
-
Method Detail
-
getKey
public String getKey()
- Specified by:
getKeyin interfaceSecurityScheme
-
getType
public String getType()
- Specified by:
getTypein interfaceSecurityScheme
-
setType
public void setType(String type)
- Specified by:
setTypein interfaceSecurityScheme
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceSecurityScheme
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceSecurityScheme
-
getName
public String getName()
- Specified by:
getNamein interfaceSecurityScheme
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceSecurityScheme
-
getIn
public String getIn()
- Specified by:
getInin interfaceSecurityScheme
-
setIn
public void setIn(String in)
- Specified by:
setInin interfaceSecurityScheme
-
getScheme
public String getScheme()
- Specified by:
getSchemein interfaceSecurityScheme
-
setScheme
public void setScheme(String scheme)
- Specified by:
setSchemein interfaceSecurityScheme
-
getBearerFormat
public String getBearerFormat()
- Specified by:
getBearerFormatin interfaceSecurityScheme
-
setBearerFormat
public void setBearerFormat(String bearerFormat)
- Specified by:
setBearerFormatin interfaceSecurityScheme
-
getImplicitOAuthFlow
public OAuthFlow getImplicitOAuthFlow()
- Specified by:
getImplicitOAuthFlowin interfaceSecurityScheme
-
getImplicitOAuthFlow
public OAuthFlow getImplicitOAuthFlow(boolean elaborate)
- Specified by:
getImplicitOAuthFlowin interfaceSecurityScheme
-
setImplicitOAuthFlow
public void setImplicitOAuthFlow(OAuthFlow implicitOAuthFlow)
- Specified by:
setImplicitOAuthFlowin interfaceSecurityScheme
-
getPasswordOAuthFlow
public OAuthFlow getPasswordOAuthFlow()
- Specified by:
getPasswordOAuthFlowin interfaceSecurityScheme
-
getPasswordOAuthFlow
public OAuthFlow getPasswordOAuthFlow(boolean elaborate)
- Specified by:
getPasswordOAuthFlowin interfaceSecurityScheme
-
setPasswordOAuthFlow
public void setPasswordOAuthFlow(OAuthFlow passwordOAuthFlow)
- Specified by:
setPasswordOAuthFlowin interfaceSecurityScheme
-
getClientCredentialsOAuthFlow
public OAuthFlow getClientCredentialsOAuthFlow()
- Specified by:
getClientCredentialsOAuthFlowin interfaceSecurityScheme
-
getClientCredentialsOAuthFlow
public OAuthFlow getClientCredentialsOAuthFlow(boolean elaborate)
- Specified by:
getClientCredentialsOAuthFlowin interfaceSecurityScheme
-
setClientCredentialsOAuthFlow
public void setClientCredentialsOAuthFlow(OAuthFlow clientCredentialsOAuthFlow)
- Specified by:
setClientCredentialsOAuthFlowin interfaceSecurityScheme
-
getAuthorizationCodeOAuthFlow
public OAuthFlow getAuthorizationCodeOAuthFlow()
- Specified by:
getAuthorizationCodeOAuthFlowin interfaceSecurityScheme
-
getAuthorizationCodeOAuthFlow
public OAuthFlow getAuthorizationCodeOAuthFlow(boolean elaborate)
- Specified by:
getAuthorizationCodeOAuthFlowin interfaceSecurityScheme
-
setAuthorizationCodeOAuthFlow
public void setAuthorizationCodeOAuthFlow(OAuthFlow authorizationCodeOAuthFlow)
- Specified by:
setAuthorizationCodeOAuthFlowin interfaceSecurityScheme
-
getOAuthFlowsExtensions
public Map<String,Object> getOAuthFlowsExtensions()
- Specified by:
getOAuthFlowsExtensionsin interfaceSecurityScheme
-
getOAuthFlowsExtensions
public Map<String,Object> getOAuthFlowsExtensions(boolean elaborate)
- Specified by:
getOAuthFlowsExtensionsin interfaceSecurityScheme
-
hasOAuthFlowsExtensions
public boolean hasOAuthFlowsExtensions()
- Specified by:
hasOAuthFlowsExtensionsin interfaceSecurityScheme
-
hasOAuthFlowsExtension
public boolean hasOAuthFlowsExtension(String name)
- Specified by:
hasOAuthFlowsExtensionin interfaceSecurityScheme
-
getOAuthFlowsExtension
public Object getOAuthFlowsExtension(String name)
- Specified by:
getOAuthFlowsExtensionin interfaceSecurityScheme
-
setOAuthFlowsExtensions
public void setOAuthFlowsExtensions(Map<String,Object> oAuthFlowsExtensions)
- Specified by:
setOAuthFlowsExtensionsin interfaceSecurityScheme
-
setOAuthFlowsExtension
public void setOAuthFlowsExtension(String name, Object oAuthFlowsExtension)
- Specified by:
setOAuthFlowsExtensionin interfaceSecurityScheme
-
removeOAuthFlowsExtension
public void removeOAuthFlowsExtension(String name)
- Specified by:
removeOAuthFlowsExtensionin interfaceSecurityScheme
-
getOpenIdConnectUrl
public String getOpenIdConnectUrl()
- Specified by:
getOpenIdConnectUrlin interfaceSecurityScheme
-
setOpenIdConnectUrl
public void setOpenIdConnectUrl(String openIdConnectUrl)
- Specified by:
setOpenIdConnectUrlin interfaceSecurityScheme
-
getExtensions
public Map<String,Object> getExtensions()
- Specified by:
getExtensionsin interfaceSecurityScheme
-
getExtensions
public Map<String,Object> getExtensions(boolean elaborate)
- Specified by:
getExtensionsin interfaceSecurityScheme
-
hasExtensions
public boolean hasExtensions()
- Specified by:
hasExtensionsin interfaceSecurityScheme
-
hasExtension
public boolean hasExtension(String name)
- Specified by:
hasExtensionin interfaceSecurityScheme
-
getExtension
public Object getExtension(String name)
- Specified by:
getExtensionin interfaceSecurityScheme
-
setExtensions
public void setExtensions(Map<String,Object> extensions)
- Specified by:
setExtensionsin interfaceSecurityScheme
-
setExtension
public void setExtension(String name, Object extension)
- Specified by:
setExtensionin interfaceSecurityScheme
-
removeExtension
public void removeExtension(String name)
- Specified by:
removeExtensionin interfaceSecurityScheme
-
_elaborateJson
protected void _elaborateJson()
- Overrides:
_elaborateJsonin classcom.networknt.jsonoverlay.PropertiesOverlay<SecurityScheme>
-
_getModelType
public Class<?> _getModelType()
- Overrides:
_getModelTypein classcom.networknt.jsonoverlay.JsonOverlay<SecurityScheme>
-
_getFactory
protected com.networknt.jsonoverlay.OverlayFactory<?> _getFactory()
- Specified by:
_getFactoryin classcom.networknt.jsonoverlay.JsonOverlay<SecurityScheme>
-
builder
public static <OV extends com.networknt.jsonoverlay.IJsonOverlay<?>> com.networknt.jsonoverlay.Builder<SecurityScheme> builder(OV modelMember)
-
create
public static <OV extends com.networknt.jsonoverlay.IJsonOverlay<?>> SecurityScheme create(OV modelMember)
-
-