Create a DiscoverEventData instance for the given IDs or types.
The following combinations of parameters are valid (use undefined for unused parameters):
The external ID of the object(s) to be discovered or undefined.
The internal UUID of the object to be discovered or undefined.
Restrict objects by object types (logical OR).
Restrict objects by core types (logical OR).
Restrict objects by core types (logical OR). Not to be used with objectId property. Should not be used in combination with objectTypes.
The external ID of the object(s) to be discovered. Can be used exclusively or in combination with objectId property. If used exclusively it can be combined with objectTypes or coreTypes properties.
Determines whether this event data discovers an object based on both external ID and object ID.
Determines whether this event data discovers an object based on an external ID but not an object ID.
Determines whether this event data discovers an object based on an object ID.
Determines whether this event data discovers an object based on types only.
The internal UUID of the object to be discovered. Can be used exclusively or in combination with externalId property. Must not be used in combination with objectTypes or coreTypes properties.
Restrict objects by object types (logical OR). Not to be used with objectId property. Should not be used in combination with coreTypes.
Determines whether the given CoreType is compatible with this event data. Returns true, if the specified core type is contained in the coreTypes property; false otherwise.
name of the core type to check
Determines whether the given ObjectType is compatible with this event data. Returns true, if the specified type is contained in the objectTypes property; false otherwise.
name of the object type to check
Determines whether the given object matches the requirements of this event data. Matches all specified fields (objectId, externalId, coreType and objectType). Returns false for undefined objects.
CoatyObject to match with the event data specifications.
Generated using TypeDoc
Defines event data format for discovering objects based on external and object IDs or object types.