CkAttributeDto
Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects
Represents a construction kit attribute
public class CkAttributeDto
Inheritance Object → CkAttributeDto
Properties
CkAttributeId
Construction kit attribute id
public CkId<CkAttributeId> CkAttributeId { get; set; }
Property Value
CkId<CkAttributeId>
AttributeValueType
Value type of the attribute
public AttributeValueTypesDto AttributeValueType { get; set; }
Property Value
AttributeValueTypesDto
ValueCkRecordId
Defines the record of the attribute if the value type is a record.
public CkId<CkRecordId> ValueCkRecordId { get; set; }
Property Value
CkId<CkRecordId>
ValueCkEnumId
Defines the enum of the attribute if the value type is a enum.
public CkId<CkEnumId> ValueCkEnumId { get; set; }
Property Value
CkId<CkEnumId>
DefaultValues
Gets or sets default values
public ICollection<object> DefaultValues { get; set; }
Property Value
Description
An optional description of the attribute
public string Description { get; set; }
Property Value
MetaData
Optional meta data of the attribute
public ICollection<CkAttributeMetaDataDto> MetaData { get; set; }
Property Value
ICollection<CkAttributeMetaDataDto>
IsDataStream
Optional flag that tells if an attribute is a data stream.
public bool IsDataStream { get; set; }
Property Value
Constructors
CkAttributeDto()
public CkAttributeDto()