Class Relationship

  • All Implemented Interfaces:
    io.swagger.models.properties.Property, Cloneable

    public class Relationship
    extends io.swagger.models.properties.ObjectProperty
    Represents a JSON-API resource identifier.
    • Field Summary

      • Fields inherited from class io.swagger.models.properties.ObjectProperty

        TYPE
      • Fields inherited from class io.swagger.models.properties.AbstractProperty

        access, allowEmptyValue, description, example, format, name, position, readOnly, required, title, type, vendorExtensions, xml
    • Constructor Summary

      Constructors 
      Constructor Description
      Relationship​(String relationshipType)
      Constructs a singular resource identifier.
    • Method Summary

      • Methods inherited from class io.swagger.models.properties.ObjectProperty

        _default, access, description, equals, example, getProperties, getRequiredProperties, hashCode, isType, isType, name, properties, property, readOnly, readOnly, required, setProperties, setRequiredProperties, title, vendorExtension, xml
      • Methods inherited from class io.swagger.models.properties.AbstractProperty

        allowEmptyValue, getAccess, getAllowEmptyValue, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getType, getVendorExtensions, getXml, rename, setAccess, setAllowEmptyValue, setDefault, setDescription, setExample, setExample, setFormat, setName, setPosition, setReadOnly, setRequired, setTitle, setType, setVendorExtension, setVendorExtensionMap, setVendorExtensions, setXml
      • Methods inherited from interface io.swagger.models.properties.Property

        getAccess, getAllowEmptyValue, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getType, getVendorExtensions, getXml, rename, setAccess, setAllowEmptyValue, setDefault, setDescription, setExample, setExample, setName, setPosition, setReadOnly, setRequired, setTitle, setXml
    • Constructor Detail

      • Relationship

        public Relationship​(String relationshipType)
        Constructs a singular resource identifier.
        Parameters:
        relationshipType - the type of resource.