Package com.docusign.esign.model
Class EnvelopeDelayRule
- java.lang.Object
-
- com.docusign.esign.model.EnvelopeDelayRule
-
- All Implemented Interfaces:
Serializable
public class EnvelopeDelayRule extends Object implements Serializable
An envelope delay rule is a rule which determines how the envelope should be delayed either for sending or routing. It can expressed as either a delay in some number of days, hours, minutes and seconds or an exact resumeDate in the future..- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnvelopeDelayRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnvelopeDelayRuledelay(String delay)delay.booleanequals(Object o)Compares objects.StringgetDelay()A string timespan duration represented as d.hh:mm:ss where the d component is days, hh is hours measured on a 24-hour clock, mm is minutes and ss is seconds, indicating the expected delay for this envelope rule.StringgetResumeDate()A string formatted as an ISO 8601 DATETIME with TimeZone specified, indicating the expected resumeDate for this envelope rule.inthashCode()Returns the HashCode.EnvelopeDelayRuleresumeDate(String resumeDate)resumeDate.voidsetDelay(String delay)setDelay.voidsetResumeDate(String resumeDate)setResumeDate.StringtoString()Converts the given object to string.
-
-
-
Method Detail
-
delay
public EnvelopeDelayRule delay(String delay)
delay.- Returns:
- EnvelopeDelayRule
-
getDelay
public String getDelay()
A string timespan duration represented as d.hh:mm:ss where the d component is days, hh is hours measured on a 24-hour clock, mm is minutes and ss is seconds, indicating the expected delay for this envelope rule. The maximum delay is 30 days..- Returns:
- delay
-
setDelay
public void setDelay(String delay)
setDelay.
-
resumeDate
public EnvelopeDelayRule resumeDate(String resumeDate)
resumeDate.- Returns:
- EnvelopeDelayRule
-
getResumeDate
public String getResumeDate()
A string formatted as an ISO 8601 DATETIME with TimeZone specified, indicating the expected resumeDate for this envelope rule. The specified datetime must occur in the future relative to the current UTC time hen the request is made. The maximum resumeDate must not exceed 30 days in the future..- Returns:
- resumeDate
-
setResumeDate
public void setResumeDate(String resumeDate)
setResumeDate.
-
equals
public boolean equals(Object o)
Compares objects.
-
-