com.docusign.esign.model.Reminders Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docusign-esign-java Show documentation
Show all versions of docusign-esign-java Show documentation
The official Docusign eSignature JAVA client is based on version 2.1 of the Docusign REST API and provides libraries for JAVA application integration. It is recommended that you use this version of the library for new development.
package com.docusign.esign.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.util.Objects;
/** A complex element that specifies reminder settings for the envelope. */
@Schema(description = "A complex element that specifies reminder settings for the envelope")
public class Reminders implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("reminderDelay")
private String reminderDelay = null;
@JsonProperty("reminderEnabled")
private String reminderEnabled = null;
@JsonProperty("reminderFrequency")
private String reminderFrequency = null;
/**
* reminderDelay.
*
* @return Reminders
*/
public Reminders reminderDelay(String reminderDelay) {
this.reminderDelay = reminderDelay;
return this;
}
/**
* An interger that sets the number of days after the recipient receives the envelope that
* reminder emails are sent to the recipient..
*
* @return reminderDelay
*/
@Schema(
description =
"An interger that sets the number of days after the recipient receives the envelope that reminder emails are sent to the recipient.")
public String getReminderDelay() {
return reminderDelay;
}
/** setReminderDelay. */
public void setReminderDelay(String reminderDelay) {
this.reminderDelay = reminderDelay;
}
/**
* reminderEnabled.
*
* @return Reminders
*/
public Reminders reminderEnabled(String reminderEnabled) {
this.reminderEnabled = reminderEnabled;
return this;
}
/**
* When set to **true**, the envelope expires (is no longer available for signing) in the set
* number of days. If false, the account default setting is used. If the account does not have an
* expiration setting, the DocuSign default value of 120 days is used..
*
* @return reminderEnabled
*/
@Schema(
description =
"When set to **true**, the envelope expires (is no longer available for signing) in the set number of days. If false, the account default setting is used. If the account does not have an expiration setting, the DocuSign default value of 120 days is used.")
public String getReminderEnabled() {
return reminderEnabled;
}
/** setReminderEnabled. */
public void setReminderEnabled(String reminderEnabled) {
this.reminderEnabled = reminderEnabled;
}
/**
* reminderFrequency.
*
* @return Reminders
*/
public Reminders reminderFrequency(String reminderFrequency) {
this.reminderFrequency = reminderFrequency;
return this;
}
/**
* An interger that sets the interval, in days, between reminder emails..
*
* @return reminderFrequency
*/
@Schema(description = "An interger that sets the interval, in days, between reminder emails.")
public String getReminderFrequency() {
return reminderFrequency;
}
/** setReminderFrequency. */
public void setReminderFrequency(String reminderFrequency) {
this.reminderFrequency = reminderFrequency;
}
/**
* Compares objects.
*
* @return true or false depending on comparison result.
*/
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Reminders reminders = (Reminders) o;
return Objects.equals(this.reminderDelay, reminders.reminderDelay)
&& Objects.equals(this.reminderEnabled, reminders.reminderEnabled)
&& Objects.equals(this.reminderFrequency, reminders.reminderFrequency);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(reminderDelay, reminderEnabled, reminderFrequency);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Reminders {\n");
sb.append(" reminderDelay: ").append(toIndentedString(reminderDelay)).append("\n");
sb.append(" reminderEnabled: ").append(toIndentedString(reminderEnabled)).append("\n");
sb.append(" reminderFrequency: ").append(toIndentedString(reminderFrequency)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}