MappingSyncState

Classes > Sync > MappingSyncState

Per-mapping sync state. Spec Section 7.5.2 - _sync_mapping_state table.

public sealed record MappingSyncState : IEquatable<MappingSyncState>

Constructors

MappingSyncState

public MappingSyncState(string MappingId, long LastSyncedVersion, string LastSyncTimestamp, long RecordsSynced)

Per-mapping sync state. Spec Section 7.5.2 - _sync_mapping_state table.

Parameter Type Description
MappingId String Mapping identifier.
LastSyncedVersion Int64 Last _sync_log version synced for this mapping.
LastSyncTimestamp String ISO 8601 UTC timestamp of last sync.
RecordsSynced Int64 Total records synced via this mapping.

Properties

MappingId

public string MappingId { get; init; }

Mapping identifier.

LastSyncedVersion

public long LastSyncedVersion { get; init; }

Last _sync_log version synced for this mapping.

LastSyncTimestamp

public string LastSyncTimestamp { get; init; }

ISO 8601 UTC timestamp of last sync.

RecordsSynced

public long RecordsSynced { get; init; }

Total records synced via this mapping.