/ fm / liveswitch / BaseStats
Class: BaseStats
fm.liveswitch.BaseStats
Base stats.
Hierarchy
BaseStats
Table of contents
Constructors
Methods
Constructors
constructor
+ new BaseStats(): BaseStats
Returns: BaseStats
Defined in: Generated/TypeScript/fm.liveswitch/BaseStats.ts:15
Methods
deserializeProperties
▸ ProtecteddeserializeProperties(key: string, valueJson: string): void
Deserializes the properties.
Parameters:
| Name | Type | Description |
|---|---|---|
key |
string | The key. |
valueJson |
string | The value in JSON format. |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/BaseStats.ts:35
getId
▸ getId(): string
Gets the identifier of the object generating these stats.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/BaseStats.ts:57
getTimestamp
▸ getTimestamp(): DateTime
Gets the timestamp when these stats were generated.
Returns: DateTime
Defined in: Generated/TypeScript/fm.liveswitch/BaseStats.ts:70
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/BaseStats.ts:9
serializeProperties
▸ ProtectedserializeProperties(jsonObject: Hash<string, string>): void
Serializes the properties.
Parameters:
| Name | Type | Description |
|---|---|---|
jsonObject |
Hash<string, string> | The JSON object. |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/BaseStats.ts:83