Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 1.31 KB

UserBasics.md

File metadata and controls

36 lines (30 loc) · 1.31 KB

FlatApi::UserBasics

Properties

Name Type Description Notes
id String The user unique identifier
type String The type of user account
product TutteoProduct [default to 'flat']
username String The user name (unique for the organization)
printable_name String The name that can be directly printed (name, firstname & lastname, or username) [optional]
firstname String Firstname of the user (for education users) [optional]
lastname String Lastname of the user (for education users) [optional]
name String A displayable name for the user (for consumer users) [optional]
picture String The URL of the picture to display
badges Array<String> List of badges for the user profile: - `power` - `staff` - `composerOfTheMonth` - `ambassador` - `challenge` [optional]

Example

require 'flat_api'

instance = FlatApi::UserBasics.new(
  id: null,
  type: null,
  product: null,
  username: null,
  printable_name: null,
  firstname: null,
  lastname: null,
  name: null,
  picture: null,
  badges: null
)