-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: issue due to invalid type in example
- Loading branch information
1 parent
dfb0fab
commit 5d0f4bf
Showing
3 changed files
with
62 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,34 +29,71 @@ class User(JsonModel): | |
"""User information.""" | ||
|
||
id: Optional[str] = None | ||
"""The unique id.""" | ||
"""The unique id. | ||
example: "47d-47c7-8dd1-70f63de3583f" | ||
""" | ||
|
||
first_name: Optional[str] = None | ||
"""The user's first name.""" | ||
|
||
last_name: Optional[str] = None | ||
"""The user's last name.""" | ||
|
||
email: Optional[str] = None | ||
"""The user's email.""" | ||
"""The user's email. | ||
example: [email protected] | ||
""" | ||
|
||
phone: Optional[str] = None | ||
"""The user's contact phone number.""" | ||
"""The user's contact phone number. | ||
example: 555-555-5555 | ||
""" | ||
|
||
niua_id: Optional[str] = None | ||
"""The external id (niuaId, SID, login name).""" | ||
"""The external id (niuaId, SID, login name). | ||
example: [email protected] | ||
""" | ||
|
||
login: Optional[str] = None | ||
""" | ||
The login name of the user. This the "username" or equivalent entered when | ||
the user authenticates with the identity provider. | ||
""" | ||
|
||
accepted_to_s: Optional[bool] = None | ||
"""(deprecated) Whether the user accepted the terms of service.""" | ||
|
||
properties: Optional[Dict[str, str]] = None | ||
"""A map of key value properties.""" | ||
"""A map of key value properties. | ||
example: { "key1": "value1" } | ||
""" | ||
|
||
keywords: Optional[List[str]] = None | ||
"""A list of keywords associated with the user.""" | ||
|
||
created: Optional[datetime] = None | ||
"""The created timestamp.""" | ||
"""The created timestamp. | ||
example: 2019-12-02T15:31:45.379Z | ||
""" | ||
|
||
updated: Optional[datetime] = None | ||
"""The last updated timestamp.""" | ||
"""The last updated timestamp. | ||
example: 2019-12-02T15:31:45.379Z | ||
""" | ||
|
||
org_id: Optional[str] = None | ||
"""The id of the organization.""" | ||
"""The id of the organization. | ||
example: "47d-47c7-8dd1-70f63de3435f" | ||
""" | ||
|
||
policies: Optional[List[str]] = None | ||
"""A list of policy ids to reference existing policies.""" | ||
status: Optional[Status] = None | ||
|