public class FormValue
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
label
A user friendly name that could be used for a UI
|
Messages |
messages
Error messages could appear here
|
boolean |
mutable
Should this form value be mutable in a UI.
|
java.lang.String |
name
The name of the form item that can be used in a UI.
|
Options[] |
options |
boolean |
required
Indicates whether the item is a required field
|
boolean |
secret
Is the value a secret value
|
java.lang.String |
type
Describes the type of value that is expected
|
java.lang.Object |
value
Default value for the current form value
|
boolean |
visible
Should this form value be visible in a UI
|
| Constructor and Description |
|---|
FormValue() |
| Modifier and Type | Method and Description |
|---|---|
OptionsFormVal |
form()
return an array of FormValue objects
|
OptionsFormVal |
getForm() |
java.lang.String |
getLabel() |
java.lang.String |
getName() |
java.lang.Object |
getValue() |
boolean |
isRequired() |
Options[] |
options()
return a list of options that is described as an array of formValue
|
java.lang.String |
relatesTo() |
public java.lang.String name
public boolean required
public java.lang.String label
public java.lang.String type
public boolean secret
public java.lang.Object value
public Options[] options
public boolean visible
public boolean mutable
public Messages messages
public java.lang.String relatesTo()
public OptionsFormVal form()
OptionsFormVal array of FormValuepublic Options[] options()
Options arraypublic java.lang.String getName()
public boolean isRequired()
public java.lang.Object getValue()
public OptionsFormVal getForm()
public java.lang.String getLabel()
Copyright © 2020-2022 Okta. All Rights Reserved.