Assembly: OptimaJet.Workflow.Api

Class BulkTaskResult<TResult>

OptimaJet.Workflow.Api.Models.BulkTaskResult<TResult>

Bulk Task Result.

public record BulkTaskResult<TResult> : IEquatable<BulkTaskResult<TResult>>

Type Hierarchy

Constructors

public BulkTaskResult(BulkTaskState state, TResult? result = default, ExceptionModel? exception = null, DateTimeOffset? startedAt = null, DateTimeOffset? finalizedAt = null, TimeSpan? duration = null) #

Parameters

Name
Type
Description
state
BulkTaskState
result
{TResult}
exception
ExceptionModel
startedAt
Nullable<DateTimeOffset>
finalizedAt
Nullable<DateTimeOffset>
duration
Nullable<TimeSpan>

Properties

[JsonConverter(typeof(StringEnumConverter))] [JsonConverter(typeof(JsonStringEnumConverter))] public BulkTaskState State { get; init; } #
Gets the state value.
public TResult? Result { get; init; } #
Gets the result value.
public ExceptionModel? Exception { get; init; } #
Gets the exception value.
public DateTimeOffset? StartedAt { get; init; } #
Gets the started at value.
public DateTimeOffset? FinalizedAt { get; init; } #
Gets the finalized at value.
public TimeSpan? Duration { get; init; } #
Gets the duration value.