Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModelPropertyDeletedEvent

An event that was raised when a property of a model was deleted.

Hierarchy

Index

Constructors

constructor

  • new ModelPropertyDeletedEvent(sourceId: Guid, version: number, timestamp: number, elementId: Guid, propertyName: string): ModelPropertyDeletedEvent
  • Parameters

    • sourceId: Guid

      The RFC4122 v4 compliant ID of the command that caused this event.

    • version: number

      The new current version number.

    • timestamp: number

      The timestamp for the moment this event was created in milliseconds elapsed since 1 January 1970 00:00:00 UTC.

    • elementId: Guid

      The RFC4122 v4 compliant ID of the element of which the property was deleted.

    • propertyName: string

      The name of the property that is deleted.

    Returns ModelPropertyDeletedEvent

Properties

elementId

elementId: Guid

The RFC4122 v4 compliant ID of the element of which the property was deleted.

propertyName

propertyName: string

The name of the property that is deleted.

sourceId

sourceId: Guid

The RFC4122 v4 compliant ID of the command that caused this event.

timestamp

timestamp: number

The timestamp for the moment this event was created in milliseconds elapsed since 1 January 1970 00:00:00 UTC.

type

type: EventType

The type of this event.

version

version: number

The new version number after applying this event.

Methods

toJson

  • toJson(): string

Generated using TypeDoc