@Expose private List<StepicUser> authors = new ArrayList<StepicUser>();
@Expose private String description;
@Expose private String name;
- @Expose private String myCourseDirectory = "";
- @Expose private int id;
- @Expose private boolean myUpToDate;
- @Expose private boolean isAdaptive = false;
+ private String myCourseDirectory = "";
+ private int id;
+ private boolean myUpToDate;
+ private boolean isAdaptive = false;
@Expose @SerializedName("language") private String myLanguage = "Python";
//this field is used to distinguish ordinary and CheckIO projects,
//"PyCharm" is used here for historical reasons
- @Expose private String courseType = EduNames.PYCHARM;
- @Expose private String courseMode = EduNames.STUDY; //this field is used to distinguish study and course creator modes
+ private String courseType = EduNames.PYCHARM;
+ private String courseMode = EduNames.STUDY; //this field is used to distinguish study and course creator modes
public Course() {
}
import java.util.List;
public class Lesson implements StudyItem {
- @Expose public int id;
+ public int id;
@Transient public List<Integer> steps;
@Transient public List<String> tags;
@Transient
private Course myCourse = null;
// index is visible to user number of lesson from 1 to lesson number
- @Expose private int myIndex = -1;
+ private int myIndex = -1;
public Lesson() {
}
private String name;
// index is visible to user number of task from 1 to task number
- @Expose private int myIndex;
- @Expose private StudyStatus myStatus = StudyStatus.Unchecked;
+ private int myIndex;
+ private StudyStatus myStatus = StudyStatus.Unchecked;
- @Expose private int myStepicId;
+ private int myStepicId;
@Expose
@SerializedName("task_files")
public Map<String, TaskFile> taskFiles = new HashMap<String, TaskFile>();
- @Expose private String text;
+ private String text;
private Map<String, String> testsText = new HashMap<String, String>();
@Transient private Lesson myLesson;
public class TaskFile {
@Expose public String name;
@Expose public String text;
- @Expose private int myIndex = -1;
- @Expose private boolean myUserCreated = false;
- @Expose private boolean myTrackChanges = true;
- @Expose private boolean myHighlightErrors = false;
+ private int myIndex = -1;
+ private boolean myUserCreated = false;
+ private boolean myTrackChanges = true;
+ private boolean myHighlightErrors = false;
@Expose @SerializedName("placeholders") private List<AnswerPlaceholder> myAnswerPlaceholders = new ArrayList<AnswerPlaceholder>();
@Transient private Task myTask;