/// <summary>
 /// Initializes a new instance of the <see cref="EmailMediaPolicyConditions" /> class.
 /// </summary>
 /// <param name="ForUsers">ForUsers.</param>
 /// <param name="DateRanges">DateRanges.</param>
 /// <param name="ForQueues">ForQueues.</param>
 /// <param name="WrapupCodes">WrapupCodes.</param>
 /// <param name="Languages">Languages.</param>
 /// <param name="TimeAllowed">TimeAllowed.</param>
 public EmailMediaPolicyConditions(List <User> ForUsers = null, List <string> DateRanges = null, List <Queue> ForQueues = null, List <WrapupCode> WrapupCodes = null, List <Language> Languages = null, TimeAllowed TimeAllowed = null)
 {
     this.ForUsers    = ForUsers;
     this.DateRanges  = DateRanges;
     this.ForQueues   = ForQueues;
     this.WrapupCodes = WrapupCodes;
     this.Languages   = Languages;
     this.TimeAllowed = TimeAllowed;
 }
コード例 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CallMediaPolicyConditions" /> class.
        /// </summary>


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



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



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



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



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



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



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


        public CallMediaPolicyConditions(List <User> ForUsers = null, List <string> DateRanges = null, List <Queue> ForQueues = null, List <WrapupCode> WrapupCodes = null, TimeAllowed TimeAllowed = null, List <DirectionsEnum> Directions = null, DurationCondition Duration = null)
        {
            this.ForUsers = ForUsers;



            this.DateRanges = DateRanges;



            this.ForQueues = ForQueues;



            this.WrapupCodes = WrapupCodes;



            this.TimeAllowed = TimeAllowed;



            this.Directions = Directions;



            this.Duration = Duration;
        }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PolicyConditions" /> class.
 /// </summary>
 /// <param name="ForUsers">ForUsers.</param>
 /// <param name="Directions">Directions.</param>
 /// <param name="DateRanges">DateRanges.</param>
 /// <param name="MediaTypes">MediaTypes.</param>
 /// <param name="ForQueues">ForQueues.</param>
 /// <param name="Duration">Duration.</param>
 /// <param name="WrapupCodes">WrapupCodes.</param>
 /// <param name="TimeAllowed">TimeAllowed.</param>
 /// <param name="CustomerParticipation">This condition is to filter out conversation with and without customer participation..</param>
 public PolicyConditions(List <User> ForUsers = null, List <DirectionsEnum> Directions = null, List <string> DateRanges = null, List <MediaTypesEnum> MediaTypes = null, List <Queue> ForQueues = null, DurationCondition Duration = null, List <WrapupCode> WrapupCodes = null, TimeAllowed TimeAllowed = null, CustomerParticipationEnum?CustomerParticipation = null)
 {
     this.ForUsers              = ForUsers;
     this.Directions            = Directions;
     this.DateRanges            = DateRanges;
     this.MediaTypes            = MediaTypes;
     this.ForQueues             = ForQueues;
     this.Duration              = Duration;
     this.WrapupCodes           = WrapupCodes;
     this.TimeAllowed           = TimeAllowed;
     this.CustomerParticipation = CustomerParticipation;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MessageMediaPolicyConditions" /> class.
 /// </summary>
 /// <param name="ForUsers">ForUsers.</param>
 /// <param name="DateRanges">DateRanges.</param>
 /// <param name="ForQueues">ForQueues.</param>
 /// <param name="WrapupCodes">WrapupCodes.</param>
 /// <param name="Languages">Languages.</param>
 /// <param name="TimeAllowed">TimeAllowed.</param>
 /// <param name="CustomerParticipation">CustomerParticipation.</param>
 public MessageMediaPolicyConditions(List <User> ForUsers = null, List <string> DateRanges = null, List <Queue> ForQueues = null, List <WrapupCode> WrapupCodes = null, List <Language> Languages = null, TimeAllowed TimeAllowed = null, CustomerParticipationEnum?CustomerParticipation = null)
 {
     this.ForUsers              = ForUsers;
     this.DateRanges            = DateRanges;
     this.ForQueues             = ForQueues;
     this.WrapupCodes           = WrapupCodes;
     this.Languages             = Languages;
     this.TimeAllowed           = TimeAllowed;
     this.CustomerParticipation = CustomerParticipation;
 }