TimeRangePointDto
Namespace: Meshmakers.Octo.Sdk.ServiceClient.AssetRepositoryServices.StreamData
One externally aggregated time-range value for IStreamDataServicesClient.InsertTimeRangeAsync(String, String, IReadOnlyCollection<TimeRangePointDto>),
covering the half-open window [From, To). Mirrors the asset-repo REST payload of
POST streamdata/archives/{archiveRtId}/insertTimeRange.
public record TimeRangePointDto : IEquatable<TimeRangePointDto>
Inheritance Object → TimeRangePointDto
Implements IEquatable<TimeRangePointDto>
Properties
RtId
Runtime id of the entity the value belongs to.
public string RtId { get; set; }
Property Value
CkTypeId
Unversioned CK type id of the entity, e.g. Basic.Energy/EnergyMeasurement.
public string CkTypeId { get; set; }
Property Value
From
Inclusive window start (UTC).
public DateTime From { get; set; }
Property Value
To
Exclusive window end (UTC).
public DateTime To { get; set; }
Property Value
RtWellKnownName
Optional human-readable name of the entity.
public string RtWellKnownName { get; set; }
Property Value
Attributes
User-column values keyed by attribute path (e.g. Amount.Value).
public IReadOnlyDictionary<string, object> Attributes { get; set; }
Property Value
IReadOnlyDictionary<String, Object>
Origin
Whether the value was entered manually or delivered automatically. Defaults to StreamDataOrigin.Automated. The service records the writer of a manual value from the caller's token.
public StreamDataOrigin Origin { get; set; }
Property Value
Reason
Optional reason of a manual write; only allowed with StreamDataOrigin.Manual.
public string Reason { get; set; }
Property Value
Constructors
TimeRangePointDto()
Caution
Constructors of types with required members are not supported in this version of your compiler.
public TimeRangePointDto()