Class SyncLogDto
Data Transfer Object representing a synchronization log entry.
Implements
Inherited Members
Namespace: Morpheo.Sdk
Assembly: Morpheo.Sdk.dll
Syntax
public record SyncLogDto : IEquatable<SyncLogDto>
Constructors
| Edit this page View SourceSyncLogDto(string, string, string, string, string, long, Dictionary<string, long>, string)
Data Transfer Object representing a synchronization log entry.
Declaration
public SyncLogDto(string Id, string EntityId, string EntityName, string JsonData, string Action, long Timestamp, Dictionary<string, long> VectorClock, string OriginNodeId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | Id | The unique identifier of the log. |
| string | EntityId | The identifier of the entity associated with the log. |
| string | EntityName | The name of the entity. |
| string | JsonData | The JSON representation of the entity data. |
| string | Action | The action performed (e.g., CREATE, UPDATE, DELETE). |
| long | Timestamp | The timestamp of the log creation. |
| Dictionary<string, long> | VectorClock | The vector clock for conflict resolution. |
| string | OriginNodeId | The identifier of the node where the log originated. |
Properties
| Edit this page View SourceAction
The action performed (e.g., CREATE, UPDATE, DELETE).
Declaration
public string Action { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
EntityId
The identifier of the entity associated with the log.
Declaration
public string EntityId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
EntityName
The name of the entity.
Declaration
public string EntityName { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Id
The unique identifier of the log.
Declaration
public string Id { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
JsonData
The JSON representation of the entity data.
Declaration
public string JsonData { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
OriginNodeId
The identifier of the node where the log originated.
Declaration
public string OriginNodeId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Timestamp
The timestamp of the log creation.
Declaration
public long Timestamp { get; init; }
Property Value
| Type | Description |
|---|---|
| long |
VectorClock
The vector clock for conflict resolution.
Declaration
public Dictionary<string, long> VectorClock { get; init; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, long> |