BlueprintUninstallResult
Namespace: Meshmakers.Octo.Runtime.Contracts.Blueprints
Outcome of IBlueprintService.UninstallAsync(String, String, Boolean, CancellationToken).
public class BlueprintUninstallResult
Inheritance Object → BlueprintUninstallResult
Properties
Success
Whether the uninstall completed without errors.
public bool Success { get; set; }
Property Value
UninstalledBlueprintId
Blueprint that was uninstalled (the explicit target, not the cascaded dependencies). Null when the operation was rejected before any state changed.
public BlueprintId UninstalledBlueprintId { get; set; }
Property Value
BlueprintId
DryRun
true for the result of IBlueprintService.PreviewUninstallAsync(String, String, Boolean, CancellationToken): nothing was changed, the
counts and lists say what the uninstall would do.
public bool DryRun { get; set; }
Property Value
EntitiesDeleted
Number of entities erased from the tenant: the locked entities of the blueprint and its unedited, unreferenced tenant-owned seed entities. In a dry run: the number that would be erased.
public int EntitiesDeleted { get; set; }
Property Value
DeletedEntities
The entities counted in BlueprintUninstallResult.EntitiesDeleted, cascaded blueprints included.
public List<BlueprintUninstallDeletedEntity> DeletedEntities { get; set; }
Property Value
List<BlueprintUninstallDeletedEntity>
TenantOwnedKept
Tenant-owned seed entities of the blueprint that stay in the tenant, each with the reason (edited by the tenant, referenced by an entity that stays, not comparable with the seed, or its erase failed). They are re-adopted when the blueprint is installed again.
public List<BlueprintTenantOwnedKeptEntity> TenantOwnedKept { get; set; }
Property Value
List<BlueprintTenantOwnedKeptEntity>
CascadedDependencies
Blueprint ids that were cascade-uninstalled because they were marked IsDependency = true and no longer referenced. Empty when the caller did not request cascade or no orphan deps were found.
public List<BlueprintId> CascadedDependencies { get; set; }
Property Value
BlockingDependents
Other installed blueprints that still depend on the target. Populated
when uninstall is blocked because BlueprintUninstallResult.Success is false and
the caller did not pass cascade=true.
public List<BlueprintId> BlockingDependents { get; set; }
Property Value
Errors
Errors emitted during the operation.
public List<string> Errors { get; set; }
Property Value
Warnings
Warnings emitted during the operation.
public List<string> Warnings { get; set; }
Property Value
Constructors
BlueprintUninstallResult()
public BlueprintUninstallResult()