Class PreferencesResponseV1
java.lang.Object
com.kingsrook.qqq.middleware.javalin.specs.v1.responses.PreferencesResponseV1
- All Implemented Interfaces:
AbstractMiddlewareOutputInterface,UserPreferencesOutputInterface,ToSchema
public class PreferencesResponseV1
extends Object
implements UserPreferencesOutputInterface, ToSchema
PreferencesResponseV1 in the user preferences API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet sections.voidMap each visible section.voidsetSections(List<PreferenceSectionV1> sections) Set sections.toSchema()Visible sections in display order, with only the signed-in user's values.withSections(List<PreferenceSectionV1> sections) With sections.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.kingsrook.qqq.middleware.javalin.executors.io.UserPreferencesOutputInterface
setActionResult
-
Constructor Details
-
PreferencesResponseV1
public PreferencesResponseV1()
-
-
Method Details
-
toSchema
-
setPreferenceResults
Map each visible section.- Specified by:
setPreferenceResultsin interfaceUserPreferencesOutputInterface
-
getSections
Get sections. -
setSections
Set sections. -
withSections
With sections.
-