Zum Hauptinhalt springen

CkModelValidationResponseDto

Namespace: Meshmakers.Octo.Sdk.ServiceClient.AssetRepositoryServices.CkModelCatalog

Result of POST {tenantId}/v1/Models/ValidateCk - a CK model draft validated against the models installed in the tenant without importing it.

public class CkModelValidationResponseDto

Inheritance Object → CkModelValidationResponseDto

Properties​

IsValid​

True when the draft has no error. Blockers do not make it invalid (see CkModelValidationResponseDto.IsBlocked).

public bool IsValid { get; set; }

Property Value​

Boolean

ModelId​

Id of the model (Name-Version) when the draft could be read that far.

public string ModelId { get; set; }

Property Value​

String

SourceKind​

Source (zipped ConstructionKit/ folder, compiled on the server) or Compiled.

public string SourceKind { get; set; }

Property Value​

String

Errors​

The errors; empty when valid.

public List<CkModelValidationMessageDto> Errors { get; set; }

Property Value​

List<CkModelValidationMessageDto>

Warnings​

Warnings and infos of the compiler; they do not make the draft invalid.

public List<CkModelValidationMessageDto> Warnings { get; set; }

Property Value​

List<CkModelValidationMessageDto>

IsBlocked​

True when importing the draft would break an installed model (tenant upgrade guard); the import then refuses with 409 CK_UPGRADE_BLOCKED unless forced.

public bool IsBlocked { get; set; }

Property Value​

Boolean

Blockers​

The installed models the import would break (empty when not blocked).

public List<CkUpgradeBlockerDto> Blockers { get; set; }

Property Value​

List<CkUpgradeBlockerDto>

Constructors​

CkModelValidationResponseDto()​

public CkModelValidationResponseDto()