コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="AttemptLimits" /> class.
        /// </summary>



        /// <param name="Name">Name.</param>



        /// <param name="Version">Required for updates, must match the version number of the most recent update.</param>



        /// <param name="MaxAttemptsPerContact">The maximum number of times a contact can be called within the resetPeriod. Required if maxAttemptsPerNumber is not defined..</param>



        /// <param name="MaxAttemptsPerNumber">The maximum number of times a phone number can be called within the resetPeriod. Required if maxAttemptsPerContact is not defined..</param>



        /// <param name="TimeZoneId">If the resetPeriod is TODAY, this specifies the timezone in which TODAY occurs. Required if the resetPeriod is TODAY..</param>



        /// <param name="ResetPeriod">After how long the number of attempts will be set back to 0. Defaults to NEVER..</param>



        /// <param name="RecallEntries">Configuration for recall attempts..</param>



        public AttemptLimits(string Name = null, int?Version = null, int?MaxAttemptsPerContact = null, int?MaxAttemptsPerNumber = null, string TimeZoneId = null, ResetPeriodEnum?ResetPeriod = null, Dictionary <string, RecallEntry> RecallEntries = null)
        {
            this.Name = Name;



            this.Version = Version;



            this.MaxAttemptsPerContact = MaxAttemptsPerContact;



            this.MaxAttemptsPerNumber = MaxAttemptsPerNumber;



            this.TimeZoneId = TimeZoneId;



            this.ResetPeriod = ResetPeriod;



            this.RecallEntries = RecallEntries;
        }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AttemptLimitsNotification" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="Name">Name.</param>
 /// <param name="DateCreated">DateCreated.</param>
 /// <param name="DateModified">DateModified.</param>
 /// <param name="Version">Version.</param>
 /// <param name="AdditionalProperties">AdditionalProperties.</param>
 /// <param name="MaxAttemptsPerContact">MaxAttemptsPerContact.</param>
 /// <param name="MaxAttemptsPerNumber">MaxAttemptsPerNumber.</param>
 /// <param name="TimeZoneId">TimeZoneId.</param>
 /// <param name="ResetPeriod">ResetPeriod.</param>
 /// <param name="RecallEntries">RecallEntries.</param>
 public AttemptLimitsNotification(string Id = null, string Name = null, DateTime? DateCreated = null, DateTime? DateModified = null, int? Version = null, Object AdditionalProperties = null, int? MaxAttemptsPerContact = null, int? MaxAttemptsPerNumber = null, string TimeZoneId = null, ResetPeriodEnum? ResetPeriod = null, Dictionary<string, AttemptLimitsNotificationRecallEntries> RecallEntries = null)
 {
     this.Id = Id;
     this.Name = Name;
     this.DateCreated = DateCreated;
     this.DateModified = DateModified;
     this.Version = Version;
     this.AdditionalProperties = AdditionalProperties;
     this.MaxAttemptsPerContact = MaxAttemptsPerContact;
     this.MaxAttemptsPerNumber = MaxAttemptsPerNumber;
     this.TimeZoneId = TimeZoneId;
     this.ResetPeriod = ResetPeriod;
     this.RecallEntries = RecallEntries;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DialerAttemptLimitsConfigChangeAttemptLimits" /> class.
 /// </summary>
 /// <param name="MaxAttemptsPerContact">MaxAttemptsPerContact.</param>
 /// <param name="MaxAttemptsPerNumber">MaxAttemptsPerNumber.</param>
 /// <param name="TimeZoneId">The timezone is necessary to define when \"today\" starts and ends.</param>
 /// <param name="ResetPeriod">After how long the number of attempts will be set back to 0.</param>
 /// <param name="RecallEntries">Configuration for recall attempts.</param>
 /// <param name="BreadthFirstRecalls">Whether recalls are performed before considering other numbers (true) or after (false).</param>
 /// <param name="Id">The globally unique identifier for the object..</param>
 /// <param name="Name">The UI-visible name of the object.</param>
 /// <param name="DateCreated">Creation time of the entity.</param>
 /// <param name="DateModified">Last modified time of the entity.</param>
 /// <param name="Version">Required for updates, must match the version number of the most recent update.</param>
 public DialerAttemptLimitsConfigChangeAttemptLimits(int?MaxAttemptsPerContact = null, int?MaxAttemptsPerNumber = null, string TimeZoneId = null, ResetPeriodEnum?ResetPeriod = null, Dictionary <string, DialerAttemptLimitsConfigChangeRecallEntry> RecallEntries = null, bool?BreadthFirstRecalls = null, string Id = null, string Name = null, DateTime?DateCreated = null, DateTime?DateModified = null, int?Version = null)
 {
     this.MaxAttemptsPerContact = MaxAttemptsPerContact;
     this.MaxAttemptsPerNumber  = MaxAttemptsPerNumber;
     this.TimeZoneId            = TimeZoneId;
     this.ResetPeriod           = ResetPeriod;
     this.RecallEntries         = RecallEntries;
     this.BreadthFirstRecalls   = BreadthFirstRecalls;
     this.Id           = Id;
     this.Name         = Name;
     this.DateCreated  = DateCreated;
     this.DateModified = DateModified;
     this.Version      = Version;
 }