Package org.springdoc.core.models
Class ParameterId
java.lang.Object
org.springdoc.core.models.ParameterId
The type Parameter Id.
- Author:
- bnasslahsen
-
Constructor Summary
ConstructorsConstructorDescriptionParameterId
(io.swagger.v3.oas.annotations.Parameter parameter) Instantiates a new Parameter id.ParameterId
(io.swagger.v3.oas.models.parameters.Parameter parameter) Instantiates a new Parameter id.ParameterId
(String pName, String paramType) Instantiates a new Parameter id. -
Method Summary
Modifier and TypeMethodDescriptionboolean
get$ref()
Get ref string.Gets param type.getpName()
Gets name.int
hashCode()
void
Set ref.void
setParamType
(String paramType) Sets param type.void
Sets name.
-
Constructor Details
-
ParameterId
public ParameterId(io.swagger.v3.oas.models.parameters.Parameter parameter) Instantiates a new Parameter id.- Parameters:
parameter
- the parameter
-
ParameterId
public ParameterId(io.swagger.v3.oas.annotations.Parameter parameter) Instantiates a new Parameter id.- Parameters:
parameter
- the parameter
-
ParameterId
Instantiates a new Parameter id.- Parameters:
pName
- the p nameparamType
- the param type
-
-
Method Details
-
getpName
Gets name.- Returns:
- the name
-
setpName
Sets name.- Parameters:
pName
- the p name
-
getParamType
Gets param type.- Returns:
- the param type
-
setParamType
Sets param type.- Parameters:
paramType
- the param type
-
get$ref
Get ref string.- Returns:
- the string
-
set$ref
Set ref.- Parameters:
$ref
- the ref
-
equals
-
hashCode
public int hashCode()
-