Class LocalizableRefProperty

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

    public class LocalizableRefProperty
    extends io.swagger.models.properties.RefProperty
    Localizable RefProperty.
    • Constructor Detail

      • LocalizableRefProperty

        public LocalizableRefProperty()
        Creates a new LocalizableRefProperty.
      • LocalizableRefProperty

        public LocalizableRefProperty​(String ref)
        Creates a new LocalizableRefProperty with the given JSON Reference.
        Parameters:
        ref - JSON Reference
    • Method Detail

      • title

        public LocalizableRefProperty title​(String title)
        Specified by:
        title in interface io.swagger.models.properties.Property
        Overrides:
        title in class io.swagger.models.properties.AbstractProperty
      • setTitle

        public void setTitle​(String title)
        Specified by:
        setTitle in interface io.swagger.models.properties.Property
        Overrides:
        setTitle in class io.swagger.models.properties.AbstractProperty
      • description

        public LocalizableRefProperty description​(String description)
        Specified by:
        description in interface io.swagger.models.properties.Property
        Overrides:
        description in class io.swagger.models.properties.RefProperty
      • setDescription

        public void setDescription​(String description)
        Specified by:
        setDescription in interface io.swagger.models.properties.Property
        Overrides:
        setDescription in class io.swagger.models.properties.AbstractProperty
      • setVendorExtension

        public abstract void setVendorExtension​(String name,
                                                Object value)
        Pull method from AbstractProperty into this interface.
        Parameters:
        name - The name.
        value - The value.
      • setFormat

        public abstract void setFormat​(String format)
        Pull method from AbstractProperty into this interface.
        Parameters:
        format - The format.
      • getTitle

        public abstract String getTitle()
      • getDescription

        public abstract String getDescription()