Documentation
¶
Index ¶
- type PlannedExam
- type SupervisorRequirements
- type Token
- type User
- type ZPA
- func (zpa *ZPA) DeleteStudentRegsFromZPA(ancodes []*model.ZPAAncodes) (string, []byte, error)
- func (zpa *ZPA) GetExams() []*model.ZPAExam
- func (zpa *ZPA) GetPlannedExams() ([]*PlannedExam, error)
- func (zpa *ZPA) GetStudents(mtknr string) ([]*model.ZPAStudent, error)
- func (zpa *ZPA) GetSupervisorRequirements() []*SupervisorRequirements
- func (zpa *ZPA) GetTeachers() []*model.Teacher
- func (zpa *ZPA) PostExams(exams []*model.ZPAExamPlan) (string, []byte, error)
- func (zpa *ZPA) PostStudentRegsToZPA(studentRegs []*model.ZPAStudentReg) (string, []byte, error)
- func (zpa *ZPA) StudentReg2ZPAStudentReg(studreg *model.StudentReg) *model.ZPAStudentReg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlannedExam ¶
type PlannedExam struct { Ancode int `json:"anCode"` Module string `json:"module"` MainExamer string `json:"main_examer"` MainExamerID int `json:"main_examer_id"` Number int `json:"number"` Date string `json:"date"` Starttime string `json:"start_time"` RoomName string `json:"room"` IsReserve bool `json:"is_reserve"` IsHandicap bool `json:"is_handicap"` Supervisor string `json:"supervisor"` Duration int `json:"duration"` ReserveSupervisor string `json:"reserve_supervisor"` }
type SupervisorRequirements ¶
type SupervisorRequirements struct { Invigilator string `json:"invigilator"` InvigilatorID int `json:"invigilator_id"` ExcludedDates []string `json:"excluded_dates"` PartTime float64 `json:"part_time"` OralExamsContribution int `json:"oral_exams_contribution"` LivecodingContribution int `json:"livecoding_contribution"` MasterContribution int `json:"master_contribution"` FreeSemester float64 `json:"free_semester"` OvertimeLastSemester float64 `json:"overtime_last_semester"` OvertimeThisSemester float64 `json:"overtime_this_semester"` }
type ZPA ¶
type ZPA struct {
// contains filtered or unexported fields
}
func (*ZPA) DeleteStudentRegsFromZPA ¶
func (*ZPA) GetPlannedExams ¶
func (zpa *ZPA) GetPlannedExams() ([]*PlannedExam, error)
func (*ZPA) GetStudents ¶
func (zpa *ZPA) GetStudents(mtknr string) ([]*model.ZPAStudent, error)
func (*ZPA) GetSupervisorRequirements ¶
func (zpa *ZPA) GetSupervisorRequirements() []*SupervisorRequirements
func (*ZPA) GetTeachers ¶
func (*ZPA) PostStudentRegsToZPA ¶
func (*ZPA) StudentReg2ZPAStudentReg ¶
func (zpa *ZPA) StudentReg2ZPAStudentReg(studreg *model.StudentReg) *model.ZPAStudentReg
Source Files
¶
Click to show internal directories.
Click to hide internal directories.