-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModelAttendance.go
51 lines (43 loc) · 1.51 KB
/
ModelAttendance.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
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
import "time"
// AttendanceInterval undocumented
type AttendanceInterval struct {
// Object is the base model of AttendanceInterval
Object
ODataType string `json:"@odata.type,omitempty"`
// DurationInSeconds undocumented
DurationInSeconds *int `json:"durationInSeconds,omitempty"`
// JoinDateTime undocumented
JoinDateTime *time.Time `json:"joinDateTime,omitempty"`
// LeaveDateTime undocumented
LeaveDateTime *time.Time `json:"leaveDateTime,omitempty"`
}
func NewAttendanceInterval() (*AttendanceInterval, error) {
newAttendanceInterval := &AttendanceInterval{
ODataType: "#microsoft.graph.AttendanceInterval",
}
return newAttendanceInterval, nil
}
// AttendanceRecord undocumented
type AttendanceRecord struct {
// Entity is the base model of AttendanceRecord
Entity
ODataType string `json:"@odata.type,omitempty"`
// AttendanceIntervals undocumented
AttendanceIntervals []AttendanceInterval `json:"attendanceIntervals,omitempty"`
// EmailAddress undocumented
EmailAddress *string `json:"emailAddress,omitempty"`
// Identity undocumented
Identity *Identity `json:"identity,omitempty"`
// Role undocumented
Role *string `json:"role,omitempty"`
// TotalAttendanceInSeconds undocumented
TotalAttendanceInSeconds *int `json:"totalAttendanceInSeconds,omitempty"`
}
func NewAttendanceRecord() (*AttendanceRecord, error) {
newAttendanceRecord := &AttendanceRecord{
ODataType: "#microsoft.graph.AttendanceRecord",
}
return newAttendanceRecord, nil
}