RecordArrayItemUpdateConfiguration
Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Transform
One atomic update of items of a RecordArray attribute, see CreateUpdateInfoNodeConfiguration.RecordArrayItemUpdates.
public record RecordArrayItemUpdateConfiguration : IEquatable<RecordArrayItemUpdateConfiguration>
Inheritance Object → RecordArrayItemUpdateConfiguration
Implements IEquatable<RecordArrayItemUpdateConfiguration>
Properties
AttributeName
Name of the RecordArray attribute of the entity (e.g. "States").
public string AttributeName { get; set; }
Property Value
MatchAttributeName
Name of the record member that identifies the item (e.g. "ExternalId"): String, Integer, Integer64 or Enum. It cannot be written by the same update.
public string MatchAttributeName { get; set; }
Property Value
MatchValue
Static value to match against RecordArrayItemUpdateConfiguration.MatchAttributeName.
public string MatchValue { get; set; }
Property Value
MatchValuePath
JSONPath to the match value. Takes precedence over RecordArrayItemUpdateConfiguration.MatchValue. With RecordArrayItemUpdateConfiguration.UpdatesPath the path is relative to each element of the updates array.
public string MatchValuePath { get; set; }
Property Value
UpdatesPath
Optional JSONPath to an array: one item update is created per element, RecordArrayItemUpdateConfiguration.MatchValuePath and the
ValuePath of the attribute updates are relative to that element (like the updates array of
UpdateRecordArrayItem@2). Without it the paths address the data document.
public string UpdatesPath { get; set; }
Property Value
AttributeUpdates
The members of the matched record to write: Value (static; =now() is the current UTC time) or
ValuePath. Scalar members only (String, Integer, Integer64, Double, Boolean, DateTime,
DateTimeOffset, TimeSpan, Enum); Secret members are refused by the engine. A path that yields no value
writes null (an error for a mandatory member).
public ICollection<RecordAttributeUpdate> AttributeUpdates { get; set; }
Property Value
ICollection<RecordAttributeUpdate>
Constructors
RecordArrayItemUpdateConfiguration()
Caution
Constructors of types with required members are not supported in this version of your compiler.
public RecordArrayItemUpdateConfiguration()