Package springfox.documentation.service
Class Header
- java.lang.Object
-
- springfox.documentation.service.Header
-
public class Header extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Header(java.lang.String name, java.lang.String description, ModelReference modelReference, ModelSpecification modelSpecification)
Header(java.lang.String name, java.lang.String description, ModelReference modelReference, ModelSpecification modelSpecification, java.lang.Boolean required)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getDescription()
ModelReference
getModelReference()
ModelSpecification
getModelSpecification()
java.lang.String
getName()
java.lang.Boolean
getRequired()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
Header
public Header(java.lang.String name, java.lang.String description, ModelReference modelReference, ModelSpecification modelSpecification)
-
Header
public Header(java.lang.String name, java.lang.String description, ModelReference modelReference, ModelSpecification modelSpecification, java.lang.Boolean required)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getModelReference
public ModelReference getModelReference()
-
getDescription
public java.lang.String getDescription()
-
getModelSpecification
public ModelSpecification getModelSpecification()
-
getRequired
public java.lang.Boolean getRequired()
-
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
-
-