Class SecurityScheme
- java.lang.Object
-
- io.swagger.v3.oas.models.security.SecurityScheme
-
public class SecurityScheme extends Object
SecurityScheme- See Also:
- "https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#security-scheme-object", "https://github.com/OAI/OpenAPI-Specification/blob/3.1.1/versions/3.1.1.md#security-scheme-object"
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecurityScheme.InGets or Sets instatic classSecurityScheme.TypeGets or Sets type
-
Constructor Summary
Constructors Constructor Description SecurityScheme()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityScheme$ref(String $ref)voidaddExtension(String name, Object value)voidaddExtension31(String name, Object value)SecuritySchemebearerFormat(String bearerFormat)SecuritySchemedescription(String description)booleanequals(Object o)SecuritySchemeextensions(Map<String,Object> extensions)SecuritySchemeflows(OAuthFlows flows)Stringget$ref()returns the $ref property from an SecurityScheme instance.StringgetBearerFormat()returns the bearerFormat property from a SecurityScheme instance.StringgetDescription()returns the description property from a SecurityScheme instance.Map<String,Object>getExtensions()OAuthFlowsgetFlows()returns the flows property from a SecurityScheme instance.SecurityScheme.IngetIn()returns the in property from a SecurityScheme instance.StringgetName()returns the name property from a SecurityScheme instance.StringgetOpenIdConnectUrl()returns the openIdConnectUrl property from a SecurityScheme instance.StringgetScheme()returns the scheme property from a SecurityScheme instance.SecurityScheme.TypegetType()returns the type property from a SecurityScheme instance.inthashCode()SecuritySchemein(SecurityScheme.In in)SecuritySchemename(String name)SecuritySchemeopenIdConnectUrl(String openIdConnectUrl)SecuritySchemescheme(String scheme)voidset$ref(String $ref)voidsetBearerFormat(String bearerFormat)voidsetDescription(String description)voidsetExtensions(Map<String,Object> extensions)voidsetFlows(OAuthFlows flows)voidsetIn(SecurityScheme.In in)voidsetName(String name)voidsetOpenIdConnectUrl(String openIdConnectUrl)voidsetScheme(String scheme)voidsetType(SecurityScheme.Type type)StringtoString()SecuritySchemetype(SecurityScheme.Type type)
-
-
-
Method Detail
-
getType
public SecurityScheme.Type getType()
returns the type property from a SecurityScheme instance.- Returns:
- Type type
-
setType
public void setType(SecurityScheme.Type type)
-
type
public SecurityScheme type(SecurityScheme.Type type)
-
getDescription
public String getDescription()
returns the description property from a SecurityScheme instance.- Returns:
- String description
-
setDescription
public void setDescription(String description)
-
description
public SecurityScheme description(String description)
-
getName
public String getName()
returns the name property from a SecurityScheme instance.- Returns:
- String name
-
setName
public void setName(String name)
-
name
public SecurityScheme name(String name)
-
getIn
public SecurityScheme.In getIn()
returns the in property from a SecurityScheme instance.- Returns:
- In in
-
setIn
public void setIn(SecurityScheme.In in)
-
in
public SecurityScheme in(SecurityScheme.In in)
-
getScheme
public String getScheme()
returns the scheme property from a SecurityScheme instance.- Returns:
- String scheme
-
setScheme
public void setScheme(String scheme)
-
scheme
public SecurityScheme scheme(String scheme)
-
getBearerFormat
public String getBearerFormat()
returns the bearerFormat property from a SecurityScheme instance.- Returns:
- String bearerFormat
-
setBearerFormat
public void setBearerFormat(String bearerFormat)
-
bearerFormat
public SecurityScheme bearerFormat(String bearerFormat)
-
getFlows
public OAuthFlows getFlows()
returns the flows property from a SecurityScheme instance.- Returns:
- OAuthFlows flows
-
setFlows
public void setFlows(OAuthFlows flows)
-
flows
public SecurityScheme flows(OAuthFlows flows)
-
getOpenIdConnectUrl
public String getOpenIdConnectUrl()
returns the openIdConnectUrl property from a SecurityScheme instance.- Returns:
- String openIdConnectUrl
-
setOpenIdConnectUrl
public void setOpenIdConnectUrl(String openIdConnectUrl)
-
openIdConnectUrl
public SecurityScheme openIdConnectUrl(String openIdConnectUrl)
-
extensions
public SecurityScheme extensions(Map<String,Object> extensions)
-
get$ref
public String get$ref()
returns the $ref property from an SecurityScheme instance.- Returns:
- String $ref
-
set$ref
public void set$ref(String $ref)
-
$ref
public SecurityScheme $ref(String $ref)
-
-