Package com.boldsign.model
Class ExistingFormField
- java.lang.Object
-
- com.boldsign.model.ExistingFormField
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class ExistingFormField extends Object
ExistingFormField
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExistingFormField.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_INDEXstatic StringSERIALIZED_NAME_IS_READ_ONLYstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_VALUE
-
Constructor Summary
Constructors Constructor Description ExistingFormField()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Map<String,Object>createFormData()booleanequals(Object o)static ExistingFormFieldfromJson(String jsonString)Create an instance of ExistingFormField given an JSON stringStringgetId()Get idIntegergetIndex()Get indexBooleangetIsReadOnly()Get isReadOnlyStringgetName()Deprecated.StringgetValue()Get valueinthashCode()ExistingFormFieldid(String id)ExistingFormFieldindex(Integer index)ExistingFormFieldisReadOnly(Boolean isReadOnly)ExistingFormFieldname(String name)Deprecated.voidsetId(String id)voidsetIndex(Integer index)voidsetIsReadOnly(Boolean isReadOnly)voidsetName(String name)Deprecated.voidsetValue(String value)StringtoJson()Convert an instance of ExistingFormField to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundExistingFormFieldvalue(String value)
-
-
-
Field Detail
-
SERIALIZED_NAME_INDEX
public static final String SERIALIZED_NAME_INDEX
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALUE
public static final String SERIALIZED_NAME_VALUE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_READ_ONLY
public static final String SERIALIZED_NAME_IS_READ_ONLY
- See Also:
- Constant Field Values
-
-
Method Detail
-
index
public ExistingFormField index(Integer index)
-
setIndex
public void setIndex(Integer index)
-
name
@Deprecated public ExistingFormField name(String name)
Deprecated.
-
getName
@Deprecated @Nullable public String getName()
Deprecated.Get name- Returns:
- name
-
setName
@Deprecated public void setName(String name)
Deprecated.
-
id
public ExistingFormField id(String id)
-
setId
public void setId(String id)
-
value
public ExistingFormField value(String value)
-
setValue
public void setValue(String value)
-
isReadOnly
public ExistingFormField isReadOnly(Boolean isReadOnly)
-
setIsReadOnly
public void setIsReadOnly(Boolean isReadOnly)
-
createFormData
public Map<String,Object> createFormData() throws ApiException
- Throws:
ApiException
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to ExistingFormField
-
fromJson
public static ExistingFormField fromJson(String jsonString) throws IOException
Create an instance of ExistingFormField given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ExistingFormField
- Throws:
IOException- if the JSON string is invalid with respect to ExistingFormField
-
toJson
public String toJson()
Convert an instance of ExistingFormField to an JSON string- Returns:
- JSON string
-
-