Table of Contents

Class JobStatus

Namespace
Nexus.Api.V1
Assembly
Nexus.Api.dll

Describes the status of the job.

public record JobStatus : IEquatable<JobStatus>
Inheritance
JobStatus
Implements
Inherited Members

Constructors

JobStatus(DateTime, TaskStatus, double, string?, JsonElement?)

Describes the status of the job.

public JobStatus(DateTime Start, TaskStatus Status, double Progress, string? ExceptionMessage, JsonElement? Result)

Parameters

Start DateTime

The start date/time.

Status TaskStatus

The status.

Progress double

The progress from 0 to 1.

ExceptionMessage string

The nullable exception message.

Result JsonElement?

The nullable result.

Properties

ExceptionMessage

The nullable exception message.

public string? ExceptionMessage { get; init; }

Property Value

string

Progress

The progress from 0 to 1.

public double Progress { get; init; }

Property Value

double

Result

The nullable result.

public JsonElement? Result { get; init; }

Property Value

JsonElement?

Start

The start date/time.

public DateTime Start { get; init; }

Property Value

DateTime

Status

The status.

public TaskStatus Status { get; init; }

Property Value

TaskStatus