Zum Hauptinhalt springen

CkRecordDto

Namespace: Meshmakers.Octo.ConstructionKit.Contracts.DataTransferObjects

Describes a construction kit record that is used as structured type of an attribute

public class CkRecordDto : CkTypeWithAttributesDto

Inheritance Object → CkTypeWithAttributesDto → CkRecordDto

Properties​

RecordId​

Gets or sets the construction kit id

public CkRecordId RecordId { get; set; }

Property Value​

CkRecordId

DerivedFromCkRecordId​

Defines the base record of this record.

public CkId<CkRecordId> DerivedFromCkRecordId { get; set; }

Property Value​

CkId<CkRecordId>

IsFinal​

If true, the type cannot be inherited again

public bool IsFinal { get; set; }

Property Value​

Boolean

IsAbstract​

If true, the type cannot be instantiated by a runtime entity

public bool IsAbstract { get; set; }

Property Value​

Boolean

RecordKey​

Name of the sub-attribute that identifies an element of this record inside a record array (AB#5528, concept §4.6). Required when the record contains a AttributeValueTypesDto.Secret sub-attribute: when a record array is replaced, a secret sub-value the client left empty is carried over from the stored element with the same key. Inherited by derived records unless they declare their own.

public string RecordKey { get; set; }

Property Value​

String

Description​

An optional description of the record

public string Description { get; set; }

Property Value​

String

Attributes​

Gets or sets a list of attributes

public List<CkTypeAttributeDto> Attributes { get; set; }

Property Value​

List<CkTypeAttributeDto>

Constructors​

CkRecordDto()​

public CkRecordDto()