ModelExistingResult
Namespace: Meshmakers.Octo.ConstructionKit.Contracts
Result of checking if a model exists in a model repository
public record ModelExistingResult : IEquatable<ModelExistingResult>
Inheritance Object → ModelExistingResult
Implements IEquatable<ModelExistingResult>
Properties
Exists
Indicates if the model exists
public bool Exists { get; set; }
Property Value
ModelId
When ModelExistingResult.Exists is true, the actual CkModelId of the existing model.
public CkModelId ModelId { get; set; }
Property Value
CatalogName
Name of the catalog that produced this result. When results of multiple catalogs were aggregated, the catalog that provided ModelExistingResult.ModelId.
public string CatalogName { get; set; }
Property Value
CacheUpdatedAt
Timestamp of the last update of the catalog cache the result was answered from, when the catalog is cache-backed; otherwise null.
public Nullable<DateTime> CacheUpdatedAt { get; set; }
Property Value
SourceUnreachable
True when at least one queried catalog could not reach its source during the last cache refresh. A negative ModelExistingResult.Exists result with this flag set must not be interpreted as "model does not exist" — the source of truth was unavailable.
public bool SourceUnreachable { get; set; }
Property Value
Constructors
ModelExistingResult()
Caution
Constructors of types with required members are not supported in this version of your compiler.
public ModelExistingResult()