Class PossibleValuesResponseV1
java.lang.Object
com.kingsrook.qqq.middleware.javalin.specs.v1.responses.PossibleValuesResponseV1
- All Implemented Interfaces:
AbstractMiddlewareOutputInterface,PossibleValuesOutputInterface,ToSchema
public class PossibleValuesResponseV1
extends Object
implements PossibleValuesOutputInterface, ToSchema
Response object for possible values searches.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for hasMoreGetter for optionsvoidsetHasMore(Boolean hasMore) Setter for hasMorevoidsetOptions(List<QPossibleValue<?>> options) Setter for options - from QPossibleValue list (from the output interface)voidsetPickerValues(Map<Serializable, Map<String, Serializable>> values, Map<Serializable, Map<String, String>> displayValues) Attach picker display values to the options, by id.withOptions(List<QPossibleValue<?>> options) Fluent setter for options - from QPossibleValue list
-
Constructor Details
-
PossibleValuesResponseV1
public PossibleValuesResponseV1()
-
-
Method Details
-
setOptions
Setter for options - from QPossibleValue list (from the output interface)- Specified by:
setOptionsin interfacePossibleValuesOutputInterface
-
withOptions
Fluent setter for options - from QPossibleValue list -
getOptions
Getter for options -
setPickerValues
public void setPickerValues(Map<Serializable, Map<String, Serializable>> values, Map<Serializable, Map<String, String>> displayValues) Attach picker display values to the options, by id.- Specified by:
setPickerValuesin interfacePossibleValuesOutputInterface
-
setHasMore
Setter for hasMore- Specified by:
setHasMorein interfacePossibleValuesOutputInterface
-
getHasMore
Getter for hasMore
-