From 9c293189cf9a932016111299c3d888e29db42014 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Fri, 18 Sep 2020 18:04:10 -0400 Subject: [PATCH] [F] Rename fields for compatibility with lower versions --- .../java/org/hydev/veracross/sdk/model/CourseV3.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/hydev/veracross/sdk/model/CourseV3.java b/src/main/java/org/hydev/veracross/sdk/model/CourseV3.java index 43eb5b2..4bb3a8c 100644 --- a/src/main/java/org/hydev/veracross/sdk/model/CourseV3.java +++ b/src/main/java/org/hydev/veracross/sdk/model/CourseV3.java @@ -27,11 +27,11 @@ public class CourseV3 @SerializedName("class_pk") @Expose - private Integer pk; + private Integer id; @SerializedName("class_id") @Expose - private String id; + private String nameId; @SerializedName("class_name") @Expose @@ -43,7 +43,7 @@ public class CourseV3 @SerializedName("teacher_full_name") @Expose - private String teacherFullName; + private String teacherName; @SerializedName("course_type") @Expose @@ -75,11 +75,11 @@ public class CourseV3 @SerializedName("ptd_grade") @Expose - private Double ptdGrade; + private Double numericGrade; @SerializedName("ptd_letter_grade") @Expose - private String ptdLetterGrade; + private String letterGrade; @SerializedName("display_assignments") @Expose