Class AttemptLimits

java.lang.Object
com.mypurecloud.sdk.v2.model.AttemptLimits
All Implemented Interfaces:
Serializable

public class AttemptLimits extends Object implements Serializable
AttemptLimits
See Also:
  • Constructor Details

    • AttemptLimits

      public AttemptLimits()
    • AttemptLimits

      public AttemptLimits(Boolean initWithEmptyList)
  • Method Details

    • getId

      public String getId()
    • name

      public AttemptLimits name(String name)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getDateCreated

      public Date getDateCreated()
    • getDateModified

      public Date getDateModified()
    • version

      public AttemptLimits version(Integer version)
      Required for updates, must match the version number of the most recent update
    • getVersion

      public Integer getVersion()
    • setVersion

      public void setVersion(Integer version)
    • maxAttemptsPerContact

      public AttemptLimits maxAttemptsPerContact(Integer maxAttemptsPerContact)
      The maximum number of times a contact can be called within the resetPeriod. Required if maxAttemptsPerNumber is not defined.
    • getMaxAttemptsPerContact

      public Integer getMaxAttemptsPerContact()
    • setMaxAttemptsPerContact

      public void setMaxAttemptsPerContact(Integer maxAttemptsPerContact)
    • maxAttemptsPerNumber

      public AttemptLimits maxAttemptsPerNumber(Integer maxAttemptsPerNumber)
      The maximum number of times a phone number can be called within the resetPeriod. Required if maxAttemptsPerContact is not defined.
    • getMaxAttemptsPerNumber

      public Integer getMaxAttemptsPerNumber()
    • setMaxAttemptsPerNumber

      public void setMaxAttemptsPerNumber(Integer maxAttemptsPerNumber)
    • timeZoneId

      public AttemptLimits timeZoneId(String timeZoneId)
      If the resetPeriod is TODAY, this specifies the timezone in which TODAY occurs. Required if the resetPeriod is TODAY. Time zones are represented as a string of the zone name as found in the IANA time zone database. For example: UTC, Etc/UTC, or Europe/London
    • getTimeZoneId

      public String getTimeZoneId()
    • setTimeZoneId

      public void setTimeZoneId(String timeZoneId)
    • resetPeriod

      public AttemptLimits resetPeriod(AttemptLimits.ResetPeriodEnum resetPeriod)
      After how long the number of attempts will be set back to 0. Defaults to NEVER.
    • getResetPeriod

      public AttemptLimits.ResetPeriodEnum getResetPeriod()
    • setResetPeriod

      public void setResetPeriod(AttemptLimits.ResetPeriodEnum resetPeriod)
    • recallEntries

      public AttemptLimits recallEntries(Map<String,RecallEntry> recallEntries)
      Configuration for recall attempts.
    • getRecallEntries

      public Map<String,RecallEntry> getRecallEntries()
    • setRecallEntries

      public void setRecallEntries(Map<String,RecallEntry> recallEntries)
    • getSelfUri

      public String getSelfUri()
    • 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