/// <summary> /// Initializes a new instance of the <see cref="ScorableSurvey" /> class. /// </summary> /// <param name="Name">Name.</param> /// <param name="SurveyForm">Survey form used for this survey..</param> /// <param name="Status">Status.</param> /// <param name="Answers">Answers.</param> public ScorableSurvey(string Name = null, SurveyForm SurveyForm = null, StatusEnum?Status = null, SurveyScoringSet Answers = null) { this.Name = Name; this.SurveyForm = SurveyForm; this.Status = Status; this.Answers = Answers; }
/// <summary> /// Initializes a new instance of the <see cref="SurveyFormAndScoringSet" /> class. /// </summary> /// <param name="SurveyForm">SurveyForm.</param> /// <param name="Answers">Answers.</param> public SurveyFormAndScoringSet(SurveyForm SurveyForm = null, SurveyScoringSet Answers = null) { this.SurveyForm = SurveyForm; this.Answers = Answers; }
/// <summary> /// Initializes a new instance of the <see cref="Survey" /> class. /// </summary> /// <param name="Name">Name.</param> /// <param name="Conversation">Conversation.</param> /// <param name="SurveyForm">Survey form used for this survey..</param> /// <param name="Agent">Agent.</param> /// <param name="Status">Status.</param> /// <param name="Queue">Queue.</param> /// <param name="Answers">Answers.</param> /// <param name="CompletedDate">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param> /// <param name="SurveyErrorDetails">Additional information about what happened when the survey is in Error status..</param> public Survey(string Name = null, Conversation Conversation = null, SurveyForm SurveyForm = null, DomainEntityRef Agent = null, StatusEnum?Status = null, QueueReference Queue = null, SurveyScoringSet Answers = null, DateTime?CompletedDate = null, SurveyErrorDetails SurveyErrorDetails = null) { this.Name = Name; this.Conversation = Conversation; this.SurveyForm = SurveyForm; this.Agent = Agent; this.Status = Status; this.Queue = Queue; this.Answers = Answers; this.CompletedDate = CompletedDate; this.SurveyErrorDetails = SurveyErrorDetails; }