Skip to content

Commit

Permalink
[F] Rename fields for compatibility with lower versions
Browse files Browse the repository at this point in the history
  • Loading branch information
hykilpikonna committed Sep 18, 2020
1 parent 3d1dd6f commit 9c29318
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/java/org/hydev/veracross/sdk/model/CourseV3.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -43,7 +43,7 @@ public class CourseV3

@SerializedName("teacher_full_name")
@Expose
private String teacherFullName;
private String teacherName;

@SerializedName("course_type")
@Expose
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9c29318

Please sign in to comment.