26.240. 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>

26.240.1. Inheritance

objectTaskSubmissionRequest

26.240.2. Implements

IEquatable<TaskSubmissionRequest>

26.240.3. Inherited Members

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

26.240.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.

26.240.5. Constructors

26.240.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)

26.240.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.

26.240.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.

26.240.6. Properties

26.240.6.1. DataDependencies

Collection of data identifiers that this task depends on.

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

26.240.6.1.1. Property Value

ICollection<string>

26.240.6.2. ExpectedOutputKeys

Collection of keys for results that this task is expected to produce.

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

26.240.6.2.1. Property Value

ICollection<string>

26.240.6.3. Options

Optional task options that override session defaults.

public TaskOptions? Options { get; init; }

26.240.6.3.1. Property Value

TaskOptions?

26.240.6.4. PayloadId

The identifier for the task’s payload data.

public string PayloadId { get; init; }

26.240.6.4.1. Property Value

string