passing canvas models tests

This commit is contained in:
2023-01-04 21:51:23 -07:00
parent 8fec96ce5c
commit ed897bc96e
42 changed files with 30 additions and 48 deletions

View File

@@ -0,0 +1,30 @@
namespace CanvasModel.Assignments;
public record RubricCriteriaModel
(
[property: JsonPropertyName("id")]
string Id,
[property: JsonPropertyName("description")]
string Description,
[property: JsonPropertyName("long_description")]
string LongDescription,
[property: JsonPropertyName("points")]
double? Points,
[property: JsonPropertyName("learning_outcome_id")]
string? LearningOutcomeId,
[property: JsonPropertyName("vendor_guid")]
string? VendorGuid,
[property: JsonPropertyName("criterion_use_range")]
bool? CriterionUseRange = null,
[property: JsonPropertyName("ratings")]
IEnumerable<RubricRatingModel>? Ratings = null,
[property: JsonPropertyName("ignore_for_scoring")]
bool? IgnoreForScoring = null
);