/
ModelAttack.go
108 lines (91 loc) · 3.75 KB
/
ModelAttack.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
import "time"
// AttackSimulationRepeatOffender undocumented
type AttackSimulationRepeatOffender struct {
// Object is the base model of AttackSimulationRepeatOffender
Object
ODataType string `json:"@odata.type,omitempty"`
// AttackSimulationUser undocumented
AttackSimulationUser *AttackSimulationUser `json:"attackSimulationUser,omitempty"`
// RepeatOffenceCount undocumented
RepeatOffenceCount *int `json:"repeatOffenceCount,omitempty"`
}
func NewAttackSimulationRepeatOffender() (*AttackSimulationRepeatOffender, error) {
newAttackSimulationRepeatOffender := &AttackSimulationRepeatOffender{
ODataType: "#microsoft.graph.AttackSimulationRepeatOffender",
}
return newAttackSimulationRepeatOffender, nil
}
// AttackSimulationRoot undocumented
type AttackSimulationRoot struct {
// Entity is the base model of AttackSimulationRoot
Entity
ODataType string `json:"@odata.type,omitempty"`
// SimulationAutomations undocumented
SimulationAutomations []SimulationAutomation `json:"simulationAutomations,omitempty"`
// Simulations undocumented
Simulations []Simulation `json:"simulations,omitempty"`
}
func NewAttackSimulationRoot() (*AttackSimulationRoot, error) {
newAttackSimulationRoot := &AttackSimulationRoot{
ODataType: "#microsoft.graph.AttackSimulationRoot",
}
return newAttackSimulationRoot, nil
}
// AttackSimulationSimulationUserCoverage undocumented
type AttackSimulationSimulationUserCoverage struct {
// Object is the base model of AttackSimulationSimulationUserCoverage
Object
ODataType string `json:"@odata.type,omitempty"`
// AttackSimulationUser undocumented
AttackSimulationUser *AttackSimulationUser `json:"attackSimulationUser,omitempty"`
// ClickCount undocumented
ClickCount *int `json:"clickCount,omitempty"`
// CompromisedCount undocumented
CompromisedCount *int `json:"compromisedCount,omitempty"`
// LatestSimulationDateTime undocumented
LatestSimulationDateTime *time.Time `json:"latestSimulationDateTime,omitempty"`
// SimulationCount undocumented
SimulationCount *int `json:"simulationCount,omitempty"`
}
func NewAttackSimulationSimulationUserCoverage() (*AttackSimulationSimulationUserCoverage, error) {
newAttackSimulationSimulationUserCoverage := &AttackSimulationSimulationUserCoverage{
ODataType: "#microsoft.graph.AttackSimulationSimulationUserCoverage",
}
return newAttackSimulationSimulationUserCoverage, nil
}
// AttackSimulationTrainingUserCoverage undocumented
type AttackSimulationTrainingUserCoverage struct {
// Object is the base model of AttackSimulationTrainingUserCoverage
Object
ODataType string `json:"@odata.type,omitempty"`
// AttackSimulationUser undocumented
AttackSimulationUser *AttackSimulationUser `json:"attackSimulationUser,omitempty"`
// UserTrainings undocumented
UserTrainings []UserTrainingStatusInfo `json:"userTrainings,omitempty"`
}
func NewAttackSimulationTrainingUserCoverage() (*AttackSimulationTrainingUserCoverage, error) {
newAttackSimulationTrainingUserCoverage := &AttackSimulationTrainingUserCoverage{
ODataType: "#microsoft.graph.AttackSimulationTrainingUserCoverage",
}
return newAttackSimulationTrainingUserCoverage, nil
}
// AttackSimulationUser undocumented
type AttackSimulationUser struct {
// Object is the base model of AttackSimulationUser
Object
ODataType string `json:"@odata.type,omitempty"`
// DisplayName undocumented
DisplayName *string `json:"displayName,omitempty"`
// Email undocumented
Email *string `json:"email,omitempty"`
// UserID undocumented
UserID *string `json:"userId,omitempty"`
}
func NewAttackSimulationUser() (*AttackSimulationUser, error) {
newAttackSimulationUser := &AttackSimulationUser{
ODataType: "#microsoft.graph.AttackSimulationUser",
}
return newAttackSimulationUser, nil
}