Skip to content

Latest commit

 

History

History
52 lines (43 loc) · 2.82 KB

UserPublic.md

File metadata and controls

52 lines (43 loc) · 2.82 KB

UserPublic

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]
bio str User's biography [optional]
registration_date datetime Date the user signed up [optional]
liked_scores_count int Number of the scores liked by the user [optional]
followers_count int Number of followers the user have [optional]
following_count int Number of people the user follow [optional]
owned_public_scores_count int Number of public scores the user have [optional]
cover_picture str Cover picture (backgroud) for the profile [optional]
profile_theme str Theme (background) for the profile [optional]
instruments List[str] An array of the instrument identifiers. The format of the strings is `{instrument-group}.{instrument-id}`. [optional]
links UserCommunityProfileLinks [optional]

Example

from flat_api.models.user_public import UserPublic

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

# convert the object into a dict
user_public_dict = user_public_instance.to_dict()
# create an instance of UserPublic from a dict
user_public_form_dict = user_public.from_dict(user_public_dict)

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