C# (CSharp) SyncanoSyncServer.Net.Notifications Namespace

Classes

Name Description
Additionals Additional parameters of ChangeDataNotification.
BaseNotification Base class for all notifications. Contains common properties.
ChangeDataNotification Notifiactions send when DataObjects are modified.
DataRelationNotification These notifications are sent whenever there is a change in parent-child connections between any two (or more) Data Objects. Only two types of changes are possible: new and delete. There is only one common additional field for these types.
DataTarget Contains number of ids. When present in notification objeccts it means, than notification involves multiple objects of ids specified in Target object.
DeleteDataNotification Notification about removed DataObjects.
GenericNotification There are some general notifications.
NewDataNotification Notifiaction about new DataObject.
NotificationObjectEnumJsonConverter
NotificationObjectEnumStringConverter Class converts NotificationObject to String and the other way.
NotificationTypeEnumJsonConverter Class serializes NotificationTypes to JSON format.
NotificationTypeEnumStringConverter Class converts NotificationTypes to String and the other way.
RelationTarget Class representiing target in relation notifications. If both keys are specified, notification is meant to represent a deletion of just one parent-child relation. If one of the keys is missing, it represents mass delete of relations. Example: "target": {"parent_id": "123456", "child_id": "321654"} (delete this specific relation), "target": {"parent_id": "123456"} (delete all relations where "123456" is a parent - in other words delete all children of "123456"), "target": {"child_id": "123456"} (delete all parents of "123456").