-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModelPublic.go
89 lines (76 loc) · 2.4 KB
/
ModelPublic.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
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
// PublicClientApplication undocumented
type PublicClientApplication struct {
// Object is the base model of PublicClientApplication
Object
ODataType string `json:"@odata.type,omitempty"`
// RedirectUris undocumented
RedirectUris []string `json:"redirectUris,omitempty"`
}
func NewPublicClientApplication() (*PublicClientApplication, error) {
newPublicClientApplication := &PublicClientApplication{
ODataType: "#microsoft.graph.PublicClientApplication",
}
return newPublicClientApplication, nil
}
// PublicError undocumented
type PublicError struct {
// Object is the base model of PublicError
Object
ODataType string `json:"@odata.type,omitempty"`
// Code undocumented
Code *string `json:"code,omitempty"`
// Details undocumented
Details []PublicErrorDetail `json:"details,omitempty"`
// InnerError undocumented
InnerError *PublicInnerError `json:"innerError,omitempty"`
// Message undocumented
Message *string `json:"message,omitempty"`
// Target undocumented
Target *string `json:"target,omitempty"`
}
func NewPublicError() (*PublicError, error) {
newPublicError := &PublicError{
ODataType: "#microsoft.graph.PublicError",
}
return newPublicError, nil
}
// PublicErrorDetail undocumented
type PublicErrorDetail struct {
// Object is the base model of PublicErrorDetail
Object
ODataType string `json:"@odata.type,omitempty"`
// Code undocumented
Code *string `json:"code,omitempty"`
// Message undocumented
Message *string `json:"message,omitempty"`
// Target undocumented
Target *string `json:"target,omitempty"`
}
func NewPublicErrorDetail() (*PublicErrorDetail, error) {
newPublicErrorDetail := &PublicErrorDetail{
ODataType: "#microsoft.graph.PublicErrorDetail",
}
return newPublicErrorDetail, nil
}
// PublicInnerError undocumented
type PublicInnerError struct {
// Object is the base model of PublicInnerError
Object
ODataType string `json:"@odata.type,omitempty"`
// Code undocumented
Code *string `json:"code,omitempty"`
// Details undocumented
Details []PublicErrorDetail `json:"details,omitempty"`
// Message undocumented
Message *string `json:"message,omitempty"`
// Target undocumented
Target *string `json:"target,omitempty"`
}
func NewPublicInnerError() (*PublicInnerError, error) {
newPublicInnerError := &PublicInnerError{
ODataType: "#microsoft.graph.PublicInnerError",
}
return newPublicInnerError, nil
}