Package com.okta.idx.sdk.api.model
Class FormValue
java.lang.Object
com.okta.idx.sdk.api.model.FormValue
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionA user-friendly name that could be used for a UIError messages could appear hereboolean
Should this form value be mutable in a UI.The name of the form item that can be used in a UI.boolean
Indicates whether the item is a required fieldboolean
Is the value a secret valueDescribes the type of value that is expectedDefault value for the current form valueboolean
Should this form value be visible in a UI -
Constructor Summary
-
Method Summary
-
Field Details
-
name
The name of the form item that can be used in a UI. This relates to the name that is used for the body of the request for the RemediationStep. -
required
public boolean requiredIndicates whether the item is a required field -
label
A user-friendly name that could be used for a UI -
type
Describes the type of value that is expected -
secret
public boolean secretIs the value a secret value -
value
Default value for the current form value -
options
-
visible
public boolean visibleShould this form value be visible in a UI -
mutable
public boolean mutableShould this form value be mutable in a UI. MAY relate to the form fields disabled property -
messages
Error messages could appear here
-
-
Constructor Details
-
FormValue
public FormValue()
-
-
Method Details
-
relatesTo
-
form
return an array of FormValue objects- Returns:
OptionsFormVal
array of FormValue
-
options
return a list of options that is described as an array of formValue- Returns:
Options
array
-
getName
-
isRequired
public boolean isRequired() -
getValue
-
getForm
-
getLabel
-
value
-