Package com.boldsign.model
Class FormFieldPermission
- java.lang.Object
-
- com.boldsign.model.FormFieldPermission
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class FormFieldPermission extends Object
FormFieldPermission
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFormFieldPermission.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CAN_ADDstatic StringSERIALIZED_NAME_CAN_MODIFYstatic StringSERIALIZED_NAME_CAN_MODIFY_DEFAULT_VALUE
-
Constructor Summary
Constructors Constructor Description FormFieldPermission()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FormFieldPermissioncanAdd(Boolean canAdd)FormFieldPermissioncanModify(Boolean canModify)FormFieldPermissioncanModifyDefaultValue(Boolean canModifyDefaultValue)Map<String,Object>createFormData()booleanequals(Object o)static FormFieldPermissionfromJson(String jsonString)Create an instance of FormFieldPermission given an JSON stringBooleangetCanAdd()Get canAddBooleangetCanModify()Get canModifyBooleangetCanModifyDefaultValue()Get canModifyDefaultValueinthashCode()voidsetCanAdd(Boolean canAdd)voidsetCanModify(Boolean canModify)voidsetCanModifyDefaultValue(Boolean canModifyDefaultValue)StringtoJson()Convert an instance of FormFieldPermission to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_CAN_ADD
public static final String SERIALIZED_NAME_CAN_ADD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CAN_MODIFY
public static final String SERIALIZED_NAME_CAN_MODIFY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CAN_MODIFY_DEFAULT_VALUE
public static final String SERIALIZED_NAME_CAN_MODIFY_DEFAULT_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
canAdd
public FormFieldPermission canAdd(Boolean canAdd)
-
setCanAdd
public void setCanAdd(Boolean canAdd)
-
canModify
public FormFieldPermission canModify(Boolean canModify)
-
setCanModify
public void setCanModify(Boolean canModify)
-
canModifyDefaultValue
public FormFieldPermission canModifyDefaultValue(Boolean canModifyDefaultValue)
-
getCanModifyDefaultValue
@Nullable public Boolean getCanModifyDefaultValue()
Get canModifyDefaultValue- Returns:
- canModifyDefaultValue
-
setCanModifyDefaultValue
public void setCanModifyDefaultValue(Boolean canModifyDefaultValue)
-
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 FormFieldPermission
-
fromJson
public static FormFieldPermission fromJson(String jsonString) throws IOException
Create an instance of FormFieldPermission given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FormFieldPermission
- Throws:
IOException- if the JSON string is invalid with respect to FormFieldPermission
-
toJson
public String toJson()
Convert an instance of FormFieldPermission to an JSON string- Returns:
- JSON string
-
-