@acceleratxr/core_sdk / PersonaStat
Class: PersonaStat#
The PersonaStat is an instance of a specific PersonaStatDefinition that is assocaited with a particular Persona.
REQUIRES: Persona Services
author Jean-Philippe Steinmetz info@acceleratxr.com
Hierarchy#
-
↳ PersonaStat
Index#
Constructors#
Properties#
Accessors#
Constructors#
constructor#
+ new PersonaStat(other?: any): PersonaStat
Overrides EntityBase.constructor
Defined in src/models/PersonaStat.ts:29
Parameters:#
Name |
Type |
|---|---|
|
any |
Returns: PersonaStat
Properties#
dateCreated#
• dateCreated: Date = new Date()
Inherited from EntityBase.dateCreated
Defined in src/EntityBase.ts:18
The date and time that the object was created.
dateModified#
• dateModified: Date = new Date()
Inherited from EntityBase.dateModified
Defined in src/EntityBase.ts:23
The date and time that the object was last modified.
personaUid#
• personaUid: string = “”
Defined in src/models/PersonaStat.ts:24
The unique identifier of the Persona that this statistic is associated with.
statUid#
• statUid: string = “”
Defined in src/models/PersonaStat.ts:19
The unique identifier of the PersonaStatDefinition this object represents.
uid#
• uid: string = uuid.v4()
Inherited from EntityBase.uid
Defined in src/EntityBase.ts:13
The universally unique identifier of the object.
value#
• value: string = “”
Defined in src/models/PersonaStat.ts:29
The current value of the statistic.
version#
• version: number = 0
Inherited from EntityBase.version
Defined in src/EntityBase.ts:28
The optimistic locking version of the object.
Accessors#
ClassName#
• Staticget ClassName(): string
Defined in src/models/PersonaStat.ts:14
Returns: string