Zum Hauptinhalt springen

CkOperationProgress

Namespace: Meshmakers.Octo.Sdk.ServiceClient.AssetRepositoryServices.Tenants.Methods

The last progress report of an operation: an optional percentage and a language-neutral stage code with parameters; no message text, the client renders it in its own language.

public record CkOperationProgress : IEquatable<CkOperationProgress>

Inheritance Object → CkOperationProgress
Implements IEquatable<CkOperationProgress>

Properties​

Percent​

Done in percent (0 to 100); null when the handler cannot tell

public Nullable<int> Percent { get; set; }

Property Value​

Nullable<Int32>

StageCode​

Stable stage code (UPPER_SNAKE_CASE), e.g. DUMPING_DATABASE; null when not reported

public string StageCode { get; set; }

Property Value​

String

Parameters​

Parameters of the stage (e.g. jobId); empty when there are none

public IReadOnlyDictionary<string, string> Parameters { get; set; }

Property Value​

IReadOnlyDictionary<String, String>

Constructors​

CkOperationProgress(Nullable<Int32>, String, IReadOnlyDictionary<String, String>)​

The last progress report of an operation: an optional percentage and a language-neutral stage code with parameters; no message text, the client renders it in its own language.

public CkOperationProgress(Nullable<int> Percent, string StageCode, IReadOnlyDictionary<string, string> Parameters)

Parameters​

Percent Nullable<Int32>
Done in percent (0 to 100); null when the handler cannot tell

StageCode String
Stable stage code (UPPER_SNAKE_CASE), e.g. DUMPING_DATABASE; null when not reported

Parameters IReadOnlyDictionary<String, String>
Parameters of the stage (e.g. jobId); empty when there are none