Package com.boldsign.model
Class PrefillField
- java.lang.Object
-
- com.boldsign.model.PrefillField
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class PrefillField extends Object
PrefillField
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrefillField.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_VALUE
-
Constructor Summary
Constructors Constructor Description PrefillField()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>createFormData()booleanequals(Object o)static PrefillFieldfromJson(String jsonString)Create an instance of PrefillField given an JSON stringStringgetId()Get idStringgetValue()Get valueinthashCode()PrefillFieldid(String id)voidsetId(String id)voidsetValue(String value)StringtoJson()Convert an instance of PrefillField to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundPrefillFieldvalue(String value)
-
-
-
Field Detail
-
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
-
-
Method Detail
-
id
public PrefillField id(String id)
-
setId
public void setId(String id)
-
value
public PrefillField value(String value)
-
setValue
public void setValue(String value)
-
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 PrefillField
-
fromJson
public static PrefillField fromJson(String jsonString) throws IOException
Create an instance of PrefillField given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PrefillField
- Throws:
IOException- if the JSON string is invalid with respect to PrefillField
-
toJson
public String toJson()
Convert an instance of PrefillField to an JSON string- Returns:
- JSON string
-
-