Class EnvelopeDelayRuleApiModel


  • public class EnvelopeDelayRuleApiModel
    extends Object
    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..
    • Constructor Detail

      • EnvelopeDelayRuleApiModel

        public EnvelopeDelayRuleApiModel()
    • Method Detail

      • 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.
      • 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.
        Overrides:
        equals in class Object
        Returns:
        true or false depending on comparison result.
      • hashCode

        public int hashCode()
        Returns the HashCode.
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Converts the given object to string.
        Overrides:
        toString in class Object