/
ModelMalware.go
45 lines (38 loc) · 1.07 KB
/
ModelMalware.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
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
// Malware undocumented
type Malware struct {
// Object is the base model of Malware
Object
ODataType string `json:"@odata.type,omitempty"`
// Description undocumented
Description *string `json:"description,omitempty"`
}
func NewMalware() (*Malware, error) {
newMalware := &Malware{
ODataType: "#microsoft.graph.Malware",
}
return newMalware, nil
}
// MalwareState undocumented
type MalwareState struct {
// Object is the base model of MalwareState
Object
ODataType string `json:"@odata.type,omitempty"`
// Category undocumented
Category *string `json:"category,omitempty"`
// Family undocumented
Family *string `json:"family,omitempty"`
// Name undocumented
Name *string `json:"name,omitempty"`
// Severity undocumented
Severity *string `json:"severity,omitempty"`
// WasRunning undocumented
WasRunning *bool `json:"wasRunning,omitempty"`
}
func NewMalwareState() (*MalwareState, error) {
newMalwareState := &MalwareState{
ODataType: "#microsoft.graph.MalwareState",
}
return newMalwareState, nil
}