This repository has been archived by the owner on Apr 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstructs.go
52 lines (49 loc) · 1.62 KB
/
structs.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package main
var ag AutoGenerated
var days Days
var subject Subject
var lessons Lessons
var hours Hours
type AutoGenerated struct {
Days []Days `json:"days"`
ChatStub ChatStub `json:"chatStub"`
}
type Hours struct {
StartHour string `json:"startHour"`
StartMinute string `json:"startMinute"`
EndHour string `json:"endHour"`
EndMinute string `json:"endMinute"`
}
type Subject struct {
ID string `json:"id"`
Name string `json:"name"`
KnowledgeArea string `json:"knowledgeArea"`
}
type Lessons struct {
ID string `json:"id"`
Number int `json:"number"`
Place string `json:"place"`
StartTime string `json:"startTime"`
EndTime string `json:"endTime"`
Hours Hours `json:"hours"`
IsCanceled bool `json:"isCanceled"`
Theme string `json:"theme"`
MeetingURL interface{} `json:"meetingUrl"`
Subject Subject `json:"subject"`
ImportantWorks []interface{} `json:"importantWorks"`
Homework interface{} `json:"homework"`
HasAttachment bool `json:"hasAttachment"`
WorkMarks []interface{} `json:"workMarks"`
IsEmpty bool `json:"isEmpty"`
Comment interface{} `json:"comment"`
}
type Days struct {
Date string `json:"date"`
UtcOffset int `json:"utcOffset"`
HasImportantWork bool `json:"hasImportantWork"`
DayHomeworksProgress interface{} `json:"dayHomeworksProgress"`
Lessons []Lessons `json:"lessons"`
}
type ChatStub struct {
Jid string `json:"jid"`
}