-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModelEmail.go
96 lines (80 loc) · 3.14 KB
/
ModelEmail.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
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
// EmailAddress undocumented
type EmailAddress struct {
// Object is the base model of EmailAddress
Object
ODataType string `json:"@odata.type,omitempty"`
// Address undocumented
Address *string `json:"address,omitempty"`
// Name undocumented
Name *string `json:"name,omitempty"`
}
func NewEmailAddress() (*EmailAddress, error) {
newEmailAddress := &EmailAddress{
ODataType: "#microsoft.graph.EmailAddress",
}
return newEmailAddress, nil
}
// EmailAuthenticationMethod undocumented
type EmailAuthenticationMethod struct {
// AuthenticationMethod is the base model of EmailAuthenticationMethod
AuthenticationMethod
ODataType string `json:"@odata.type,omitempty"`
// EmailAddress undocumented
EmailAddress *string `json:"emailAddress,omitempty"`
}
func NewEmailAuthenticationMethod() (*EmailAuthenticationMethod, error) {
newEmailAuthenticationMethod := &EmailAuthenticationMethod{
ODataType: "#microsoft.graph.EmailAuthenticationMethod",
}
return newEmailAuthenticationMethod, nil
}
// EmailAuthenticationMethodConfiguration undocumented
type EmailAuthenticationMethodConfiguration struct {
// AuthenticationMethodConfiguration is the base model of EmailAuthenticationMethodConfiguration
AuthenticationMethodConfiguration
ODataType string `json:"@odata.type,omitempty"`
// AllowExternalIDToUseEmailOtp undocumented
AllowExternalIDToUseEmailOtp *ExternalEmailOtpState `json:"allowExternalIdToUseEmailOtp,omitempty"`
// IncludeTargets undocumented
IncludeTargets []AuthenticationMethodTarget `json:"includeTargets,omitempty"`
}
func NewEmailAuthenticationMethodConfiguration() (*EmailAuthenticationMethodConfiguration, error) {
newEmailAuthenticationMethodConfiguration := &EmailAuthenticationMethodConfiguration{
ODataType: "#microsoft.graph.EmailAuthenticationMethodConfiguration",
}
return newEmailAuthenticationMethodConfiguration, nil
}
// EmailFileAssessmentRequestObject undocumented
type EmailFileAssessmentRequestObject struct {
// ThreatAssessmentRequestObject is the base model of EmailFileAssessmentRequestObject
ThreatAssessmentRequestObject
ODataType string `json:"@odata.type,omitempty"`
// ContentData undocumented
ContentData *string `json:"contentData,omitempty"`
// DestinationRoutingReason undocumented
DestinationRoutingReason *MailDestinationRoutingReason `json:"destinationRoutingReason,omitempty"`
// RecipientEmail undocumented
RecipientEmail *string `json:"recipientEmail,omitempty"`
}
func NewEmailFileAssessmentRequestObject() (*EmailFileAssessmentRequestObject, error) {
newEmailFileAssessmentRequestObject := &EmailFileAssessmentRequestObject{
ODataType: "#microsoft.graph.EmailFileAssessmentRequestObject",
}
return newEmailFileAssessmentRequestObject, nil
}
// EmailIdentity undocumented
type EmailIdentity struct {
// Identity is the base model of EmailIdentity
Identity
ODataType string `json:"@odata.type,omitempty"`
// Email undocumented
Email *string `json:"email,omitempty"`
}
func NewEmailIdentity() (*EmailIdentity, error) {
newEmailIdentity := &EmailIdentity{
ODataType: "#microsoft.graph.EmailIdentity",
}
return newEmailIdentity, nil
}