Class PathParameter
- java.lang.Object
-
- io.swagger.v3.oas.models.parameters.Parameter
-
- io.swagger.v3.oas.models.parameters.PathParameter
-
public class PathParameter extends Parameter
PathParameter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.swagger.v3.oas.models.parameters.Parameter
Parameter.StyleEnum
-
-
Constructor Summary
Constructors Constructor Description PathParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetIn()returns the in property from a PathParameter instance.BooleangetRequired()returns the required property from a PathParameter instance.inthashCode()PathParameterin(String in)PathParameterrequired(Boolean required)voidsetIn(String in)voidsetRequired(Boolean required)StringtoString()-
Methods inherited from class io.swagger.v3.oas.models.parameters.Parameter
$ref, addExample, addExtension, addExtension31, allowEmptyValue, allowReserved, content, deprecated, description, example, examples, explode, extensions, get$ref, getAllowEmptyValue, getAllowReserved, getContent, getDeprecated, getDescription, getExample, getExamples, getExplode, getExtensions, getName, getSchema, getStyle, name, schema, set$ref, setAllowEmptyValue, setAllowReserved, setContent, setDeprecated, setDescription, setExample, setExamples, setExplode, setExtensions, setName, setSchema, setStyle, style
-
-
-
-
Method Detail
-
getIn
public String getIn()
returns the in property from a PathParameter instance.
-
in
public PathParameter in(String in)
-
getRequired
public Boolean getRequired()
returns the required property from a PathParameter instance.- Overrides:
getRequiredin classParameter- Returns:
- Boolean required
-
setRequired
public void setRequired(Boolean required)
- Overrides:
setRequiredin classParameter
-
required
public PathParameter required(Boolean required)
-
-