21.197. Class NewTask
Namespace: ArmoniK.Core.Common.Storage.Events
Assembly: ArmoniK.Core.Common.dll
Represents a new task update
public record NewTask : IEquatable<NewTask>
21.197.1. Inheritance
21.197.2. Implements
21.197.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
21.197.4. Constructors
21.197.4.1. NewTask(string, string, string, string, IEnumerable<string>, IEnumerable<string>, IEnumerable<string>, IEnumerable<string>, TaskStatus)
Represents a new task update
public NewTask(string SessionId, string TaskId, string OriginTaskId, string PayloadId, IEnumerable<string> ParentTaskIds, IEnumerable<string> ExpectedOutputKeys, IEnumerable<string> DataDependencies, IEnumerable<string> RetryOfIds, TaskStatus Status)
21.197.4.1.1. Parameters
SessionId string
The id of the session
TaskId string
The id of the task
OriginTaskId string
The id of the task before retry (the task id if no retry)
PayloadId string
The id of the payload
ParentTaskIds IEnumerable<string>
Unique identifiers of the tasks that submitted the current task up to the session id which represents a submission from the client
ExpectedOutputKeys IEnumerable<string>
The list of the id of the data produced by the task
DataDependencies IEnumerable<string>
The list of id representing the data dependencies
RetryOfIds IEnumerable<string>
The list of task id of the previous run of the task (empty of no retry)
Status TaskStatus
The status of the task
21.197.5. Properties
21.197.5.1. DataDependencies
The list of id representing the data dependencies
public IEnumerable<string> DataDependencies { get; init; }
21.197.5.1.1. Property Value
21.197.5.2. ExpectedOutputKeys
The list of the id of the data produced by the task
public IEnumerable<string> ExpectedOutputKeys { get; init; }
21.197.5.2.1. Property Value
21.197.5.3. OriginTaskId
The id of the task before retry (the task id if no retry)
public string OriginTaskId { get; init; }
21.197.5.3.1. Property Value
21.197.5.4. ParentTaskIds
Unique identifiers of the tasks that submitted the current task up to the session id which represents a submission from the client
public IEnumerable<string> ParentTaskIds { get; init; }
21.197.5.4.1. Property Value
21.197.5.5. PayloadId
The id of the payload
public string PayloadId { get; init; }
21.197.5.5.1. Property Value
21.197.5.6. RetryOfIds
The list of task id of the previous run of the task (empty of no retry)
public IEnumerable<string> RetryOfIds { get; init; }
21.197.5.6.1. Property Value
21.197.5.7. SessionId
The id of the session
public string SessionId { get; init; }
21.197.5.7.1. Property Value
21.197.5.8. Status
The status of the task
public TaskStatus Status { get; init; }
21.197.5.8.1. Property Value
21.197.5.9. TaskId
The id of the task
public string TaskId { get; init; }
21.197.5.9.1. Property Value
21.197.6. Methods
21.197.6.1. Equals(NewTask?)
Indicates whether the current object is equal to another object of the same type.
public virtual bool Equals(NewTask? other)
21.197.6.1.1. Parameters
other NewTask?
An object to compare with this object.
21.197.6.1.2. Returns
true if the current object is equal to the other parameter; otherwise, false.
21.197.6.2. GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
21.197.6.2.1. Returns
A hash code for the current object.