Interface IEventProperty

An interface used to create an event property value along with tagging it as PII, or customer content. Caution: Customer content and PII are mutually exclusive. You can use only one of them at a time. If you use both, then the property will be considered invalid, and therefore won't be sent.

Hierarchy

  • IEventProperty

Properties

kind?: number

[Optional] The value kind associated with property value. The constant enum ValueKind should be used to specify the different kinds.

propertyType?: number

[Optional] The data type for the property. Valid values accepted by onecollector are "string", "bool", "double", "int64", "datetime", "guid". The EventPropertyType constant enum should be used to specify the different property type values.

value: string | number | boolean | string[] | number[] | boolean[]

The value for the property.

Generated using TypeDoc