/// <summary>
 /// Initializes a new instance of the <see cref="LearningModule" /> class.
 /// </summary>
 /// <param name="Name">The name of learning module (required).</param>
 /// <param name="Description">The description of learning module.</param>
 /// <param name="CompletionTimeInDays">The completion time of learning module in days (required).</param>
 /// <param name="Type">The type for the learning module.</param>
 /// <param name="InformSteps">The list of inform steps in a learning module.</param>
 /// <param name="AssessmentForm">The assessment form for learning module.</param>
 /// <param name="SummaryData">The learning module summary data.</param>
 /// <param name="CoverArt">The cover art for the learning module.</param>
 public LearningModule(string Name = null, string Description = null, int?CompletionTimeInDays = null, TypeEnum?Type = null, List <LearningModuleInformStep> InformSteps = null, AssessmentForm AssessmentForm = null, LearningModuleSummary SummaryData = null, LearningModuleCoverArtResponse CoverArt = null)
 {
     this.Name                 = Name;
     this.Description          = Description;
     this.CompletionTimeInDays = CompletionTimeInDays;
     this.Type                 = Type;
     this.InformSteps          = InformSteps;
     this.AssessmentForm       = AssessmentForm;
     this.SummaryData          = SummaryData;
     this.CoverArt             = CoverArt;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="LearningModuleRequest" /> class.
 /// </summary>
 /// <param name="Name">The name of learning module (required).</param>
 /// <param name="Description">The description of learning module.</param>
 /// <param name="CompletionTimeInDays">The completion time of learning module in days (required).</param>
 /// <param name="InformSteps">The list of inform steps in a learning module.</param>
 /// <param name="Type">The type for the learning module.</param>
 /// <param name="AssessmentForm">The assessment form for learning module.</param>
 /// <param name="CoverArt">The cover art for the learning module.</param>
 public LearningModuleRequest(string Name = null, string Description = null, int?CompletionTimeInDays = null, List <LearningModuleInformStepRequest> InformSteps = null, TypeEnum?Type = null, AssessmentForm AssessmentForm = null, LearningModuleCoverArtRequest CoverArt = null)
 {
     this.Name                 = Name;
     this.Description          = Description;
     this.CompletionTimeInDays = CompletionTimeInDays;
     this.InformSteps          = InformSteps;
     this.Type                 = Type;
     this.AssessmentForm       = AssessmentForm;
     this.CoverArt             = CoverArt;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="LearningAssessmentScoringRequest" /> class.
 /// </summary>
 /// <param name="AssessmentForm">The assessment form to score against (required).</param>
 /// <param name="Answers">The answers to score (required).</param>
 public LearningAssessmentScoringRequest(AssessmentForm AssessmentForm = null, AssessmentScoringSet Answers = null)
 {
     this.AssessmentForm = AssessmentForm;
     this.Answers        = Answers;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LearningAssignment" /> class.
 /// </summary>
 /// <param name="Assessment">The assessment associated with this assignment.</param>
 /// <param name="State">The Learning Assignment state.</param>
 /// <param name="DateRecommendedForCompletion">The recommended completion date of the assignment. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="Version">The version of Learning module assigned.</param>
 /// <param name="Module">The Learning module object associated with this assignment.</param>
 /// <param name="User">The user to whom the assignment is assigned.</param>
 /// <param name="AssessmentForm">The assessment form associated with this assignment.</param>
 public LearningAssignment(LearningAssessment Assessment = null, StateEnum?State = null, DateTime?DateRecommendedForCompletion = null, int?Version = null, LearningModule Module = null, UserReference User = null, AssessmentForm AssessmentForm = null)
 {
     this.Assessment = Assessment;
     this.State      = State;
     this.DateRecommendedForCompletion = DateRecommendedForCompletion;
     this.Version        = Version;
     this.Module         = Module;
     this.User           = User;
     this.AssessmentForm = AssessmentForm;
 }