|
| 1 | +namespace LearningHub.Nhs.WebUI.Models |
| 2 | +{ |
| 3 | + using System.Collections.Generic; |
| 4 | + |
| 5 | + /// <summary> |
| 6 | + /// MoodleCourseResponseViewModel. |
| 7 | + /// </summary> |
| 8 | + public class MoodleCourseResponseViewModel |
| 9 | + { |
| 10 | + /// <summary> |
| 11 | + /// Gets or sets the ID. |
| 12 | + /// </summary> |
| 13 | + public int? Id { get; set; } |
| 14 | + |
| 15 | + /// <summary> |
| 16 | + /// Gets or sets the short name. |
| 17 | + /// </summary> |
| 18 | + public string ShortName { get; set; } |
| 19 | + |
| 20 | + /// <summary> |
| 21 | + /// Gets or sets the full name. |
| 22 | + /// </summary> |
| 23 | + public string FullName { get; set; } |
| 24 | + |
| 25 | + /// <summary> |
| 26 | + /// Gets or sets the display name. |
| 27 | + /// </summary> |
| 28 | + public string DisplayName { get; set; } |
| 29 | + |
| 30 | + /// <summary> |
| 31 | + /// Gets or sets the enrolled user count. |
| 32 | + /// </summary> |
| 33 | + public int? EnrolledUserCount { get; set; } |
| 34 | + |
| 35 | + /// <summary> |
| 36 | + /// Gets or sets the ID number. |
| 37 | + /// </summary> |
| 38 | + public string IdNumber { get; set; } |
| 39 | + |
| 40 | + /// <summary> |
| 41 | + /// Gets or sets the visibility status. |
| 42 | + /// </summary> |
| 43 | + public int? Visible { get; set; } |
| 44 | + |
| 45 | + /// <summary> |
| 46 | + /// Gets or sets the summary. |
| 47 | + /// </summary> |
| 48 | + public string Summary { get; set; } |
| 49 | + |
| 50 | + /// <summary> |
| 51 | + /// Gets or sets the summary format. |
| 52 | + /// </summary> |
| 53 | + public int? SummaryFormat { get; set; } |
| 54 | + |
| 55 | + /// <summary> |
| 56 | + /// Gets or sets the format. |
| 57 | + /// </summary> |
| 58 | + public string Format { get; set; } |
| 59 | + |
| 60 | + /// <summary> |
| 61 | + /// Gets or sets the course image URL. |
| 62 | + /// </summary> |
| 63 | + public string CourseImage { get; set; } |
| 64 | + |
| 65 | + /// <summary> |
| 66 | + /// Gets or sets a value indicating whether grades are shown. |
| 67 | + /// </summary> |
| 68 | + public bool? ShowGrades { get; set; } |
| 69 | + |
| 70 | + /// <summary> |
| 71 | + /// Gets or sets the language. |
| 72 | + /// </summary> |
| 73 | + public string Lang { get; set; } |
| 74 | + |
| 75 | + /// <summary> |
| 76 | + /// Gets or sets a value indicating whether completion is enabled. |
| 77 | + /// </summary> |
| 78 | + public bool? EnableCompletion { get; set; } |
| 79 | + |
| 80 | + /// <summary> |
| 81 | + /// Gets or sets a value indicating whether completion has criteria. |
| 82 | + /// </summary> |
| 83 | + public bool? CompletionHasCriteria { get; set; } |
| 84 | + |
| 85 | + /// <summary> |
| 86 | + /// Gets or sets a value indicating whether completion is user-tracked. |
| 87 | + /// </summary> |
| 88 | + public bool? CompletionUserTracked { get; set; } |
| 89 | + |
| 90 | + /// <summary> |
| 91 | + /// Gets or sets the category ID. |
| 92 | + /// </summary> |
| 93 | + public int? Category { get; set; } |
| 94 | + |
| 95 | + /// <summary> |
| 96 | + /// Gets or sets the progress. |
| 97 | + /// </summary> |
| 98 | + public int? Progress { get; set; } |
| 99 | + |
| 100 | + /// <summary> |
| 101 | + /// Gets or sets the completion status. |
| 102 | + /// </summary> |
| 103 | + public bool? Completed { get; set; } |
| 104 | + |
| 105 | + /// <summary> |
| 106 | + /// Gets or sets the start date (Unix timestamp). |
| 107 | + /// </summary> |
| 108 | + public long? StartDate { get; set; } |
| 109 | + |
| 110 | + /// <summary> |
| 111 | + /// Gets or sets the end date. |
| 112 | + /// </summary> |
| 113 | + public int? EndDate { get; set; } |
| 114 | + |
| 115 | + /// <summary> |
| 116 | + /// Gets or sets the marker. |
| 117 | + /// </summary> |
| 118 | + public int? Marker { get; set; } |
| 119 | + |
| 120 | + /// <summary> |
| 121 | + /// Gets or sets the last access timestamp. |
| 122 | + /// </summary> |
| 123 | + public int? LastAccess { get; set; } |
| 124 | + |
| 125 | + /// <summary> |
| 126 | + /// Gets or sets a value indicating whether the course is a favorite. |
| 127 | + /// </summary> |
| 128 | + public bool? IsFavourite { get; set; } |
| 129 | + |
| 130 | + /// <summary> |
| 131 | + /// Gets or sets a value indicating whether the course is hidden. |
| 132 | + /// </summary> |
| 133 | + public bool? Hidden { get; set; } |
| 134 | + |
| 135 | + /// <summary> |
| 136 | + /// Gets or sets the overview files. |
| 137 | + /// </summary> |
| 138 | + public List<object> OverviewFiles { get; set; } |
| 139 | + |
| 140 | + /// <summary> |
| 141 | + /// Gets or sets a value indicating whether activity dates are shown. |
| 142 | + /// </summary> |
| 143 | + public bool? ShowActivityDates { get; set; } |
| 144 | + |
| 145 | + /// <summary> |
| 146 | + /// Gets or sets a value indicating whether completion conditions are shown. |
| 147 | + /// </summary> |
| 148 | + public bool? ShowCompletionConditions { get; set; } |
| 149 | + |
| 150 | + /// <summary> |
| 151 | + /// Gets or sets the last modified timestamp (Unix timestamp). |
| 152 | + /// </summary> |
| 153 | + public long? TimeModified { get; set; } |
| 154 | + } |
| 155 | +} |
0 commit comments