Package com.boldsign.model
Class DocumentExpirySettings
- java.lang.Object
-
- com.boldsign.model.DocumentExpirySettings
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class DocumentExpirySettings extends Object
DocumentExpirySettings
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentExpirySettings.CustomTypeAdapterFactorystatic classDocumentExpirySettings.ExpiryDateTypeEnumGets or Sets expiryDateType
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ENABLE_AUTO_REMINDERstatic StringSERIALIZED_NAME_ENABLE_DEFAULT_EXPIRY_ALERTstatic StringSERIALIZED_NAME_EXPIRY_DATE_TYPEstatic StringSERIALIZED_NAME_EXPIRY_VALUEstatic StringSERIALIZED_NAME_REMINDER_COUNTstatic StringSERIALIZED_NAME_REMINDER_DAYS
-
Constructor Summary
Constructors Constructor Description DocumentExpirySettings()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_EXPIRY_DATE_TYPE
public static final String SERIALIZED_NAME_EXPIRY_DATE_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXPIRY_VALUE
public static final String SERIALIZED_NAME_EXPIRY_VALUE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENABLE_DEFAULT_EXPIRY_ALERT
public static final String SERIALIZED_NAME_ENABLE_DEFAULT_EXPIRY_ALERT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENABLE_AUTO_REMINDER
public static final String SERIALIZED_NAME_ENABLE_AUTO_REMINDER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REMINDER_DAYS
public static final String SERIALIZED_NAME_REMINDER_DAYS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REMINDER_COUNT
public static final String SERIALIZED_NAME_REMINDER_COUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
expiryDateType
public DocumentExpirySettings expiryDateType(DocumentExpirySettings.ExpiryDateTypeEnum expiryDateType)
-
getExpiryDateType
@Nullable public DocumentExpirySettings.ExpiryDateTypeEnum getExpiryDateType()
Get expiryDateType- Returns:
- expiryDateType
-
setExpiryDateType
public void setExpiryDateType(DocumentExpirySettings.ExpiryDateTypeEnum expiryDateType)
-
expiryValue
public DocumentExpirySettings expiryValue(Integer expiryValue)
-
setExpiryValue
public void setExpiryValue(Integer expiryValue)
-
enableDefaultExpiryAlert
public DocumentExpirySettings enableDefaultExpiryAlert(Boolean enableDefaultExpiryAlert)
-
getEnableDefaultExpiryAlert
@Nullable public Boolean getEnableDefaultExpiryAlert()
Get enableDefaultExpiryAlert- Returns:
- enableDefaultExpiryAlert
-
setEnableDefaultExpiryAlert
public void setEnableDefaultExpiryAlert(Boolean enableDefaultExpiryAlert)
-
enableAutoReminder
public DocumentExpirySettings enableAutoReminder(Boolean enableAutoReminder)
-
getEnableAutoReminder
@Nullable public Boolean getEnableAutoReminder()
Get enableAutoReminder- Returns:
- enableAutoReminder
-
setEnableAutoReminder
public void setEnableAutoReminder(Boolean enableAutoReminder)
-
reminderDays
public DocumentExpirySettings reminderDays(Integer reminderDays)
-
getReminderDays
@Nullable public Integer getReminderDays()
Get reminderDays minimum: 1 maximum: 180- Returns:
- reminderDays
-
setReminderDays
public void setReminderDays(Integer reminderDays)
-
reminderCount
public DocumentExpirySettings reminderCount(Integer reminderCount)
-
getReminderCount
@Nullable public Integer getReminderCount()
Get reminderCount- Returns:
- reminderCount
-
setReminderCount
public void setReminderCount(Integer reminderCount)
-
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 DocumentExpirySettings
-
fromJson
public static DocumentExpirySettings fromJson(String jsonString) throws IOException
Create an instance of DocumentExpirySettings given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DocumentExpirySettings
- Throws:
IOException- if the JSON string is invalid with respect to DocumentExpirySettings
-
toJson
public String toJson()
Convert an instance of DocumentExpirySettings to an JSON string- Returns:
- JSON string
-
-