Manual Reference Source Test
import UserModel from 'clinical6/src/models/user/User.js'
public class | source

UserModel

Direct Subclass:

User

Model representing a user.

Constructor Summary

Public Constructor
public

constructor(response: Object)

Member Summary

Public Members
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public

Public Constructors

public constructor(response: Object) source

Params:

NameTypeAttributeDescription
response Object

JSON formatted response of a user.

response.id Number

The user ID value

response.account_name String

Account name (usually a number)

response.anti_spam_accepted_at String

Date when anti-spam policy was accepted by user.

response.created_at String

Date when the user was created

response.disabled Boolean

Whether or not the user account is disabled

response.disabled_at String

Date when the user was disabled

response.email String

The email address of the user

response.encryption_key String

The encryption key for unlocking data

response.invitation_accepted_at String

Date when the invitation was accepted

response.invitation_due_at String

Date when the invitation is going to expire

response.invitation_sent_at String

Date when the invitation was sent

response.password_expired_at String

Date when the password expired

response.privacy_policy_accepted_at String

Date when privacy policy was accepted by user.

response.role String

Only from platform

response.terms_of_use_accepted_at String

Date when terms of use were accepted by user.

response.updated_at String

Date when the user was updated

response.uuid String

The last used uuid for this mobile user

response.user String

Only from platform, this is the email address

response.verified_at String

Date when the user was verified

response.withdrawn_at String

Date when the user was withdrawn

Public Members

public accountName: String source

public antiSpamAcceptedAt: String source

public createdAt: String source

public disabled: Boolean source

public disabledAt: String source

public email: String source

public enabled: Boolean source

public encryptionKey: String source

public guest: String source

public id: Number source

public invitationAcceptedAt: String source

public invitationDueAt: String source

public invitationSentAt: String source

public passwordExpiredAt: String source

public privacyPolicyAcceptedAt: String source

public termsOfUseAcceptedAt: String source

public updatedAt: String source

public username: String source

public uuid: String source

public verifiedAt: String source

public withdraw: boolean source

public withdrawnAt: String source