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
DerivedFromCkRecordId
Defines the base record of this record.
public CkId<CkRecordId> DerivedFromCkRecordId { get; set; }
Property Value
IsFinal
If true, the type cannot be inherited again
public bool IsFinal { get; set; }
Property Value
IsAbstract
If true, the type cannot be instantiated by a runtime entity
public bool IsAbstract { get; set; }
Property Value
RecordKey
Name of the sub-attribute that identifies an element of this record inside a record array. 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
Description
An optional description of the record
public string Description { get; set; }
Property Value
Visibility
CK v2 (F1.1-S4): Internal elements may only be referenced inside the declaring model. null
(omitted) means CkVisibilityDto.Public. Requires ckLanguage: 2.
public Nullable<CkVisibilityDto> Visibility { get; set; }
Property Value
Derivable
CK v2 (F1.1-S4): Model = only the declaring model may derive from this element. null (omitted)
means Model in a ckLanguage: 2 model and Any in a v1 model
(CkModifiers.ResolveDerivable(Nullable<CkDerivableDto>, Int32)). Requires ckLanguage: 2.
public Nullable<CkDerivableDto> Derivable { get; set; }
Property Value
Attributes
Gets or sets a list of attributes
public List<CkTypeAttributeDto> Attributes { get; set; }
Property Value
Constructors
CkRecordDto()
public CkRecordDto()