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
PrecedingJobsint?PrecedingCostdecimal?ThroughputRatedecimal?WorkerIdstringEstimatedStartDurationTimeSpanDetailsEstimatedStartDateDateTime?
Properties
EstimatedStartDate
[JsonPropertyName("estimatedStartDate")]
public DateTime? EstimatedStartDate { get; init; }
Property Value
EstimatedStartDuration
[JsonPropertyName("estimatedStartDuration")]
public TimeSpanDetails? EstimatedStartDuration { get; init; }
Property Value
PrecedingCost
[JsonPropertyName("precedingCost")]
public decimal? PrecedingCost { get; init; }
Property Value
PrecedingJobs
[JsonPropertyName("precedingJobs")]
public int? PrecedingJobs { get; init; }
Property Value
- int?
ThroughputRate
[JsonPropertyName("throughputRate")]
public decimal? ThroughputRate { get; init; }
Property Value
WorkerId
[JsonPropertyName("workerId")]
public string? WorkerId { get; init; }