File

src/models/events/odm/domain-management-object-event.ts

Description

Base class for REDHAWK Domain Management object events (add/remove)

Extends

OdmEvent

Implements

ISerializable

Index

Properties
Methods

Methods

deserialize
deserialize(input: any)

Deserializes a JSON object into this class

Parameters :
Name Type Optional Description
input any
Returns : this

Properties

Public producerId
producerId: string
Type : string

Entity that produced this event

import { ISerializable } from '../../serialization/index';

import { OdmEvent } from './odm-event';

/**
 * Base class for REDHAWK Domain Management object events (add/remove)
 */
export class DomainManagementObjectEvent
    extends OdmEvent
    implements ISerializable<DomainManagementObjectEvent> {

    /** Entity that produced this event */
    public producerId: string;

    /** Deserializes a JSON object into this class */
    deserialize(input: any) {
        super.deserialize(input);
        this.producerId = input.producerId;
        return this;
    }
}

results matching ""

    No results matching ""