UserSummary

UserSummary

new UserSummary(userData) → {UserSummary.<String, (String|undefined), String, Object>}

UserSummary constructor

Source:
Parameters:
Name Type Description
userData Object

The user data

Name Type Description
id String

The user id

type String | undefined

The user type

name String

The username of the user

Returns:
Type:
UserSummary.<String, (String|undefined), String, Object>

The user id, the user type, the username of the user

Members

(readonly) id :String

The user id

Source:
Type:
  • String

(readonly) name :String

The username of the user

Source:
Type:
  • String

(readonly) raw :Object

The raw data

Source:
Type:
  • Object

userType :String|null

The user type

Source:
Type:
  • String | null