Zum Hauptinhalt springen

CkUpgradeBlockerDto

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

One reason why an installed model would break if an offered update were imported (tenant upgrade guard). Language-neutral data (CkUpgradeBlockerDto.Code, CkUpgradeBlockerDto.Dependent, CkUpgradeBlockerDto.Update, CkUpgradeBlockerDto.Subject) plus an English CkUpgradeBlockerDto.Message for clients that do not localize.

public class CkUpgradeBlockerDto

Inheritance Object → CkUpgradeBlockerDto

Properties​

Dependent​

The model that would break, full id (for example EnergyCommunity.Registration-2.8.0).

public string Dependent { get; set; }

Property Value​

String

Update​

The model of the update that causes it, full id (for example Basic-2.5.0).

public string Update { get; set; }

Property Value​

String

Kind​

Blocker kind: ExactPin, FloorNotMet, RangeNotSatisfied, ElementRemoved, ElementChanged, ElementBecameInternal or NameCollision. New kinds may appear.

public string Kind { get; set; }

Property Value​

String

Subject​

The pin (Basic-2.4.0), range or element / member the blocker is about.

public string Subject { get; set; }

Property Value​

String

Code​

Stable code per kind, for example CK_UPGRADE_EXACT_PIN.

public string Code { get; set; }

Property Value​

String

Message​

English explanation, for example exact pin Basic-2.4.0: Basic-2.5.0 replaces it.

public string Message { get; set; }

Property Value​

String

DependentIsInUpdateSet​

True when CkUpgradeBlockerDto.Dependent is itself a model of the evaluated update set.

public bool DependentIsInUpdateSet { get; set; }

Property Value​

Boolean

SuggestedDependentUpdate​

A newer catalog version of the dependent (for example EnergyCommunity.Registration-2.10.0) that was proven to resolve this blocker together with the update; null when none is offered or none was proven.

public string SuggestedDependentUpdate { get; set; }

Property Value​

String

ResolveHint​

Human-readable next step when CkUpgradeBlockerDto.SuggestedDependentUpdate is set, for example update EnergyCommunity.Registration to 2.10.0 first; null otherwise.

public string ResolveHint { get; set; }

Property Value​

String

Constructors​

CkUpgradeBlockerDto()​

public CkUpgradeBlockerDto()