21.221. Class TaskCreationRequest

Namespace: ArmoniK.Core.Common.Storage
Assembly: ArmoniK.Core.Common.dll

Represents a request to create a task with specific options, payload, and dependencies.

public record TaskCreationRequest : IEquatable<TaskCreationRequest>

21.221.1. Inheritance

objectTaskCreationRequest

21.221.2. Implements

IEquatable<TaskCreationRequest>

21.221.3. Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

21.221.4. Constructors

21.221.4.1. TaskCreationRequest(string, string, TaskOptions, ICollection<string>, ICollection<string>)

Represents a request to create a task with specific options, payload, and dependencies.

public TaskCreationRequest(string TaskId, string PayloadId, TaskOptions Options, ICollection<string> ExpectedOutputKeys, ICollection<string> DataDependencies)

21.221.4.1.1. Parameters

TaskId string

The unique identifier for the task.

PayloadId string

The identifier for the payload associated with the task.

Options TaskOptions

The options specifying the task’s configuration.

ExpectedOutputKeys ICollection<string>

The collection of unique identifier expected as output from the task.

DataDependencies ICollection<string>

The collection of unique identifier dependencies required by the task.

21.221.5. Properties

21.221.5.1. DataDependencies

The collection of unique identifier dependencies required by the task.

public ICollection<string> DataDependencies { get; init; }

21.221.5.1.1. Property Value

ICollection<string>

21.221.5.2. ExpectedOutputKeys

The collection of unique identifier expected as output from the task.

public ICollection<string> ExpectedOutputKeys { get; init; }

21.221.5.2.1. Property Value

ICollection<string>

21.221.5.3. Options

The options specifying the task’s configuration.

public TaskOptions Options { get; init; }

21.221.5.3.1. Property Value

TaskOptions

21.221.5.4. PayloadId

The identifier for the payload associated with the task.

public string PayloadId { get; init; }

21.221.5.4.1. Property Value

string

21.221.5.5. TaskId

The unique identifier for the task.

public string TaskId { get; init; }

21.221.5.5.1. Property Value

string