-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModelSign.go
133 lines (119 loc) · 4.56 KB
/
ModelSign.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
import "time"
// SignIn undocumented
type SignIn struct {
// Entity is the base model of SignIn
Entity
ODataType string `json:"@odata.type,omitempty"`
// AppDisplayName undocumented
AppDisplayName *string `json:"appDisplayName,omitempty"`
// AppID undocumented
AppID *string `json:"appId,omitempty"`
// AppliedConditionalAccessPolicies undocumented
AppliedConditionalAccessPolicies []AppliedConditionalAccessPolicy `json:"appliedConditionalAccessPolicies,omitempty"`
// ClientAppUsed undocumented
ClientAppUsed *string `json:"clientAppUsed,omitempty"`
// ConditionalAccessStatus undocumented
ConditionalAccessStatus *ConditionalAccessStatus `json:"conditionalAccessStatus,omitempty"`
// CorrelationID undocumented
CorrelationID *string `json:"correlationId,omitempty"`
// CreatedDateTime undocumented
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// DeviceDetail undocumented
DeviceDetail *DeviceDetail `json:"deviceDetail,omitempty"`
// IPAddress undocumented
IPAddress *string `json:"ipAddress,omitempty"`
// IsInteractive undocumented
IsInteractive *bool `json:"isInteractive,omitempty"`
// Location undocumented
Location *SignInLocation `json:"location,omitempty"`
// ResourceDisplayName undocumented
ResourceDisplayName *string `json:"resourceDisplayName,omitempty"`
// ResourceID undocumented
ResourceID *string `json:"resourceId,omitempty"`
// RiskDetail undocumented
RiskDetail *RiskDetail `json:"riskDetail,omitempty"`
// RiskEventTypes undocumented
RiskEventTypes []RiskEventType `json:"riskEventTypes,omitempty"`
// RiskEventTypesUnderscorev2 undocumented
RiskEventTypesUnderscorev2 []string `json:"riskEventTypes_v2,omitempty"`
// RiskLevelAggregated undocumented
RiskLevelAggregated *RiskLevel `json:"riskLevelAggregated,omitempty"`
// RiskLevelDuringSignIn undocumented
RiskLevelDuringSignIn *RiskLevel `json:"riskLevelDuringSignIn,omitempty"`
// RiskState undocumented
RiskState *RiskState `json:"riskState,omitempty"`
// Status undocumented
Status *SignInStatus `json:"status,omitempty"`
// UserDisplayName undocumented
UserDisplayName *string `json:"userDisplayName,omitempty"`
// UserID undocumented
UserID *string `json:"userId,omitempty"`
// UserPrincipalName undocumented
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
}
func NewSignIn() (*SignIn, error) {
newSignIn := &SignIn{
ODataType: "#microsoft.graph.SignIn",
}
return newSignIn, nil
}
// SignInFrequencySessionControl undocumented
type SignInFrequencySessionControl struct {
// ConditionalAccessSessionControl is the base model of SignInFrequencySessionControl
ConditionalAccessSessionControl
ODataType string `json:"@odata.type,omitempty"`
// AuthenticationType undocumented
AuthenticationType *SignInFrequencyAuthenticationType `json:"authenticationType,omitempty"`
// FrequencyInterval undocumented
FrequencyInterval *SignInFrequencyInterval `json:"frequencyInterval,omitempty"`
// Type undocumented
Type *SigninFrequencyType `json:"type,omitempty"`
// Value undocumented
Value *int `json:"value,omitempty"`
}
func NewSignInFrequencySessionControl() (*SignInFrequencySessionControl, error) {
newSignInFrequencySessionControl := &SignInFrequencySessionControl{
ODataType: "#microsoft.graph.SignInFrequencySessionControl",
}
return newSignInFrequencySessionControl, nil
}
// SignInLocation undocumented
type SignInLocation struct {
// Object is the base model of SignInLocation
Object
ODataType string `json:"@odata.type,omitempty"`
// City undocumented
City *string `json:"city,omitempty"`
// CountryOrRegion undocumented
CountryOrRegion *string `json:"countryOrRegion,omitempty"`
// GeoCoordinates undocumented
GeoCoordinates *GeoCoordinates `json:"geoCoordinates,omitempty"`
// State undocumented
State *string `json:"state,omitempty"`
}
func NewSignInLocation() (*SignInLocation, error) {
newSignInLocation := &SignInLocation{
ODataType: "#microsoft.graph.SignInLocation",
}
return newSignInLocation, nil
}
// SignInStatus undocumented
type SignInStatus struct {
// Object is the base model of SignInStatus
Object
ODataType string `json:"@odata.type,omitempty"`
// AdditionalDetails undocumented
AdditionalDetails *string `json:"additionalDetails,omitempty"`
// ErrorCode undocumented
ErrorCode *int `json:"errorCode,omitempty"`
// FailureReason undocumented
FailureReason *string `json:"failureReason,omitempty"`
}
func NewSignInStatus() (*SignInStatus, error) {
newSignInStatus := &SignInStatus{
ODataType: "#microsoft.graph.SignInStatus",
}
return newSignInStatus, nil
}