Esempio n. 1
0
        /// <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="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, 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.NeverRelease = NeverRelease;



            this.ResourceId = ResourceId;



            this.ResourceType = ResourceType;



            this.Redacted = Redacted;



            this.IsScoringIndex = IsScoringIndex;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="ScreenRecordingSession" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="User">User.</param>
 /// <param name="CommunicationId">The id of the communication that is being recorded on the conversation.</param>
 /// <param name="Conversation">Conversation.</param>
 /// <param name="StartTime">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 public ScreenRecordingSession(string Name = null, User User = null, string CommunicationId = null, Conversation Conversation = null, DateTime?StartTime = null)
 {
     this.Name            = Name;
     this.User            = User;
     this.CommunicationId = CommunicationId;
     this.Conversation    = Conversation;
     this.StartTime       = StartTime;
 }
Esempio n. 3
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)
 {
     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;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UserRecording" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="DateCreated">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="DateModified">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="ContentUri">ContentUri.</param>
 /// <param name="Workspace">Workspace.</param>
 /// <param name="CreatedBy">CreatedBy.</param>
 /// <param name="Conversation">Conversation.</param>
 /// <param name="ContentLength">ContentLength.</param>
 /// <param name="DurationMilliseconds">DurationMilliseconds.</param>
 /// <param name="Thumbnails">Thumbnails.</param>
 /// <param name="Read">Read.</param>
 public UserRecording(string Name = null, DateTime?DateCreated = null, DateTime?DateModified = null, string ContentUri = null, UriReference Workspace = null, UriReference CreatedBy = null, Conversation Conversation = null, long?ContentLength = null, long?DurationMilliseconds = null, List <DocumentThumbnail> Thumbnails = null, bool?Read = null)
 {
     this.Name                 = Name;
     this.DateCreated          = DateCreated;
     this.DateModified         = DateModified;
     this.ContentUri           = ContentUri;
     this.Workspace            = Workspace;
     this.CreatedBy            = CreatedBy;
     this.Conversation         = Conversation;
     this.ContentLength        = ContentLength;
     this.DurationMilliseconds = DurationMilliseconds;
     this.Thumbnails           = Thumbnails;
     this.Read                 = Read;
 }
Esempio n. 5
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;
        }