Package springfox.documentation.service
Class SimpleParameterSpecification
- java.lang.Object
-
- springfox.documentation.service.SimpleParameterSpecification
-
public class SimpleParameterSpecification extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SimpleParameterSpecification(ParameterStyle style, CollectionFormat collectionFormat, java.lang.Boolean explode, java.lang.Boolean allowReserved, java.lang.Boolean allowEmptyValue, java.lang.String defaultValue, ModelSpecification model, java.util.List<ElementFacet> facets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
<T extends ElementFacet>
java.util.Optional<T>facetOfType(java.lang.Class<T> clazz)
java.lang.Boolean
getAllowEmptyValue()
java.lang.Boolean
getAllowReserved()
CollectionFormat
getCollectionFormat()
java.lang.String
getDefaultValue()
java.lang.Boolean
getExplode()
java.util.List<ElementFacet>
getFacets()
ModelSpecification
getModel()
ParameterStyle
getStyle()
int
hashCode()
java.lang.Boolean
nullSafeIsExplode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
SimpleParameterSpecification
public SimpleParameterSpecification(ParameterStyle style, CollectionFormat collectionFormat, java.lang.Boolean explode, java.lang.Boolean allowReserved, java.lang.Boolean allowEmptyValue, java.lang.String defaultValue, ModelSpecification model, java.util.List<ElementFacet> facets)
-
-
Method Detail
-
getStyle
public ParameterStyle getStyle()
-
getExplode
public java.lang.Boolean getExplode()
-
nullSafeIsExplode
public java.lang.Boolean nullSafeIsExplode()
-
getAllowReserved
public java.lang.Boolean getAllowReserved()
-
getModel
public ModelSpecification getModel()
-
getCollectionFormat
public CollectionFormat getCollectionFormat()
-
getAllowEmptyValue
public java.lang.Boolean getAllowEmptyValue()
-
getFacets
public java.util.List<ElementFacet> getFacets()
-
facetOfType
public <T extends ElementFacet> java.util.Optional<T> facetOfType(java.lang.Class<T> clazz)
-
getDefaultValue
public java.lang.String getDefaultValue()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-