/** * Adds one or more values to the <property>enum</property> property. * * @param values * The values to add to this property. * <br>Ignored if <jk>null</jk>. * @return This object (for method chaining). */ public HeaderInfo addEnum(Collection<Object> values) { _enum = addToList(_enum, values); return this; }
/** * Adds one or more values to the <property>allOf</property> property. * * @param values * The values to add to this property. * <br>Ignored if <jk>null</jk>. * @return This object (for method chaining). */ public SchemaInfo addAllOf(Collection<Object> values) { allOf = addToList(allOf, values); return this; }
/** * Adds one or more values to the <property>enum</property> property. * * @param value * The values to add to this property. * <br>Ignored if <jk>null</jk>. * @return This object (for method chaining). */ public SchemaInfo addEnum(Collection<Object> value) { _enum = addToList(_enum, value); return this; }
/** * Adds one or more values to the <property>enum</property> property. * * @param values * The values to add to this property. * <br>Ignored if <jk>null</jk>. * @return This object (for method chaining). */ public Items addEnum(Collection<Object> values) { _enum = addToList(_enum, values); return this; }
/** * Adds one or more values to the <property>enum</property> property. * * @param values * The values to add to this property. * <br>Ignored if <jk>null</jk>. * @return This object (for method chaining). */ public Items addEnum(Collection<Object> values) { _enum = addToList(_enum, values); return this; }
/** * Adds one or more values to the <property>enum</property> property. * * @param value * The values to add to this property. * <br>Ignored if <jk>null</jk>. * @return This object (for method chaining). */ public ParameterInfo addEnum(Collection<Object> value) { _enum = addToList(_enum, value); return this; }
/** * Adds one or more values to the <property>enum</property> property. * * @param values * The values to add to this property. * <br>Ignored if <jk>null</jk>. * @return This object (for method chaining). */ public Items addEnum(Collection<Object> values) { _enum = addToList(_enum, values); return this; }
/** * Adds one or more values to the <property>enum</property> property. * * @param value * The values to add to this property. * <br>Ignored if <jk>null</jk>. * @return This object (for method chaining). */ public ParameterInfo addEnum(Collection<Object> value) { _enum = addToList(_enum, value); return this; }
/** * Adds one or more values to the <property>enum</property> property. * * @param values * The values to add to this property. * <br>Ignored if <jk>null</jk>. * @return This object (for method chaining). */ public HeaderInfo addEnum(Collection<Object> values) { _enum = addToList(_enum, values); return this; }
/** * Adds one or more values to the <property>allOf</property> property. * * @param values * The values to add to this property. * <br>Ignored if <jk>null</jk>. * @return This object (for method chaining). */ public SchemaInfo addAllOf(Collection<Object> values) { allOf = addToList(allOf, values); return this; }
/** * Adds one or more values to the <property>enum</property> property. * * @param value * The values to add to this property. * <br>Ignored if <jk>null</jk>. * @return This object (for method chaining). */ public SchemaInfo addEnum(Collection<Object> value) { _enum = addToList(_enum, value); return this; }
/** * Adds one or more values to the <property>enum</property> property. * * @param value * The values to add to this property. * <br>Ignored if <jk>null</jk>. * @return This object (for method chaining). */ public SchemaInfo addEnum(Collection<Object> value) { _enum = addToList(_enum, value); return this; }
/** * Adds one or more values to the <property>enum</property> property. * * @param values * The values to add to this property. * <br>Ignored if <jk>null</jk>. * @return This object (for method chaining). */ public HeaderInfo addEnum(Collection<Object> values) { _enum = addToList(_enum, values); return this; }
/** * Adds one or more values to the <property>allOf</property> property. * * @param values * The values to add to this property. * <br>Ignored if <jk>null</jk>. * @return This object (for method chaining). */ public SchemaInfo addAllOf(Collection<Object> values) { allOf = addToList(allOf, values); return this; }
/** * Adds one or more values to the <property>enum</property> property. * * @param value * The values to add to this property. * <br>Ignored if <jk>null</jk>. * @return This object (for method chaining). */ public ParameterInfo addEnum(Collection<Object> value) { _enum = addToList(_enum, value); return this; }
/** * Adds one or more values to the <property>required</property> property. * * <p> * The list of required properties. * * @param value * The values to add to this property. * <br>Ignored if <jk>null</jk>. * @return This object (for method chaining). */ public SchemaInfo addRequired(Collection<String> value) { required = addToList(required, value); return this; }
/** * Adds one or more values to the <property>required</property> property. * * <p> * The list of required properties. * * @param value * The values to add to this property. * <br>Ignored if <jk>null</jk>. * @return This object (for method chaining). */ public SchemaInfo addRequired(Collection<String> value) { required = addToList(required, value); return this; }
/** * Adds one or more values to the <property>tags</property> property. * * <p> * A list of tags for API documentation control. * <br>Tags can be used for logical grouping of operations by resources or any other qualifier. * * @param value * The values to add to this property. * <br>Ignored if <jk>null</jk>. * @return This object (for method chaining). */ public Operation addTags(Collection<String> value) { tags = addToList(tags, value); return this; }
/** * Adds one or more values to the <property>schemes</property> property. * * <p> * The transfer protocol for the operation. * <br>The value overrides the Swagger Object <code>schemes</code> definition. * * @param value * The values to add to this property. * <br>Ignored if <jk>null</jk>. * @return This object (for method chaining). */ public Operation addSchemes(Collection<String> value) { schemes = addToList(schemes, value); return this; }
/** * Adds one or more values to the <property>required</property> property. * * <p> * The list of required properties. * * @param value * The values to add to this property. * <br>Ignored if <jk>null</jk>. * @return This object (for method chaining). */ public SchemaInfo addRequired(Collection<String> value) { required = addToList(required, value); return this; }