Package springfox.documentation.schema
Class CompoundModelSpecification
- java.lang.Object
-
- springfox.documentation.schema.CompoundModelSpecification
-
public class CompoundModelSpecification extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CompoundModelSpecification(ModelKey modelKey, java.util.Collection<PropertySpecification> properties, java.lang.Integer maxProperties, java.lang.Integer minProperties, java.lang.String discriminator, java.util.List<ReferenceModelSpecification> subclassReferences)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getDiscriminator()
java.lang.Integer
getMaxProperties()
java.lang.Integer
getMinProperties()
ModelKey
getModelKey()
java.util.Collection<PropertySpecification>
getProperties()
java.util.Collection<ReferenceModelSpecification>
getSubclassReferences()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
CompoundModelSpecification
public CompoundModelSpecification(ModelKey modelKey, java.util.Collection<PropertySpecification> properties, java.lang.Integer maxProperties, java.lang.Integer minProperties, java.lang.String discriminator, java.util.List<ReferenceModelSpecification> subclassReferences)
-
-
Method Detail
-
getModelKey
public ModelKey getModelKey()
-
getProperties
public java.util.Collection<PropertySpecification> getProperties()
-
getMaxProperties
public java.lang.Integer getMaxProperties()
-
getMinProperties
public java.lang.Integer getMinProperties()
-
getSubclassReferences
public java.util.Collection<ReferenceModelSpecification> getSubclassReferences()
-
getDiscriminator
public java.lang.String getDiscriminator()
-
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
-
-