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
  • Field Details

  • Constructor Details

    • DocumentExpirySettings

      public DocumentExpirySettings()
  • Method Details

    • expiryDateType

      public DocumentExpirySettings expiryDateType(DocumentExpirySettings.ExpiryDateTypeEnum expiryDateType)
    • getExpiryDateType

      Get expiryDateType
      Returns:
      expiryDateType
    • setExpiryDateType

      public void setExpiryDateType(DocumentExpirySettings.ExpiryDateTypeEnum expiryDateType)
    • expiryValue

      public DocumentExpirySettings expiryValue(Integer expiryValue)
    • getExpiryValue

      @Nullable public Integer getExpiryValue()
      Get expiryValue
      Returns:
      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)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • createFormData

      public Map<String,Object> createFormData() throws ApiException
      Throws:
      ApiException
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates 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