Package com.boldsign.model
Class CustomFormField
- java.lang.Object
-
- com.boldsign.model.CustomFormField
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class CustomFormField extends Object
CustomFormField
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCustomFormField.CustomTypeAdapterFactorystatic classCustomFormField.FieldTypeEnumGets or Sets fieldTypestatic classCustomFormField.FontEnumGets or Sets fontstatic classCustomFormField.ResizeOptionEnumGets or Sets resizeOptionstatic classCustomFormField.TextAlignEnumGets or Sets textAlignstatic classCustomFormField.TextDirectionEnumGets or Sets textDirectionstatic classCustomFormField.ValidationTypeEnumGets or Sets validationType
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CustomFormField()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_FIELD_TYPE
public static final String SERIALIZED_NAME_FIELD_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WIDTH
public static final String SERIALIZED_NAME_WIDTH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_HEIGHT
public static final String SERIALIZED_NAME_HEIGHT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_REQUIRED
public static final String SERIALIZED_NAME_IS_REQUIRED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_READ_ONLY
public static final String SERIALIZED_NAME_IS_READ_ONLY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALUE
public static final String SERIALIZED_NAME_VALUE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FONT_SIZE
public static final String SERIALIZED_NAME_FONT_SIZE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FONT
public static final String SERIALIZED_NAME_FONT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FONT_HEX_COLOR
public static final String SERIALIZED_NAME_FONT_HEX_COLOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_BOLD_FONT
public static final String SERIALIZED_NAME_IS_BOLD_FONT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_ITALIC_FONT
public static final String SERIALIZED_NAME_IS_ITALIC_FONT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_UNDER_LINE_FONT
public static final String SERIALIZED_NAME_IS_UNDER_LINE_FONT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINE_HEIGHT
public static final String SERIALIZED_NAME_LINE_HEIGHT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CHARACTER_LIMIT
public static final String SERIALIZED_NAME_CHARACTER_LIMIT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PLACE_HOLDER
public static final String SERIALIZED_NAME_PLACE_HOLDER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALIDATION_TYPE
public static final String SERIALIZED_NAME_VALIDATION_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALIDATION_CUSTOM_REGEX
public static final String SERIALIZED_NAME_VALIDATION_CUSTOM_REGEX
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALIDATION_CUSTOM_REGEX_MESSAGE
public static final String SERIALIZED_NAME_VALIDATION_CUSTOM_REGEX_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATE_FORMAT
public static final String SERIALIZED_NAME_DATE_FORMAT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TIME_FORMAT
public static final String SERIALIZED_NAME_TIME_FORMAT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IMAGE_INFO
public static final String SERIALIZED_NAME_IMAGE_INFO
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ATTACHMENT_INFO
public static final String SERIALIZED_NAME_ATTACHMENT_INFO
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EDITABLE_DATE_FIELD_SETTINGS
public static final String SERIALIZED_NAME_EDITABLE_DATE_FIELD_SETTINGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_HYPERLINK_TEXT
public static final String SERIALIZED_NAME_HYPERLINK_TEXT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATA_SYNC_TAG
public static final String SERIALIZED_NAME_DATA_SYNC_TAG
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DROPDOWN_OPTIONS
public static final String SERIALIZED_NAME_DROPDOWN_OPTIONS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TEXT_ALIGN
public static final String SERIALIZED_NAME_TEXT_ALIGN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TEXT_DIRECTION
public static final String SERIALIZED_NAME_TEXT_DIRECTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CHARACTER_SPACING
public static final String SERIALIZED_NAME_CHARACTER_SPACING
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID_PREFIX
public static final String SERIALIZED_NAME_ID_PREFIX
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RESTRICT_ID_PREFIX_CHANGE
public static final String SERIALIZED_NAME_RESTRICT_ID_PREFIX_CHANGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BACKGROUND_HEX_COLOR
public static final String SERIALIZED_NAME_BACKGROUND_HEX_COLOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RESIZE_OPTION
public static final String SERIALIZED_NAME_RESIZE_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
fieldType
public CustomFormField fieldType(CustomFormField.FieldTypeEnum fieldType)
-
getFieldType
@Nonnull public CustomFormField.FieldTypeEnum getFieldType()
Get fieldType- Returns:
- fieldType
-
setFieldType
public void setFieldType(CustomFormField.FieldTypeEnum fieldType)
-
width
public CustomFormField width(Float width)
-
setWidth
public void setWidth(Float width)
-
height
public CustomFormField height(Float height)
-
setHeight
public void setHeight(Float height)
-
isRequired
public CustomFormField isRequired(Boolean isRequired)
-
setIsRequired
public void setIsRequired(Boolean isRequired)
-
isReadOnly
public CustomFormField isReadOnly(Boolean isReadOnly)
-
setIsReadOnly
public void setIsReadOnly(Boolean isReadOnly)
-
value
public CustomFormField value(String value)
-
setValue
public void setValue(String value)
-
fontSize
public CustomFormField fontSize(Float fontSize)
-
setFontSize
public void setFontSize(Float fontSize)
-
font
public CustomFormField font(CustomFormField.FontEnum font)
-
getFont
@Nullable public CustomFormField.FontEnum getFont()
Get font- Returns:
- font
-
setFont
public void setFont(CustomFormField.FontEnum font)
-
fontHexColor
public CustomFormField fontHexColor(String fontHexColor)
-
setFontHexColor
public void setFontHexColor(String fontHexColor)
-
isBoldFont
public CustomFormField isBoldFont(Boolean isBoldFont)
-
setIsBoldFont
public void setIsBoldFont(Boolean isBoldFont)
-
isItalicFont
public CustomFormField isItalicFont(Boolean isItalicFont)
-
setIsItalicFont
public void setIsItalicFont(Boolean isItalicFont)
-
isUnderLineFont
public CustomFormField isUnderLineFont(Boolean isUnderLineFont)
-
getIsUnderLineFont
@Nullable public Boolean getIsUnderLineFont()
Get isUnderLineFont- Returns:
- isUnderLineFont
-
setIsUnderLineFont
public void setIsUnderLineFont(Boolean isUnderLineFont)
-
lineHeight
public CustomFormField lineHeight(Integer lineHeight)
-
getLineHeight
@Nullable public Integer getLineHeight()
Get lineHeight minimum: 0 maximum: 2147483647- Returns:
- lineHeight
-
setLineHeight
public void setLineHeight(Integer lineHeight)
-
characterLimit
public CustomFormField characterLimit(Integer characterLimit)
-
getCharacterLimit
@Nullable public Integer getCharacterLimit()
Get characterLimit minimum: 0 maximum: 2147483647- Returns:
- characterLimit
-
setCharacterLimit
public void setCharacterLimit(Integer characterLimit)
-
placeHolder
public CustomFormField placeHolder(String placeHolder)
-
setPlaceHolder
public void setPlaceHolder(String placeHolder)
-
validationType
public CustomFormField validationType(CustomFormField.ValidationTypeEnum validationType)
-
getValidationType
@Nullable public CustomFormField.ValidationTypeEnum getValidationType()
Get validationType- Returns:
- validationType
-
setValidationType
public void setValidationType(CustomFormField.ValidationTypeEnum validationType)
-
validationCustomRegex
public CustomFormField validationCustomRegex(String validationCustomRegex)
-
getValidationCustomRegex
@Nullable public String getValidationCustomRegex()
Get validationCustomRegex- Returns:
- validationCustomRegex
-
setValidationCustomRegex
public void setValidationCustomRegex(String validationCustomRegex)
-
validationCustomRegexMessage
public CustomFormField validationCustomRegexMessage(String validationCustomRegexMessage)
-
getValidationCustomRegexMessage
@Nullable public String getValidationCustomRegexMessage()
Get validationCustomRegexMessage- Returns:
- validationCustomRegexMessage
-
setValidationCustomRegexMessage
public void setValidationCustomRegexMessage(String validationCustomRegexMessage)
-
dateFormat
public CustomFormField dateFormat(String dateFormat)
-
setDateFormat
public void setDateFormat(String dateFormat)
-
timeFormat
public CustomFormField timeFormat(String timeFormat)
-
setTimeFormat
public void setTimeFormat(String timeFormat)
-
imageInfo
public CustomFormField imageInfo(ImageInfo imageInfo)
-
setImageInfo
public void setImageInfo(ImageInfo imageInfo)
-
attachmentInfo
public CustomFormField attachmentInfo(AttachmentInfo attachmentInfo)
-
getAttachmentInfo
@Nullable public AttachmentInfo getAttachmentInfo()
Get attachmentInfo- Returns:
- attachmentInfo
-
setAttachmentInfo
public void setAttachmentInfo(AttachmentInfo attachmentInfo)
-
editableDateFieldSettings
public CustomFormField editableDateFieldSettings(EditableDateFieldSettings editableDateFieldSettings)
-
getEditableDateFieldSettings
@Nullable public EditableDateFieldSettings getEditableDateFieldSettings()
Get editableDateFieldSettings- Returns:
- editableDateFieldSettings
-
setEditableDateFieldSettings
public void setEditableDateFieldSettings(EditableDateFieldSettings editableDateFieldSettings)
-
hyperlinkText
public CustomFormField hyperlinkText(String hyperlinkText)
-
getHyperlinkText
@Nullable public String getHyperlinkText()
Get hyperlinkText- Returns:
- hyperlinkText
-
setHyperlinkText
public void setHyperlinkText(String hyperlinkText)
-
dataSyncTag
public CustomFormField dataSyncTag(String dataSyncTag)
-
setDataSyncTag
public void setDataSyncTag(String dataSyncTag)
-
dropdownOptions
public CustomFormField dropdownOptions(List<String> dropdownOptions)
-
addDropdownOptionsItem
public CustomFormField addDropdownOptionsItem(String dropdownOptionsItem)
-
getDropdownOptions
@Nullable public List<String> getDropdownOptions()
Get dropdownOptions- Returns:
- dropdownOptions
-
textAlign
public CustomFormField textAlign(CustomFormField.TextAlignEnum textAlign)
-
getTextAlign
@Nullable public CustomFormField.TextAlignEnum getTextAlign()
Get textAlign- Returns:
- textAlign
-
setTextAlign
public void setTextAlign(CustomFormField.TextAlignEnum textAlign)
-
textDirection
public CustomFormField textDirection(CustomFormField.TextDirectionEnum textDirection)
-
getTextDirection
@Nullable public CustomFormField.TextDirectionEnum getTextDirection()
Get textDirection- Returns:
- textDirection
-
setTextDirection
public void setTextDirection(CustomFormField.TextDirectionEnum textDirection)
-
characterSpacing
public CustomFormField characterSpacing(Float characterSpacing)
-
getCharacterSpacing
@Nullable public Float getCharacterSpacing()
Get characterSpacing- Returns:
- characterSpacing
-
setCharacterSpacing
public void setCharacterSpacing(Float characterSpacing)
-
idPrefix
public CustomFormField idPrefix(String idPrefix)
-
setIdPrefix
public void setIdPrefix(String idPrefix)
-
restrictIdPrefixChange
public CustomFormField restrictIdPrefixChange(Boolean restrictIdPrefixChange)
-
getRestrictIdPrefixChange
@Nullable public Boolean getRestrictIdPrefixChange()
Get restrictIdPrefixChange- Returns:
- restrictIdPrefixChange
-
setRestrictIdPrefixChange
public void setRestrictIdPrefixChange(Boolean restrictIdPrefixChange)
-
backgroundHexColor
public CustomFormField backgroundHexColor(String backgroundHexColor)
-
getBackgroundHexColor
@Nullable public String getBackgroundHexColor()
Get backgroundHexColor- Returns:
- backgroundHexColor
-
setBackgroundHexColor
public void setBackgroundHexColor(String backgroundHexColor)
-
resizeOption
public CustomFormField resizeOption(CustomFormField.ResizeOptionEnum resizeOption)
-
getResizeOption
@Nullable public CustomFormField.ResizeOptionEnum getResizeOption()
Get resizeOption- Returns:
- resizeOption
-
setResizeOption
public void setResizeOption(CustomFormField.ResizeOptionEnum resizeOption)
-
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 CustomFormField
-
fromJson
public static CustomFormField fromJson(String jsonString) throws IOException
Create an instance of CustomFormField given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CustomFormField
- Throws:
IOException- if the JSON string is invalid with respect to CustomFormField
-
toJson
public String toJson()
Convert an instance of CustomFormField to an JSON string- Returns:
- JSON string
-
-