@@ -41,21 +41,21 @@ class PersonBasicPropertiesMixin(object):
4141 @property
4242 def id (self ):
4343 """A unique identifier for the person."""
44- return self ._json_data .get ('id' )
44+ return self ._json_data .get ("id" )
4545
4646 @property
4747 def emails (self ):
4848 """The email addresses of the person."""
49- return self ._json_data .get (' emails' )
49+ return self ._json_data .get (" emails" )
5050
5151 def phoneNumbers (self ):
5252 """Phone numbers for the person."""
53- return self ._json_data .get (' phoneNumbers' )
53+ return self ._json_data .get (" phoneNumbers" )
5454
5555 @property
5656 def displayName (self ):
5757 """The full name of the person."""
58- return self ._json_data .get (' displayName' )
58+ return self ._json_data .get (" displayName" )
5959
6060 @property
6161 def nickName (self ):
@@ -64,43 +64,43 @@ def nickName(self):
6464 If no nickname is configured for the person, this field will not be
6565 present.
6666 """
67- return self ._json_data .get (' nickName' )
67+ return self ._json_data .get (" nickName" )
6868
6969 @property
7070 def firstName (self ):
7171 """The first name of the person."""
72- return self ._json_data .get (' firstName' )
72+ return self ._json_data .get (" firstName" )
7373
7474 @property
7575 def lastName (self ):
7676 """The last name of the person."""
77- return self ._json_data .get (' lastName' )
77+ return self ._json_data .get (" lastName" )
7878
7979 @property
8080 def avatar (self ):
81- """The URL to the person' s avatar in PNG format."""
82- return self ._json_data .get (' avatar' )
81+ """The URL to the person" s avatar in PNG format."""
82+ return self ._json_data .get (" avatar" )
8383
8484 @property
8585 def orgId (self ):
8686 """The ID of the organization to which this person belongs."""
87- return self ._json_data .get (' orgId' )
87+ return self ._json_data .get (" orgId" )
8888
8989 @property
9090 def roles (self ):
9191 """An array of role strings representing the roles to which this
9292 person belongs. """
93- return self ._json_data .get (' roles' )
93+ return self ._json_data .get (" roles" )
9494
9595 @property
9696 def licenses (self ):
9797 """An array of license strings allocated to this person."""
98- return self ._json_data .get (' licenses' )
98+ return self ._json_data .get (" licenses" )
9999
100100 @property
101101 def created (self ):
102102 """The date and time the person was created."""
103- created = self ._json_data .get (' created' )
103+ created = self ._json_data .get (" created" )
104104 if created :
105105 return WebexTeamsDateTime .strptime (created )
106106 else :
@@ -109,7 +109,7 @@ def created(self):
109109 @property
110110 def lastModified (self ):
111111 """The date and time the person was last changed."""
112- last_modified = self ._json_data .get (' lastModified' )
112+ last_modified = self ._json_data .get (" lastModified" )
113113 if last_modified :
114114 return WebexTeamsDateTime .strptime (last_modified )
115115 else :
@@ -122,13 +122,13 @@ def timezone(self):
122122 If no timezone is configured on the account, this field will not be
123123 present.
124124 """
125- return self ._json .get (' timezone' )
125+ return self ._json .get (" timezone" )
126126
127127 @property
128128 def lastActivity (self ):
129- """The date and time of the person' s last activity within Webex
129+ """The date and time of the person" s last activity within Webex
130130 Teams. """
131- last_activity = self ._json_data .get (' lastActivity' )
131+ last_activity = self ._json_data .get (" lastActivity" )
132132 if last_activity :
133133 return WebexTeamsDateTime .strptime (last_activity )
134134 else :
@@ -160,7 +160,7 @@ def status(self):
160160
161161 `unknown`: The user’s status could not be determined
162162 """
163- return self ._json_data .get (' status' )
163+ return self ._json_data .get (" status" )
164164
165165 @property
166166 def invitePending (self ):
@@ -173,7 +173,7 @@ def invitePending(self):
173173
174174 `false`: An invite is not pending for this person
175175 """
176- return self ._json_data .get (' invitePending' )
176+ return self ._json_data .get (" invitePending" )
177177
178178 @property
179179 def loginEnabled (self ):
@@ -182,9 +182,9 @@ def loginEnabled(self):
182182 Person Login Enabled Enum:
183183 `true`: The person can log into Webex Teams
184184
185- ' false' : The person cannot log into Webex Teams
185+ " false" : The person cannot log into Webex Teams
186186 """
187- return self ._json_data .get (' loginEnabled' )
187+ return self ._json_data .get (" loginEnabled" )
188188
189189 @property
190190 def type (self ):
@@ -193,5 +193,6 @@ def type(self):
193193 Person Type Enum:
194194 `person`: Account belongs to a person
195195 `bot`: Account is a bot user
196+ `appuser`: Account is a guest user
196197 """
197- return self ._json_data .get (' type' )
198+ return self ._json_data .get (" type" )
0 commit comments