Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseStats

Base stats.

Hierarchy

  • BaseStats

Index

Constructors

constructor

  • Returns BaseStats

Properties

Private _id

_id: string
internal

Private _timestamp

_timestamp: DateTime
internal

Methods

Protected deserializeProperties

  • deserializeProperties(key: string, valueJson: string): void
  • Deserializes the properties.

    Parameters

    • key: string

      The key.

    • valueJson: string

      The value in JSON format.

    Returns void

getId

  • getId(): string
  • Gets the identifier of the object generating these stats.

    Returns string

getTimestamp

  • getTimestamp(): DateTime
  • Gets the timestamp when these stats were generated.

    Returns DateTime

getTypeString

  • getTypeString(): string
  • Returns string

Protected serializeProperties

  • serializeProperties(jsonObject: Hash<string, string>): void
  • Serializes the properties.

    Parameters

    • jsonObject: Hash<string, string>

      The JSON object.

    Returns void

setId

  • setId(value: string): void
  • internal

    Parameters

    • value: string

    Returns void

setTimestamp

  • setTimestamp(value: DateTime): void
  • internal

    Parameters

    • value: DateTime

    Returns void