Skip to main content

CkMethodResultDto

Namespace: Meshmakers.Octo.ConstructionKit.Contracts.DataTransferObjects

The result of a CkMethodDto (CK v2).

public class CkMethodResultDto

Inheritance Object → CkMethodResultDto

Properties​

ValueType​

The value type of the result.

public AttributeValueTypesDto ValueType { get; set; }

Property Value​

AttributeValueTypesDto

ValueCkRecordId​

The record of a AttributeValueTypesDto.Record result.

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

Property Value​

CkId<CkRecordId>

ValueCkEnumId​

The enum of an AttributeValueTypesDto.Enum result.

public CkId<CkEnumId> ValueCkEnumId { get; set; }

Property Value​

CkId<CkEnumId>

Sensitive​

CK v2 Phase 3: true declares the whole result value (scalar, enum or record) as sensitive — it must never be logged, audited or traced (the redaction itself is enforced at runtime, not by the compiler). The counterpart of CkMethodParameterDto.Sensitive for the result. A method with execution.handler: pipeline must not have a sensitive result, because a pipeline execution stores its output (message 134). false (default, key omitted) is not serialized, so models that do not use the key serialize byte-identically. A model that uses it carries a raised minEngineVersion (CkEngineVersion.SensitiveResultMinEngineVersion), so older engines refuse it with message 126 instead of silently dropping the marker. A Secret value type is not sensitive implicitly.

public bool Sensitive { get; set; }

Property Value​

Boolean

Constructors​

CkMethodResultDto()​

public CkMethodResultDto()