/** * Same as {@link #setType(String)}. * * @param value * The new value for this property. * <br>Non-String values will be converted to String using <code>toString()</code>. * <br>Can be <jk>null</jk> to unset the property. * @return This object (for method chaining). */ public HeaderInfo type(Object value) { return setType(toStringVal(value)); }
/** * Same as {@link #setDescription(String)}. * * @param value * The new value for this property. * <br>Non-String values will be converted to String using <code>toString()</code>. * <br>Can be <jk>null</jk> to unset the property. * @return This object (for method chaining). */ public ResponseInfo description(Object value) { return setDescription(toStringVal(value)); }
/** * Same as {@link #setDescription(String)}. * * @param value * The new value for this property. * <br>Non-String values will be converted to String using <code>toString()</code>. * <br>Can be <jk>null</jk> to unset the property. * @return This object (for method chaining). */ public SchemaInfo description(Object value) { return setDescription(toStringVal(value)); }
/** * Same as {@link #setName(String)}. * * @param value * The new value for this property. * <br>Non-String values will be converted to String using <code>toString()</code>. * <br>Can be <jk>null</jk> to unset the property. * @return This object (for method chaining). */ public ParameterInfo name(Object value) { return setName(toStringVal(value)); }
/** * Same as {@link #setSwagger(String)}. * * @param value * The new value for this property. * <br>Non-String values will be converted to String using <code>toString()</code>. * <br>Can be <jk>null</jk> to unset the property. * @return This object (for method chaining). */ public Swagger swagger(Object value) { return setSwagger(toStringVal(value)); }
/** * Same as {@link #setDiscriminator(String)}. * * @param value * The new value for this property. * <br>Non-String values will be converted to String using <code>toString()</code>. * <br>Can be <jk>null</jk> to unset the property. * @return This object (for method chaining). */ public SchemaInfo discriminator(Object value) { return setDiscriminator(toStringVal(value)); }
/** * Same as {@link #setVersion(String)}. * * @param value * The new value for this property. * <br>Non-String values will be converted to String using <code>toString()</code>. * <br>Can be <jk>null</jk> to unset the property. * @return This object (for method chaining). */ public Info version(Object value) { return setVersion(toStringVal(value)); }
/** * Same as {@link #setPattern(String)}. * * @param value * The new value for this property. * <br>Non-String values will be converted to String using <code>toString()</code>. * <br>Can be <jk>null</jk> to unset the property. * @return This object (for method chaining). */ public ParameterInfo pattern(Object value) { return setPattern(toStringVal(value)); }
/** * Same as {@link #setSummary(String)}. * * @param value * The new value for this property. * <br>Non-String values will be converted to String using <code>toString()</code>. * <br>Can be <jk>null</jk> to unset the property. * @return This object (for method chaining). */ public Operation summary(Object value) { return setSummary(toStringVal(value)); }
/** * Same as {@link #setPattern(String)}. * * @param value * The new value for this property. * <br>Non-String values will be converted to String using <code>toString()</code>. * <br>Can be <jk>null</jk> to unset the property. * @return This object (for method chaining). */ public Items pattern(Object value) { return setPattern(toStringVal(value)); }
/** * Same as {@link #setName(String)}. * * @param value * The new value for this property. * <br>Non-String values will be converted to String using <code>toString()</code>. * <br>Can be <jk>null</jk> to unset the property. * @return This object (for method chaining). */ public Contact name(Object value) { return setName(toStringVal(value)); }
/** * Same as {@link #setFormat(String)}. * * @param value * The new value for this property. * <br>Non-String values will be converted to String using <code>toString()</code>. * <br>Can be <jk>null</jk> to unset the property. * @return This object (for method chaining). */ public HeaderInfo format(Object value) { return setFormat(toStringVal(value)); }
/** * Same as {@link #setPattern(String)}. * * @param value * The new value for this property. * <br>Non-String values will be converted to String using <code>toString()</code>. * <br>Can be <jk>null</jk> to unset the property. * @return This object (for method chaining). */ public HeaderInfo pattern(Object value) { return setPattern(toStringVal(value)); }
/** * Same as {@link #setTermsOfService(String)}. * * @param value * The new value for this property. * <br>Non-String values will be converted to String using <code>toString()</code>. * <br>Can be <jk>null</jk> to unset the property. * @return This object (for method chaining). */ public Info termsOfService(Object value) { return setTermsOfService(toStringVal(value)); }
/** * Same as {@link #setDescription(String)}. * * @param value * The new value for this property. * <br>Non-String values will be converted to String using <code>toString()</code>. * <br>Can be <jk>null</jk> to unset the property. * @return This object (for method chaining). */ public SecurityScheme description(Object value) { return setDescription(toStringVal(value)); }
/** * Same as {@link #setFormat(String)}. * * @param value * The new value for this property. * <br>Non-String values will be converted to String using <code>toString()</code>. * <br>Can be <jk>null</jk> to unset the property. * @return This object (for method chaining). */ public Items format(Object value) { return setFormat(toStringVal(value)); }
/** * Same as {@link #setDescription(String)}. * * @param value * The new value for this property. * <br>Non-String values will be converted to String using <code>toString()</code>. * <br>Can be <jk>null</jk> to unset the property. * @return This object (for method chaining). */ public ExternalDocumentation description(Object value) { return setDescription(toStringVal(value)); }
/** * Same as {@link #setTermsOfService(String)}. * * @param value * The new value for this property. * <br>Non-String values will be converted to String using <code>toString()</code>. * <br>Can be <jk>null</jk> to unset the property. * @return This object (for method chaining). */ public Info termsOfService(Object value) { return setTermsOfService(toStringVal(value)); }
/** * Same as {@link #setName(String)}. * * @param value * The new value for this property. * <br>Non-String values will be converted to String using <code>toString()</code>. * <br>Can be <jk>null</jk> to unset the property. * @return This object (for method chaining). */ public ParameterInfo name(Object value) { return setName(toStringVal(value)); }
/** * Same as {@link #setSummary(String)}. * * @param value * The new value for this property. * <br>Non-String values will be converted to String using <code>toString()</code>. * <br>Can be <jk>null</jk> to unset the property. * @return This object (for method chaining). */ public Operation summary(Object value) { return setSummary(toStringVal(value)); }