Table of Contents

Class ProviderJobQueuePosition

Namespace
CivitaiSharp.Sdk.Models.Results
Assembly
CivitaiSharp.Sdk.dll

Queue position information for a job on a specific provider.

public sealed record ProviderJobQueuePosition : IEquatable<ProviderJobQueuePosition>
Inheritance
ProviderJobQueuePosition
Implements
Inherited Members

Constructors

ProviderJobQueuePosition(int?, decimal?, decimal?, string?, TimeSpanDetails?, DateTime?)

Queue position information for a job on a specific provider.

public ProviderJobQueuePosition(int? PrecedingJobs, decimal? PrecedingCost, decimal? ThroughputRate, string? WorkerId, TimeSpanDetails? EstimatedStartDuration, DateTime? EstimatedStartDate)

Parameters

PrecedingJobs int?
PrecedingCost decimal?
ThroughputRate decimal?
WorkerId string
EstimatedStartDuration TimeSpanDetails
EstimatedStartDate DateTime?

Properties

EstimatedStartDate

[JsonPropertyName("estimatedStartDate")]
public DateTime? EstimatedStartDate { get; init; }

Property Value

DateTime?

EstimatedStartDuration

[JsonPropertyName("estimatedStartDuration")]
public TimeSpanDetails? EstimatedStartDuration { get; init; }

Property Value

TimeSpanDetails

PrecedingCost

[JsonPropertyName("precedingCost")]
public decimal? PrecedingCost { get; init; }

Property Value

decimal?

PrecedingJobs

[JsonPropertyName("precedingJobs")]
public int? PrecedingJobs { get; init; }

Property Value

int?

ThroughputRate

[JsonPropertyName("throughputRate")]
public decimal? ThroughputRate { get; init; }

Property Value

decimal?

WorkerId

[JsonPropertyName("workerId")]
public string? WorkerId { get; init; }

Property Value

string