Skip to main content

StreamDataWriteResultDto

Namespace: Meshmakers.Octo.Sdk.ServiceClient.AssetRepositoryServices.StreamData

What a stream data write stored: mirrors the asset-repo response of POST streamdata/archives/{archiveRtId}/insert and POST streamdata/archives/{archiveRtId}/insertTimeRange.

public record StreamDataWriteResultDto : IEquatable<StreamDataWriteResultDto>

Inheritance Object → StreamDataWriteResultDto
Implements IEquatable<StreamDataWriteResultDto>

Properties​

Stored​

Rows the archive holds after the write (new, won against the stored row, or identical).

public int Stored { get; set; }

Property Value​

Int32

Skipped​

Rows that were not stored.

public int Skipped { get; set; }

Property Value​

Int32

SkippedByReason​

Rows not stored per reason: LowerPrecedence (the archive's conflict precedence ranks the stored row above), ManualValueProtected (a manual value is never replaced by an automated delivery), CkTypeMismatch (not the archive's CK type).

public IReadOnlyDictionary<string, int> SkippedByReason { get; set; }

Property Value​

IReadOnlyDictionary<String, Int32>

SkippedRows​

The rows not stored (at most the first 1,000; StreamDataWriteResultDto.Skipped is the full count).

public IReadOnlyList<StreamDataSkippedRowDto> SkippedRows { get; set; }

Property Value​

IReadOnlyList<StreamDataSkippedRowDto>

Constructors​

StreamDataWriteResultDto()​

public StreamDataWriteResultDto()