Zum Hauptinhalt springen

RollupRepairRequestDto

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

An applied rollup repair. The request itself runs nothing: the server executes the repair in the background, so a large recompute is never bound to an HTTP request. Follow it with IStreamDataServicesClient.GetRollupRepairRequestAsync(String, String) until RollupRepairRequestDto.State is Done or Failed.

public record RollupRepairRequestDto : IEquatable<RollupRepairRequestDto>

Inheritance Object → RollupRepairRequestDto
Implements IEquatable<RollupRepairRequestDto>

Properties​

RequestId​

Id of the repair request; a second request while one is active returns the active one.

public string RequestId { get; set; }

Property Value​

String

State​

Pending, Running, Done or Failed (a string, so a new state still deserializes).

public string State { get; set; }

Property Value​

String

RequestedAtUtc​

When the repair was requested.

public DateTime RequestedAtUtc { get; set; }

Property Value​

DateTime

FinishedAtUtc​

When it ended; null while it is pending or running.

public Nullable<DateTime> FinishedAtUtc { get; set; }

Property Value​

Nullable<DateTime>

PlannedActions​

The steps planned when the repair was requested.

public IReadOnlyList<RollupRepairActionDto> PlannedActions { get; set; }

Property Value​

IReadOnlyList<RollupRepairActionDto>

Report​

The final report (steps, validation after, failed step); null until the repair has ended.

public RollupRepairReportDto Report { get; set; }

Property Value​

RollupRepairReportDto

IsFinished​

True when the repair has ended, successfully or not.

public bool IsFinished { get; }

Property Value​

Boolean

Constructors​

RollupRepairRequestDto(String, String, DateTime, Nullable<DateTime>, IReadOnlyList<RollupRepairActionDto>, RollupRepairReportDto)​

An applied rollup repair. The request itself runs nothing: the server executes the repair in the background, so a large recompute is never bound to an HTTP request. Follow it with IStreamDataServicesClient.GetRollupRepairRequestAsync(String, String) until RollupRepairRequestDto.State is Done or Failed.

public RollupRepairRequestDto(string RequestId, string State, DateTime RequestedAtUtc, Nullable<DateTime> FinishedAtUtc, IReadOnlyList<RollupRepairActionDto> PlannedActions, RollupRepairReportDto Report)

Parameters​

RequestId String
Id of the repair request; a second request while one is active returns the active one.

State String
Pending, Running, Done or Failed (a string, so a new state still deserializes).

RequestedAtUtc DateTime
When the repair was requested.

FinishedAtUtc Nullable<DateTime>
When it ended; null while it is pending or running.

PlannedActions IReadOnlyList<RollupRepairActionDto>
The steps planned when the repair was requested.

Report RollupRepairReportDto
The final report (steps, validation after, failed step); null until the repair has ended.