Package com.yahoo.elide.swagger.model
Class Data
- java.lang.Object
-
- io.swagger.models.AbstractModel
-
- io.swagger.models.ModelImpl
-
- com.yahoo.elide.swagger.model.Data
-
- All Implemented Interfaces:
io.swagger.models.Model
public class Data extends io.swagger.models.ModelImplRepresents a JSON-API collection of resources or resource identifiers. It is used when a schema is required for swagger.
-
-
Constructor Summary
Constructors Constructor Description Data(Relationship relationship)Used to construct a collection of resource identifiers.Data(String definitionName)
-
Method Summary
-
Methods inherited from class io.swagger.models.ModelImpl
_enum, _enum, additionalProperties, addRequired, allowEmptyValue, clone, description, discriminator, equals, example, format, getAdditionalProperties, getAllowEmptyValue, getDefaultValue, getDescription, getDiscriminator, getEnum, getExample, getFormat, getMaximum, getMinimum, getName, getSpecSpecifiedRequired, getType, getUniqueItems, hashCode, isSimple, maximum, minimum, name, property, required, setAdditionalProperties, setAllowEmptyValue, setDefaultValue, setDescription, setDiscriminator, setEnum, setExample, setFormat, setMaximum, setMinimum, setName, setSimple, setType, setUniqueItems, type, uniqueItems, xml
-
Methods inherited from class io.swagger.models.AbstractModel
addProperty, cloneTo, getExclusiveMaximum, getExclusiveMinimum, getExternalDocs, getMaxLength, getMinLength, getMultipleOf, getPattern, getProperties, getReference, getRequired, getTitle, getVendorExtensions, getXml, setExclusiveMaximum, setExclusiveMinimum, setExternalDocs, setMaxLength, setMinLength, setMultipleOf, setPattern, setProperties, setReference, setRequired, setTitle, setVendorExtension, setVendorExtensions, setXml
-
-
-
-
Constructor Detail
-
Data
public Data(String definitionName)
-
Data
public Data(Relationship relationship)
Used to construct a collection of resource identifiers.- Parameters:
relationship- is added as a property of 'data'.
-
-