src/models/events/odm/domain-management-object-event.ts
Base class for REDHAWK Domain Management object events (add/remove)
Properties |
|
Methods |
deserialize | ||||||||
deserialize(input: any)
|
||||||||
Deserializes a JSON object into this class
Parameters :
Returns :
this
|
Public producerId |
producerId:
|
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;
}
}