Zum Hauptinhalt springen

MapToRecordArrayNodeConfiguration

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Transform

Configuration for the MapToRecordArray node. Transforms a JSON object (key/value map) into an array of CK records suitable for storage in a RecordArray attribute. Each map entry becomes one record with two attributes: the key and the value.

public record MapToRecordArrayNodeConfiguration : SourceTargetPathNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IPathNodeConfiguration, IEquatable<SourceTargetPathNodeConfiguration>, IEquatable<MapToRecordArrayNodeConfiguration>

Inheritance Object → NodeConfiguration → TargetPathNodeConfiguration → SourceTargetPathNodeConfiguration → MapToRecordArrayNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IPathNodeConfiguration, IEquatable<SourceTargetPathNodeConfiguration>, IEquatable<MapToRecordArrayNodeConfiguration>

Properties​

CkRecordId​

Semantic-versioned full name of the CK record type to produce (e.g. "Loxone/LoxoneState").

public string CkRecordId { get; set; }

Property Value​

String

KeyAttributeName​

Name of the record attribute that receives the map key (e.g. "StateName").

public string KeyAttributeName { get; set; }

Property Value​

String

ValueAttributeName​

Name of the record attribute that receives the map value (e.g. "StateUuid").

public string ValueAttributeName { get; set; }

Property Value​

String

Path​

public string Path { get; set; }

Property Value​

String

TargetPath​

public string TargetPath { get; set; }

Property Value​

String

TargetValueWriteMode​

public TargetValueWriteModes TargetValueWriteMode { get; set; }

Property Value​

TargetValueWriteModes

TargetValueKind​

public ValueKinds TargetValueKind { get; set; }

Property Value​

ValueKinds

DocumentMode​

public DocumentModes DocumentMode { get; set; }

Property Value​

DocumentModes

Description​

public string Description { get; set; }

Property Value​

String

Constructors​

MapToRecordArrayNodeConfiguration()​

Caution​

Constructors of types with required members are not supported in this version of your compiler.


public MapToRecordArrayNodeConfiguration()