21.241. Class TaskSubmissionRequest
Namespace: ArmoniK.Core.Common.Storage
Assembly: ArmoniK.Core.Common.dll
Represents a request for task submission, containing all necessary information to create a task.
public record TaskSubmissionRequest : IEquatable<TaskSubmissionRequest>
21.241.1. Inheritance
21.241.2. Implements
21.241.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
21.241.4. Remarks
This record encapsulates the data needed for task creation, including its payload identifier, execution options, expected outputs, and data dependencies. It serves as an intermediate representation between client requests and internal task creation.
21.241.5. Constructors
21.241.5.1. TaskSubmissionRequest(string, TaskOptions?, ICollection<string>, ICollection<string>)
Represents a request for task submission, containing all necessary information to create a task.
public TaskSubmissionRequest(string PayloadId, TaskOptions? Options, ICollection<string> ExpectedOutputKeys, ICollection<string> DataDependencies)
21.241.5.1.1. Parameters
PayloadId string
The identifier for the task’s payload data.
Options TaskOptions?
Optional task options that override session defaults.
ExpectedOutputKeys ICollection<string>
Collection of keys for results that this task is expected to produce.
DataDependencies ICollection<string>
Collection of data identifiers that this task depends on.
21.241.5.1.2. Remarks
This record encapsulates the data needed for task creation, including its payload identifier, execution options, expected outputs, and data dependencies. It serves as an intermediate representation between client requests and internal task creation.
21.241.6. Properties
21.241.6.1. DataDependencies
Collection of data identifiers that this task depends on.
public ICollection<string> DataDependencies { get; init; }
21.241.6.1.1. Property Value
21.241.6.2. ExpectedOutputKeys
Collection of keys for results that this task is expected to produce.
public ICollection<string> ExpectedOutputKeys { get; init; }
21.241.6.2.1. Property Value
21.241.6.3. Options
Optional task options that override session defaults.
public TaskOptions? Options { get; init; }
21.241.6.3.1. Property Value
TaskOptions?
21.241.6.4. PayloadId
The identifier for the task’s payload data.
public string PayloadId { get; init; }