Documentation
¶
Index ¶
- type ActivityBreakdown
- type BlockerInfo
- type CourseItem
- type CoursesListInput
- type CoursesListOutput
- type DeadLine
- type DeadlineItem
- type DeadlinesListInput
- type DeadlinesListOutput
- type GradesDetailedInput
- type GradesDetailedOutput
- type GradesSummaryInput
- type GradesSummaryItem
- type GradesSummaryOutput
- type LoginInput
- type LoginOutput
- type MaterialEvent
- type MaterialEventType
- type MaterialsDownloadInput
- type MaterialsDownloadOutput
- type Reviewer
- type TaskGetInput
- type TaskGrade
- type TaskOutput
- type TaskState
- type UrgencyLevel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityBreakdown ¶
type BlockerInfo ¶
type CourseItem ¶
type CoursesListInput ¶
type CoursesListInput struct{}
type CoursesListOutput ¶
type CoursesListOutput struct {
Active []CourseItem
Archived []CourseItem
}
type DeadlineItem ¶
type DeadlinesListInput ¶
type DeadlinesListInput struct {
CourseQuery string
}
type DeadlinesListOutput ¶
type DeadlinesListOutput struct {
Items []DeadlineItem
CourseName string
}
type GradesDetailedInput ¶
type GradesDetailedInput struct {
CourseQuery string
}
type GradesDetailedOutput ¶
type GradesDetailedOutput struct {
CourseName string
Activities []ActivityBreakdown
TotalScore float64
Tasks []TaskGrade
Blockers []BlockerInfo
}
type GradesSummaryInput ¶
type GradesSummaryInput struct{}
type GradesSummaryItem ¶
type GradesSummaryOutput ¶
type GradesSummaryOutput struct {
Items []GradesSummaryItem
}
type LoginInput ¶
type LoginOutput ¶
type MaterialEvent ¶
type MaterialEvent struct {
Type MaterialEventType
Message string
FilePath string
}
type MaterialEventType ¶
type MaterialEventType string
const ( MaterialEventTheme MaterialEventType = "theme" MaterialEventPDF MaterialEventType = "pdf" MaterialEventLink MaterialEventType = "link" MaterialEventSaved MaterialEventType = "saved" MaterialEventError MaterialEventType = "error" )
type MaterialsDownloadInput ¶
type MaterialsDownloadOutput ¶
type TaskGetInput ¶
type TaskGetInput struct {
TaskID int
}
type TaskOutput ¶
type TaskOutput struct {
CourseName string
ThemeName string
ExerciseName string
ActivityName string
ActivityWeight float64
Deadline DeadLine
StartedAt *time.Time
SubmitAt *time.Time
RejectAt *time.Time
EvaluateAt *time.Time
Reviewer *Reviewer
SolutionURL string
MaxScore int
LateDaysBalance int
StateLabel string
ScoreFormatted string
}
type UrgencyLevel ¶
type UrgencyLevel string
const ( UrgencyUrgent UrgencyLevel = "urgent" UrgencySoon UrgencyLevel = "soon" UrgencyNormal UrgencyLevel = "normal" DateTimeFormat = "02 Jan 2006 15:04" DateTimeShortFormat = "02 Jan 15:04" )
Click to show internal directories.
Click to hide internal directories.