/// <summary>
 /// Initializes a new instance of the <see cref="Evaluation" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="Conversation">Conversation.</param>
 /// <param name="EvaluationForm">Evaluation form used for evaluation..</param>
 /// <param name="Evaluator">Evaluator.</param>
 /// <param name="Agent">Agent.</param>
 /// <param name="Calibration">Calibration.</param>
 /// <param name="Status">Status.</param>
 /// <param name="Answers">Answers.</param>
 /// <param name="AgentHasRead">AgentHasRead.</param>
 /// <param name="ReleaseDate">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="AssignedDate">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="ChangedDate">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="Queue">Queue.</param>
 /// <param name="MediaType">List of different communication types used in conversation..</param>
 /// <param name="Rescore">Is only true when evaluation is re-scored..</param>
 /// <param name="ConversationDate">Date of conversation. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="ConversationEndDate">End date of conversation if it had completed before evaluation creation. Null if created before the conversation ended. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="NeverRelease">Signifies if the evaluation is never to be released. This cannot be set true if release date is also set..</param>
 /// <param name="ResourceId">Only used for email evaluations. Will be null for all other evaluations..</param>
 /// <param name="ResourceType">The type of resource. Only used for email evaluations. Will be null for evaluations on all other resources..</param>
 /// <param name="Redacted">Is only true when the user making the request does not have sufficient permissions to see evaluation.</param>
 /// <param name="IsScoringIndex">IsScoringIndex.</param>
 public Evaluation(string Name = null, Conversation Conversation = null, EvaluationForm EvaluationForm = null, User Evaluator = null, User Agent = null, Calibration Calibration = null, StatusEnum?Status = null, EvaluationScoringSet Answers = null, bool?AgentHasRead = null, DateTime?ReleaseDate = null, DateTime?AssignedDate = null, DateTime?ChangedDate = null, Queue Queue = null, List <MediaTypeEnum> MediaType = null, bool?Rescore = null, DateTime?ConversationDate = null, DateTime?ConversationEndDate = null, bool?NeverRelease = null, string ResourceId = null, ResourceTypeEnum?ResourceType = null, bool?Redacted = null, bool?IsScoringIndex = null)
 {
     this.Name                = Name;
     this.Conversation        = Conversation;
     this.EvaluationForm      = EvaluationForm;
     this.Evaluator           = Evaluator;
     this.Agent               = Agent;
     this.Calibration         = Calibration;
     this.Status              = Status;
     this.Answers             = Answers;
     this.AgentHasRead        = AgentHasRead;
     this.ReleaseDate         = ReleaseDate;
     this.AssignedDate        = AssignedDate;
     this.ChangedDate         = ChangedDate;
     this.Queue               = Queue;
     this.MediaType           = MediaType;
     this.Rescore             = Rescore;
     this.ConversationDate    = ConversationDate;
     this.ConversationEndDate = ConversationEndDate;
     this.NeverRelease        = NeverRelease;
     this.ResourceId          = ResourceId;
     this.ResourceType        = ResourceType;
     this.Redacted            = Redacted;
     this.IsScoringIndex      = IsScoringIndex;
 }
예제 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="EvaluationFormAndScoringSet" /> class.
        /// </summary>


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



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


        public EvaluationFormAndScoringSet(EvaluationForm EvaluationForm = null, EvaluationScoringSet Answers = null)
        {
            this.EvaluationForm = EvaluationForm;



            this.Answers = Answers;
        }
예제 #3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="EvaluationAssignment" /> class.
        /// </summary>


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



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


        public EvaluationAssignment(EvaluationForm EvaluationForm = null, User User = null)
        {
            this.EvaluationForm = EvaluationForm;



            this.User = User;
        }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CalibrationAssignment" /> class.
 /// </summary>
 /// <param name="Calibrator">Calibrator.</param>
 /// <param name="Evaluators">Evaluators.</param>
 /// <param name="EvaluationForm">EvaluationForm.</param>
 /// <param name="ExpertEvaluator">ExpertEvaluator.</param>
 public CalibrationAssignment(User Calibrator = null, List <User> Evaluators = null, EvaluationForm EvaluationForm = null, User ExpertEvaluator = null)
 {
     this.Calibrator      = Calibrator;
     this.Evaluators      = Evaluators;
     this.EvaluationForm  = EvaluationForm;
     this.ExpertEvaluator = ExpertEvaluator;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MeteredEvaluationAssignment" /> class.
 /// </summary>
 /// <param name="EvaluationContextId">EvaluationContextId.</param>
 /// <param name="Evaluators">Evaluators.</param>
 /// <param name="MaxNumberEvaluations">MaxNumberEvaluations.</param>
 /// <param name="EvaluationForm">EvaluationForm.</param>
 /// <param name="AssignToActiveUser">AssignToActiveUser.</param>
 /// <param name="TimeInterval">TimeInterval.</param>
 public MeteredEvaluationAssignment(string EvaluationContextId = null, List <User> Evaluators = null, int?MaxNumberEvaluations = null, EvaluationForm EvaluationForm = null, bool?AssignToActiveUser = null, TimeInterval TimeInterval = null)
 {
     this.EvaluationContextId  = EvaluationContextId;
     this.Evaluators           = Evaluators;
     this.MaxNumberEvaluations = MaxNumberEvaluations;
     this.EvaluationForm       = EvaluationForm;
     this.AssignToActiveUser   = AssignToActiveUser;
     this.TimeInterval         = TimeInterval;
 }
예제 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Calibration" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="Calibrator">Calibrator.</param>
 /// <param name="Agent">Agent.</param>
 /// <param name="Conversation">Conversation.</param>
 /// <param name="EvaluationForm">EvaluationForm.</param>
 /// <param name="ContextId">ContextId.</param>
 /// <param name="AverageScore">AverageScore.</param>
 /// <param name="HighScore">HighScore.</param>
 /// <param name="LowScore">LowScore.</param>
 /// <param name="CreatedDate">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="Evaluations">Evaluations.</param>
 /// <param name="Evaluators">Evaluators.</param>
 /// <param name="ScoringIndex">ScoringIndex.</param>
 /// <param name="ExpertEvaluator">ExpertEvaluator.</param>
 public Calibration(string Name = null, User Calibrator = null, User Agent = null, Conversation Conversation = null, EvaluationForm EvaluationForm = null, string ContextId = null, int?AverageScore = null, int?HighScore = null, int?LowScore = null, DateTime?CreatedDate = null, List <Evaluation> Evaluations = null, List <User> Evaluators = null, Evaluation ScoringIndex = null, User ExpertEvaluator = null)
 {
     this.Name            = Name;
     this.Calibrator      = Calibrator;
     this.Agent           = Agent;
     this.Conversation    = Conversation;
     this.EvaluationForm  = EvaluationForm;
     this.ContextId       = ContextId;
     this.AverageScore    = AverageScore;
     this.HighScore       = HighScore;
     this.LowScore        = LowScore;
     this.CreatedDate     = CreatedDate;
     this.Evaluations     = Evaluations;
     this.Evaluators      = Evaluators;
     this.ScoringIndex    = ScoringIndex;
     this.ExpertEvaluator = ExpertEvaluator;
 }
예제 #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MeteredAssignmentByAgent" /> class.
 /// </summary>
 /// <param name="EvaluationContextId">EvaluationContextId.</param>
 /// <param name="Evaluators">Evaluators.</param>
 /// <param name="MaxNumberEvaluations">MaxNumberEvaluations.</param>
 /// <param name="EvaluationForm">EvaluationForm.</param>
 /// <param name="TimeInterval">TimeInterval.</param>
 /// <param name="TimeZone">TimeZone.</param>
 public MeteredAssignmentByAgent(string EvaluationContextId = null, List <User> Evaluators = null, int?MaxNumberEvaluations = null, EvaluationForm EvaluationForm = null, TimeInterval TimeInterval = null, string TimeZone = null)
 {
     this.EvaluationContextId  = EvaluationContextId;
     this.Evaluators           = Evaluators;
     this.MaxNumberEvaluations = MaxNumberEvaluations;
     this.EvaluationForm       = EvaluationForm;
     this.TimeInterval         = TimeInterval;
     this.TimeZone             = TimeZone;
 }
예제 #8
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CalibrationCreate" /> class.
        /// </summary>



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



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



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



        /// <param name="Conversation">The conversation to use for the calibration. (required).</param>



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



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



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



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



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



        /// <param name="CreatedDate">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>



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



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



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



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



        public CalibrationCreate(string Name = null, User Calibrator = null, User Agent = null, Conversation Conversation = null, EvaluationForm EvaluationForm = null, string ContextId = null, int?AverageScore = null, int?HighScore = null, int?LowScore = null, DateTime?CreatedDate = null, List <Evaluation> Evaluations = null, List <User> Evaluators = null, Evaluation ScoringIndex = null, User ExpertEvaluator = null)
        {
            // to ensure "Conversation" is required (not null)
            if (Conversation == null)
            {
                throw new InvalidDataException("Conversation is a required property for CalibrationCreate and cannot be null");
            }
            else
            {
                this.Conversation = Conversation;
            }



            this.Name = Name;



            this.Calibrator = Calibrator;



            this.Agent = Agent;



            this.EvaluationForm = EvaluationForm;



            this.ContextId = ContextId;



            this.AverageScore = AverageScore;



            this.HighScore = HighScore;



            this.LowScore = LowScore;



            this.CreatedDate = CreatedDate;



            this.Evaluations = Evaluations;



            this.Evaluators = Evaluators;



            this.ScoringIndex = ScoringIndex;



            this.ExpertEvaluator = ExpertEvaluator;
        }