/// <summary> /// Initializes a new instance of the <see cref="ActivityResultSchema" /> class. /// </summary> /// <param name="id">id.</param> /// <param name="title">title.</param> /// <param name="attempts">attempts.</param> /// <param name="activityCompletion">activityCompletion.</param> /// <param name="activitySuccess">activitySuccess.</param> /// <param name="score">score.</param> /// <param name="timeTracked">timeTracked.</param> /// <param name="completionAmount">completionAmount.</param> /// <param name="suspended">suspended.</param> /// <param name="children">children.</param> /// <param name="objectives">objectives.</param> /// <param name="staticProperties">staticProperties.</param> /// <param name="runtime">runtime.</param> public ActivityResultSchema(string id = default(string), string title = default(string), int?attempts = default(int?), ActivityCompletionEnum?activityCompletion = default(ActivityCompletionEnum?), ActivitySuccessEnum?activitySuccess = default(ActivitySuccessEnum?), ScoreSchema score = default(ScoreSchema), string timeTracked = default(string), CompletionAmountSchema completionAmount = default(CompletionAmountSchema), bool?suspended = default(bool?), List <ActivityResultSchema> children = default(List <ActivityResultSchema>), List <ObjectiveSchema> objectives = default(List <ObjectiveSchema>), StaticPropertiesSchema staticProperties = default(StaticPropertiesSchema), RuntimeSchema runtime = default(RuntimeSchema)) { this.Id = id; this.Title = title; this.Attempts = attempts; this.ActivityCompletion = activityCompletion; this.ActivitySuccess = activitySuccess; this.Score = score; this.TimeTracked = timeTracked; this.CompletionAmount = completionAmount; this.Suspended = suspended; this.Children = children; this.Objectives = objectives; this.StaticProperties = staticProperties; this.Runtime = runtime; }
/// <summary> /// Initializes a new instance of the <see cref="RegistrationSchema" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="Instance">Instance.</param> /// <param name="XapiRegistrationId">xAPI registration id associated with this registration.</param> /// <param name="DispatchId">Dispatch ID for this registration, if applicable.</param> /// <param name="Updated">Updated.</param> /// <param name="RegistrationCompletion">RegistrationCompletion.</param> /// <param name="RegistrationCompletionAmount">RegistrationCompletionAmount.</param> /// <param name="RegistrationSuccess">RegistrationSuccess.</param> /// <param name="Score">Score.</param> /// <param name="TotalSecondsTracked">TotalSecondsTracked.</param> /// <param name="FirstAccessDate">FirstAccessDate.</param> /// <param name="LastAccessDate">LastAccessDate.</param> /// <param name="CompletedDate">CompletedDate.</param> /// <param name="CreatedDate">CreatedDate.</param> /// <param name="Course">Course.</param> /// <param name="Learner">Learner.</param> /// <param name="Tags">Tags.</param> /// <param name="GlobalObjectives">GlobalObjectives.</param> /// <param name="SharedData">SharedData.</param> /// <param name="SuspendedActivityId">SuspendedActivityId.</param> /// <param name="ActivityDetails">ActivityDetails.</param> public RegistrationSchema(string Id = default(string), int?Instance = default(int?), string XapiRegistrationId = default(string), string DispatchId = default(string), DateTime?Updated = default(DateTime?), RegistrationCompletion RegistrationCompletion = default(RegistrationCompletion), double?RegistrationCompletionAmount = default(double?), RegistrationSuccess RegistrationSuccess = default(RegistrationSuccess), ScoreSchema Score = default(ScoreSchema), double?TotalSecondsTracked = default(double?), DateTime?FirstAccessDate = default(DateTime?), DateTime?LastAccessDate = default(DateTime?), DateTime?CompletedDate = default(DateTime?), DateTime?CreatedDate = default(DateTime?), CourseReferenceSchema Course = default(CourseReferenceSchema), LearnerSchema Learner = default(LearnerSchema), List <string> Tags = default(List <string>), List <ObjectiveSchema> GlobalObjectives = default(List <ObjectiveSchema>), List <SharedDataEntrySchema> SharedData = default(List <SharedDataEntrySchema>), string SuspendedActivityId = default(string), ActivityResultSchema ActivityDetails = default(ActivityResultSchema)) { this.Id = Id; this.Instance = Instance; this.XapiRegistrationId = XapiRegistrationId; this.DispatchId = DispatchId; this.Updated = Updated; this.RegistrationCompletion = RegistrationCompletion; this.RegistrationCompletionAmount = RegistrationCompletionAmount; this.RegistrationSuccess = RegistrationSuccess; this.Score = Score; this.TotalSecondsTracked = TotalSecondsTracked; this.FirstAccessDate = FirstAccessDate; this.LastAccessDate = LastAccessDate; this.CompletedDate = CompletedDate; this.CreatedDate = CreatedDate; this.Course = Course; this.Learner = Learner; this.Tags = Tags; this.GlobalObjectives = GlobalObjectives; this.SharedData = SharedData; this.SuspendedActivityId = SuspendedActivityId; this.ActivityDetails = ActivityDetails; }
/// <summary> /// Initializes a new instance of the <see cref="ObjectiveSchema" /> class. /// </summary> /// <param name="id">id.</param> /// <param name="primary">primary.</param> /// <param name="score">score.</param> /// <param name="scoreMax">scoreMax.</param> /// <param name="scoreMin">scoreMin.</param> /// <param name="scoreRaw">scoreRaw.</param> /// <param name="previousScoreScaled">previousScoreScaled.</param> /// <param name="firstScoreScaled">firstScoreScaled.</param> /// <param name="progressMeasure">progressMeasure.</param> /// <param name="firstSuccessTimeStamp">firstSuccessTimeStamp.</param> /// <param name="objectiveCompletion">objectiveCompletion (default to ObjectiveCompletionEnum.UNKNOWN).</param> /// <param name="objectiveSuccess">objectiveSuccess (default to ObjectiveSuccessEnum.UNKNOWN).</param> /// <param name="previousObjectiveSuccess">previousObjectiveSuccess (default to PreviousObjectiveSuccessEnum.UNKNOWN).</param> public ObjectiveSchema(string id = default(string), bool?primary = default(bool?), ScoreSchema score = default(ScoreSchema), double?scoreMax = default(double?), double?scoreMin = default(double?), double?scoreRaw = default(double?), double?previousScoreScaled = default(double?), double?firstScoreScaled = default(double?), double?progressMeasure = default(double?), string firstSuccessTimeStamp = default(string), ObjectiveCompletionEnum?objectiveCompletion = ObjectiveCompletionEnum.UNKNOWN, ObjectiveSuccessEnum?objectiveSuccess = ObjectiveSuccessEnum.UNKNOWN, PreviousObjectiveSuccessEnum?previousObjectiveSuccess = PreviousObjectiveSuccessEnum.UNKNOWN) { this.Id = id; this.Primary = primary; this.Score = score; this.ScoreMax = scoreMax; this.ScoreMin = scoreMin; this.ScoreRaw = scoreRaw; this.PreviousScoreScaled = previousScoreScaled; this.FirstScoreScaled = firstScoreScaled; this.ProgressMeasure = progressMeasure; this.FirstSuccessTimeStamp = firstSuccessTimeStamp; // use default value if no "objectiveCompletion" provided if (objectiveCompletion == null) { this.ObjectiveCompletion = ObjectiveCompletionEnum.UNKNOWN; } else { this.ObjectiveCompletion = objectiveCompletion; } // use default value if no "objectiveSuccess" provided if (objectiveSuccess == null) { this.ObjectiveSuccess = ObjectiveSuccessEnum.UNKNOWN; } else { this.ObjectiveSuccess = objectiveSuccess; } // use default value if no "previousObjectiveSuccess" provided if (previousObjectiveSuccess == null) { this.PreviousObjectiveSuccess = PreviousObjectiveSuccessEnum.UNKNOWN; } else { this.PreviousObjectiveSuccess = previousObjectiveSuccess; } }
/// <summary> /// Initializes a new instance of the <see cref="ObjectiveSchema" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="Primary">Primary.</param> /// <param name="Score">Score.</param> /// <param name="ScoreMax">ScoreMax.</param> /// <param name="ScoreMin">ScoreMin.</param> /// <param name="ScoreRaw">ScoreRaw.</param> /// <param name="PreviousScoreScaled">PreviousScoreScaled.</param> /// <param name="FirstScoreScaled">FirstScoreScaled.</param> /// <param name="ProgressMeasure">ProgressMeasure.</param> /// <param name="FirstSuccessTimeStamp">FirstSuccessTimeStamp.</param> /// <param name="ObjectiveCompletion">ObjectiveCompletion (default to ObjectiveCompletionEnum.UNKNOWN).</param> /// <param name="ObjectiveSuccess">ObjectiveSuccess (default to ObjectiveSuccessEnum.UNKNOWN).</param> /// <param name="PreviousObjectiveSuccess">PreviousObjectiveSuccess (default to PreviousObjectiveSuccessEnum.UNKNOWN).</param> public ObjectiveSchema(string Id = default(string), bool?Primary = default(bool?), ScoreSchema Score = default(ScoreSchema), double?ScoreMax = default(double?), double?ScoreMin = default(double?), double?ScoreRaw = default(double?), double?PreviousScoreScaled = default(double?), double?FirstScoreScaled = default(double?), double?ProgressMeasure = default(double?), string FirstSuccessTimeStamp = default(string), ObjectiveCompletionEnum?ObjectiveCompletion = ObjectiveCompletionEnum.UNKNOWN, ObjectiveSuccessEnum?ObjectiveSuccess = ObjectiveSuccessEnum.UNKNOWN, PreviousObjectiveSuccessEnum?PreviousObjectiveSuccess = PreviousObjectiveSuccessEnum.UNKNOWN) { this.Id = Id; this.Primary = Primary; this.Score = Score; this.ScoreMax = ScoreMax; this.ScoreMin = ScoreMin; this.ScoreRaw = ScoreRaw; this.PreviousScoreScaled = PreviousScoreScaled; this.FirstScoreScaled = FirstScoreScaled; this.ProgressMeasure = ProgressMeasure; this.FirstSuccessTimeStamp = FirstSuccessTimeStamp; // use default value if no "ObjectiveCompletion" provided if (ObjectiveCompletion == null) { this.ObjectiveCompletion = ObjectiveCompletionEnum.UNKNOWN; } else { this.ObjectiveCompletion = ObjectiveCompletion; } // use default value if no "ObjectiveSuccess" provided if (ObjectiveSuccess == null) { this.ObjectiveSuccess = ObjectiveSuccessEnum.UNKNOWN; } else { this.ObjectiveSuccess = ObjectiveSuccess; } // use default value if no "PreviousObjectiveSuccess" provided if (PreviousObjectiveSuccess == null) { this.PreviousObjectiveSuccess = PreviousObjectiveSuccessEnum.UNKNOWN; } else { this.PreviousObjectiveSuccess = PreviousObjectiveSuccess; } }
/// <summary> /// Initializes a new instance of the <see cref="LaunchHistorySchema" /> class. /// </summary> /// <param name="id">id.</param> /// <param name="instance">instance.</param> /// <param name="score">score.</param> /// <param name="completionStatus">completionStatus (default to CompletionStatusEnum.UNKNOWN).</param> /// <param name="successStatus">successStatus (default to SuccessStatusEnum.UNKNOWN).</param> /// <param name="historyLog">historyLog.</param> /// <param name="totalSecondsTracked">totalSecondsTracked.</param> /// <param name="launchTime">The time of the launch in UTC.</param> /// <param name="exitTime">The time of the exit in UTC.</param> /// <param name="lastRuntimeUpdate">The time of the last runtime update in UTC.</param> public LaunchHistorySchema(string id = default(string), int?instance = default(int?), ScoreSchema score = default(ScoreSchema), CompletionStatusEnum?completionStatus = CompletionStatusEnum.UNKNOWN, SuccessStatusEnum?successStatus = SuccessStatusEnum.UNKNOWN, string historyLog = default(string), double?totalSecondsTracked = default(double?), DateTime?launchTime = default(DateTime?), DateTime?exitTime = default(DateTime?), DateTime?lastRuntimeUpdate = default(DateTime?)) { this.Id = id; this.Instance = instance; this.Score = score; // use default value if no "completionStatus" provided if (completionStatus == null) { this.CompletionStatus = CompletionStatusEnum.UNKNOWN; } else { this.CompletionStatus = completionStatus; } // use default value if no "successStatus" provided if (successStatus == null) { this.SuccessStatus = SuccessStatusEnum.UNKNOWN; } else { this.SuccessStatus = successStatus; } this.HistoryLog = historyLog; this.TotalSecondsTracked = totalSecondsTracked; this.LaunchTime = launchTime; this.ExitTime = exitTime; this.LastRuntimeUpdate = lastRuntimeUpdate; }
/// <summary> /// Initializes a new instance of the <see cref="RegistrationSchema" /> class. /// </summary> /// <param name="id">id.</param> /// <param name="instance">instance.</param> /// <param name="xapiRegistrationId">xAPI registration id associated with this registration.</param> /// <param name="dispatchId">Dispatch ID for this registration, if applicable.</param> /// <param name="updated">updated.</param> /// <param name="registrationCompletion">registrationCompletion.</param> /// <param name="registrationCompletionAmount">registrationCompletionAmount.</param> /// <param name="registrationSuccess">registrationSuccess.</param> /// <param name="score">score.</param> /// <param name="totalSecondsTracked">totalSecondsTracked.</param> /// <param name="firstAccessDate">firstAccessDate.</param> /// <param name="lastAccessDate">lastAccessDate.</param> /// <param name="completedDate">completedDate.</param> /// <param name="createdDate">createdDate.</param> /// <param name="course">course.</param> /// <param name="learner">learner.</param> /// <param name="tags">tags.</param> /// <param name="globalObjectives">globalObjectives.</param> /// <param name="sharedData">sharedData.</param> /// <param name="suspendedActivityId">suspendedActivityId.</param> /// <param name="activityDetails">activityDetails.</param> public RegistrationSchema(string id = default(string), int?instance = default(int?), string xapiRegistrationId = default(string), string dispatchId = default(string), DateTime?updated = default(DateTime?), RegistrationCompletion?registrationCompletion = default(RegistrationCompletion?), double?registrationCompletionAmount = default(double?), RegistrationSuccess?registrationSuccess = default(RegistrationSuccess?), ScoreSchema score = default(ScoreSchema), double?totalSecondsTracked = default(double?), DateTime?firstAccessDate = default(DateTime?), DateTime?lastAccessDate = default(DateTime?), DateTime?completedDate = default(DateTime?), DateTime?createdDate = default(DateTime?), CourseReferenceSchema course = default(CourseReferenceSchema), LearnerSchema learner = default(LearnerSchema), List <string> tags = default(List <string>), List <ObjectiveSchema> globalObjectives = default(List <ObjectiveSchema>), List <SharedDataEntrySchema> sharedData = default(List <SharedDataEntrySchema>), string suspendedActivityId = default(string), ActivityResultSchema activityDetails = default(ActivityResultSchema)) { this.Id = id; this.Instance = instance; this.XapiRegistrationId = xapiRegistrationId; this.DispatchId = dispatchId; this.Updated = updated; this.RegistrationCompletion = registrationCompletion; this.RegistrationCompletionAmount = registrationCompletionAmount; this.RegistrationSuccess = registrationSuccess; this.Score = score; this.TotalSecondsTracked = totalSecondsTracked; this.FirstAccessDate = firstAccessDate; this.LastAccessDate = lastAccessDate; this.CompletedDate = completedDate; this.CreatedDate = createdDate; this.Course = course; this.Learner = learner; this.Tags = tags; this.GlobalObjectives = globalObjectives; this.SharedData = sharedData; this.SuspendedActivityId = suspendedActivityId; this.ActivityDetails = activityDetails; }
/// <summary> /// Initializes a new instance of the <see cref="UserInvitationSchemaRegistrationReport" /> class. /// </summary> /// <param name="Complete">Complete.</param> /// <param name="Success">Success.</param> /// <param name="TotalSecondsTracked">TotalSecondsTracked.</param> /// <param name="Score">Score.</param> public UserInvitationSchemaRegistrationReport(RegistrationCompletion Complete = default(RegistrationCompletion), RegistrationSuccess Success = default(RegistrationSuccess), double?TotalSecondsTracked = default(double?), ScoreSchema Score = default(ScoreSchema)) { this.Complete = Complete; this.Success = Success; this.TotalSecondsTracked = TotalSecondsTracked; this.Score = Score; }
/// <summary> /// Initializes a new instance of the <see cref="ActivityResultSchema" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="Title">Title.</param> /// <param name="Attempts">Attempts.</param> /// <param name="ActivityCompletion">ActivityCompletion.</param> /// <param name="ActivitySuccess">ActivitySuccess.</param> /// <param name="Score">Score.</param> /// <param name="TimeTracked">TimeTracked.</param> /// <param name="CompletionAmount">CompletionAmount.</param> /// <param name="Suspended">Suspended.</param> /// <param name="Children">Children.</param> /// <param name="Objectives">Objectives.</param> /// <param name="StaticProperties">StaticProperties.</param> /// <param name="Runtime">Runtime.</param> public ActivityResultSchema(string Id = default(string), string Title = default(string), int?Attempts = default(int?), ActivityCompletionEnum?ActivityCompletion = default(ActivityCompletionEnum?), ActivitySuccessEnum?ActivitySuccess = default(ActivitySuccessEnum?), ScoreSchema Score = default(ScoreSchema), string TimeTracked = default(string), CompletionAmountSchema CompletionAmount = default(CompletionAmountSchema), bool?Suspended = default(bool?), List <ActivityResultSchema> Children = default(List <ActivityResultSchema>), List <ObjectiveSchema> Objectives = default(List <ObjectiveSchema>), StaticPropertiesSchema StaticProperties = default(StaticPropertiesSchema), RuntimeSchema Runtime = default(RuntimeSchema)) { this.Id = Id; this.Title = Title; this.Attempts = Attempts; this.ActivityCompletion = ActivityCompletion; this.ActivitySuccess = ActivitySuccess; this.Score = Score; this.TimeTracked = TimeTracked; this.CompletionAmount = CompletionAmount; this.Suspended = Suspended; this.Children = Children; this.Objectives = Objectives; this.StaticProperties = StaticProperties; this.Runtime = Runtime; }
/// <summary> /// Initializes a new instance of the <see cref="LaunchHistorySchema" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="Instance">Instance.</param> /// <param name="Score">Score.</param> /// <param name="CompletionStatus">CompletionStatus (default to CompletionStatusEnum.UNKNOWN).</param> /// <param name="SuccessStatus">SuccessStatus (default to SuccessStatusEnum.UNKNOWN).</param> /// <param name="HistoryLog">HistoryLog.</param> /// <param name="TotalSecondsTracked">TotalSecondsTracked.</param> /// <param name="LaunchTime">The time of the launch in UTC.</param> /// <param name="ExitTime">The time of the exit in UTC.</param> /// <param name="LastRuntimeUpdate">The time of the last runtime update in UTC.</param> public LaunchHistorySchema(string Id = default(string), int?Instance = default(int?), ScoreSchema Score = default(ScoreSchema), CompletionStatusEnum?CompletionStatus = CompletionStatusEnum.UNKNOWN, SuccessStatusEnum?SuccessStatus = SuccessStatusEnum.UNKNOWN, string HistoryLog = default(string), double?TotalSecondsTracked = default(double?), DateTime?LaunchTime = default(DateTime?), DateTime?ExitTime = default(DateTime?), DateTime?LastRuntimeUpdate = default(DateTime?)) { this.Id = Id; this.Instance = Instance; this.Score = Score; // use default value if no "CompletionStatus" provided if (CompletionStatus == null) { this.CompletionStatus = CompletionStatusEnum.UNKNOWN; } else { this.CompletionStatus = CompletionStatus; } // use default value if no "SuccessStatus" provided if (SuccessStatus == null) { this.SuccessStatus = SuccessStatusEnum.UNKNOWN; } else { this.SuccessStatus = SuccessStatus; } this.HistoryLog = HistoryLog; this.TotalSecondsTracked = TotalSecondsTracked; this.LaunchTime = LaunchTime; this.ExitTime = ExitTime; this.LastRuntimeUpdate = LastRuntimeUpdate; }
/// <summary> /// Initializes a new instance of the <see cref="UserInvitationSchemaRegistrationReport" /> class. /// </summary> /// <param name="complete">complete.</param> /// <param name="success">success.</param> /// <param name="totalSecondsTracked">totalSecondsTracked.</param> /// <param name="score">score.</param> public UserInvitationSchemaRegistrationReport(RegistrationCompletion?complete = default(RegistrationCompletion?), RegistrationSuccess?success = default(RegistrationSuccess?), double?totalSecondsTracked = default(double?), ScoreSchema score = default(ScoreSchema)) { this.Complete = complete; this.Success = success; this.TotalSecondsTracked = totalSecondsTracked; this.Score = score; }