Zum Hauptinhalt springen

CkEnumDto

Namespace: Meshmakers.Octo.ConstructionKit.Contracts.DataTransferObjects

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

public class CkEnumDto

Inheritance Object → CkEnumDto

Properties​

EnumId​

Gets or sets the construction kit id

public CkEnumId EnumId { get; set; }

Property Value​

CkEnumId

UseFlags​

When true the enum is handles as flags enum

public bool UseFlags { get; set; }

Property Value​

Boolean

IsExtensible​

When true the enum is extensible using the API

public bool IsExtensible { get; set; }

Property Value​

Boolean

Values​

Values of the enum

public ICollection<CkEnumValueDto> Values { get; set; }

Property Value​

ICollection<CkEnumValueDto>

Description​

An optional description of the enum

public string Description { get; set; }

Property Value​

String

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​

Nullable<CkVisibilityDto>

Constructors​

CkEnumDto()​

Creates a new instance of CkEnumDto.

public CkEnumDto()