Class PreferenceActionResponseV1
java.lang.Object
com.kingsrook.qqq.middleware.javalin.specs.v1.responses.PreferenceActionResponseV1
- All Implemented Interfaces:
AbstractMiddlewareOutputInterface,UserPreferencesOutputInterface,ToSchema
public class PreferenceActionResponseV1
extends Object
implements UserPreferencesOutputInterface, ToSchema
PreferenceActionResponseV1 in the user preferences API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet focusRowKey.Get message.Get secrets.Get section.voidMap transient secrets only into this action response.voidsetFocusRowKey(String focusRowKey) Set focusRowKey.voidsetMessage(String message) Set message.voidMap only the reloaded, non-secret section.voidsetSecrets(List<PreferenceSecretV1> secrets) Set secrets.voidsetSection(PreferenceSectionV1 section) Set section.toSchema()Describe the wire contract.withFocusRowKey(String focusRowKey) With focusRowKey.withMessage(String message) With message.withSecrets(List<PreferenceSecretV1> secrets) With secrets.withSection(PreferenceSectionV1 section) With section.
-
Constructor Details
-
PreferenceActionResponseV1
public PreferenceActionResponseV1()
-
-
Method Details
-
toSchema
-
setPreferenceResults
Map only the reloaded, non-secret section.- Specified by:
setPreferenceResultsin interfaceUserPreferencesOutputInterface
-
setActionResult
Map transient secrets only into this action response.- Specified by:
setActionResultin interfaceUserPreferencesOutputInterface
-
getSection
Get section. -
setSection
Set section. -
withSection
With section. -
getMessage
Get message. -
setMessage
Set message. -
withMessage
With message. -
getSecrets
Get secrets. -
setSecrets
Set secrets. -
withSecrets
With secrets. -
getFocusRowKey
Get focusRowKey. -
setFocusRowKey
Set focusRowKey. -
withFocusRowKey
With focusRowKey.
-