Class BulkTaskResult<TResult>
OptimaJet.Workflow.Api.Models.BulkTaskResult<TResult>
Bulk Task Result.
Namespace: OptimaJet.Workflow.Api.Models
public record BulkTaskResult<TResult> : IEquatable<BulkTaskResult<TResult>>Type Hierarchy
- BulkTaskResult<TResult> Current type
- Implemented interfaces
Constructors
public BulkTaskResult(BulkTaskState state, TResult? result = default, ExceptionModel? exception = null, DateTimeOffset? startedAt = null, DateTimeOffset? finalizedAt = null, TimeSpan? duration = null) #Parameters
Name
Type
Description
stateBulkTaskStateresult{TResult}exceptionExceptionModelstartedAtNullable<DateTimeOffset>finalizedAtNullable<DateTimeOffset>durationNullable<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.