Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 2.37 KB

UserDetailsAdmin.md

File metadata and controls

46 lines (37 loc) · 2.37 KB

UserDetailsAdmin

Properties

Name Type Description Notes
id str The user unique identifier
type str The type of user account
product TutteoProduct
username str The user name (unique for the organization)
printable_name str The name that can be directly printed (name, firstname & lastname, or username) [optional]
firstname str Firstname of the user (for education users) [optional]
lastname str Lastname of the user (for education users) [optional]
name str A displayable name for the user (for consumer users) [optional]
picture str The URL of the picture to display
badges List[str] List of badges for the user profile: - `power` - `staff` - `composerOfTheMonth` - `ambassador` - `challenge` [optional]
organization str Organization ID (for Edu users only) [optional]
organization_role OrganizationRoles [optional]
class_role ClassRoles [optional]
html_url str Link to user profile (for Indiv. users only) [optional]
email str Email of the user [optional]
last_activity_date datetime Date of the last user activity [optional]
license UserDetailsAdminLicense [optional]
groups List[str] For Flat for Education accounts, list of Group identifiers the user is part of. [optional]

Example

from flat_api.models.user_details_admin import UserDetailsAdmin

# TODO update the JSON string below
json = "{}"
# create an instance of UserDetailsAdmin from a JSON string
user_details_admin_instance = UserDetailsAdmin.from_json(json)
# print the JSON string representation of the object
print UserDetailsAdmin.to_json()

# convert the object into a dict
user_details_admin_dict = user_details_admin_instance.to_dict()
# create an instance of UserDetailsAdmin from a dict
user_details_admin_form_dict = user_details_admin.from_dict(user_details_admin_dict)

[Back to Model list] [Back to API list] [Back to README]