forked from microsoft/wmi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathClassCreationEvent.go
48 lines (41 loc) · 1.11 KB
/
ClassCreationEvent.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
// Copyright 2019 (c) Microsoft Corporation.
// Licensed under the MIT license.
//
// Author:
// Auto Generated on 9/18/2020 using wmigen
// Source root.virtualization
//////////////////////////////////////////////
package virtualization
import (
"github.com/microsoft/wmi/pkg/base/query"
cim "github.com/microsoft/wmi/pkg/wmiinstance"
)
// __ClassCreationEvent struct
type __ClassCreationEvent struct {
*__ClassOperationEvent
}
func New__ClassCreationEventEx1(instance *cim.WmiInstance) (newInstance *__ClassCreationEvent, err error) {
tmp, err := New__ClassOperationEventEx1(instance)
if err != nil {
return
}
newInstance = &__ClassCreationEvent{
__ClassOperationEvent: tmp,
}
return
}
func New__ClassCreationEventEx6(hostName string,
wmiNamespace string,
userName string,
password string,
domainName string,
query *query.WmiQuery) (newInstance *__ClassCreationEvent, err error) {
tmp, err := New__ClassOperationEventEx6(hostName, wmiNamespace, userName, password, domainName, query)
if err != nil {
return
}
newInstance = &__ClassCreationEvent{
__ClassOperationEvent: tmp,
}
return
}