-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModelPhone.go
47 lines (40 loc) · 1.32 KB
/
ModelPhone.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
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
// Phone undocumented
type Phone struct {
// Object is the base model of Phone
Object
ODataType string `json:"@odata.type,omitempty"`
// Language undocumented
Language *string `json:"language,omitempty"`
// Number undocumented
Number *string `json:"number,omitempty"`
// Region undocumented
Region *string `json:"region,omitempty"`
// Type undocumented
Type *PhoneType `json:"type,omitempty"`
}
func NewPhone() (*Phone, error) {
newPhone := &Phone{
ODataType: "#microsoft.graph.Phone",
}
return newPhone, nil
}
// PhoneAuthenticationMethod undocumented
type PhoneAuthenticationMethod struct {
// AuthenticationMethod is the base model of PhoneAuthenticationMethod
AuthenticationMethod
ODataType string `json:"@odata.type,omitempty"`
// PhoneNumber undocumented
PhoneNumber *string `json:"phoneNumber,omitempty"`
// PhoneType undocumented
PhoneType *AuthenticationPhoneType `json:"phoneType,omitempty"`
// SmsSignInState undocumented
SmsSignInState *AuthenticationMethodSignInState `json:"smsSignInState,omitempty"`
}
func NewPhoneAuthenticationMethod() (*PhoneAuthenticationMethod, error) {
newPhoneAuthenticationMethod := &PhoneAuthenticationMethod{
ODataType: "#microsoft.graph.PhoneAuthenticationMethod",
}
return newPhoneAuthenticationMethod, nil
}