14
14
from office365 .directory .authentication .authentication import Authentication
15
15
from office365 .directory .extensions .extension import Extension
16
16
from office365 .directory .identities .object_identity import ObjectIdentity
17
+ from office365 .directory .identitygovernance .termsofuse .agreement_acceptance import (
18
+ AgreementAcceptance ,
19
+ )
17
20
from office365 .directory .insights .office_graph import OfficeGraphInsights
18
21
from office365 .directory .licenses .assigned_license import AssignedLicense
19
22
from office365 .directory .licenses .assigned_plan import AssignedPlan
55
58
from office365 .outlook .mail .messages .message import Message
56
59
from office365 .outlook .mail .recipient import Recipient
57
60
from office365 .outlook .mail .tips .tips import MailTips
61
+ from office365 .outlook .person import Person
58
62
from office365 .outlook .user import OutlookUser
59
63
from office365 .planner .user import PlannerUser
60
64
from office365 .runtime .client_result import ClientResult
69
73
from office365 .runtime .types .collections import StringCollection
70
74
from office365 .teams .chats .collection import ChatCollection
71
75
from office365 .teams .collection import TeamCollection
76
+ from office365 .teams .teamwork .shiftmanagement .user_solution_root import UserSolutionRoot
72
77
from office365 .teams .teamwork .user import UserTeamwork
73
78
from office365 .teams .viva .employee_experience_user import EmployeeExperienceUser
74
79
from office365 .todo .todo import Todo
@@ -1025,6 +1030,17 @@ def outlook(self):
1025
1030
OutlookUser (self .context , ResourcePath ("outlook" , self .resource_path )),
1026
1031
)
1027
1032
1033
+ @property
1034
+ def people (self ):
1035
+ # type: () -> EntityCollection[Person]
1036
+ """People that are relevant to the user. Read-only. Nullable."""
1037
+ return self .properties .get (
1038
+ "people" ,
1039
+ EntityCollection (
1040
+ self .context , Person , ResourcePath ("people" , self .resource_path )
1041
+ ),
1042
+ )
1043
+
1028
1044
@property
1029
1045
def onenote (self ):
1030
1046
# type: () -> Onenote
@@ -1050,6 +1066,20 @@ def planner(self):
1050
1066
PlannerUser (self .context , ResourcePath ("planner" , self .resource_path )),
1051
1067
)
1052
1068
1069
+ @property
1070
+ def agreement_acceptances (self ):
1071
+ """
1072
+ The user's terms of use acceptance statuses
1073
+ """
1074
+ return self .properties .get (
1075
+ "agreementAcceptances" ,
1076
+ EntityCollection (
1077
+ self .context ,
1078
+ AgreementAcceptance ,
1079
+ ResourcePath ("agreementAcceptances" , self .resource_path ),
1080
+ ),
1081
+ )
1082
+
1053
1083
@property
1054
1084
def extensions (self ):
1055
1085
# type: () -> EntityCollection[Extension]
@@ -1140,6 +1170,17 @@ def teamwork(self):
1140
1170
UserTeamwork (self .context , ResourcePath ("teamwork" , self .resource_path )),
1141
1171
)
1142
1172
1173
+ @property
1174
+ def solutions (self ):
1175
+ # type: () -> UserSolutionRoot
1176
+ """The identifier that relates the user to the working time schedule triggers. Read-Only. Nullable."""
1177
+ return self .properties .get (
1178
+ "solutions" ,
1179
+ UserSolutionRoot (
1180
+ self .context , ResourcePath ("solutions" , self .resource_path )
1181
+ ),
1182
+ )
1183
+
1143
1184
@property
1144
1185
def todo (self ):
1145
1186
# type: () -> Todo
0 commit comments