22.199. Class NewTask
Namespace: ArmoniK.Core.Common.Storage.Events
Assembly: ArmoniK.Core.Common.dll
Represents a new task update
public record NewTask : IEquatable<NewTask>
22.199.1. Inheritance
22.199.2. Implements
22.199.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
22.199.4. Constructors
22.199.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)
22.199.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
22.199.5. Properties
22.199.5.1. DataDependencies
The list of id representing the data dependencies
public IEnumerable<string> DataDependencies { get; init; }
22.199.5.1.1. Property Value
22.199.5.2. ExpectedOutputKeys
The list of the id of the data produced by the task
public IEnumerable<string> ExpectedOutputKeys { get; init; }
22.199.5.2.1. Property Value
22.199.5.3. OriginTaskId
The id of the task before retry (the task id if no retry)
public string OriginTaskId { get; init; }
22.199.5.3.1. Property Value
22.199.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; }
22.199.5.4.1. Property Value
22.199.5.5. PayloadId
The id of the payload
public string PayloadId { get; init; }
22.199.5.5.1. Property Value
22.199.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; }
22.199.5.6.1. Property Value
22.199.5.7. SessionId
The id of the session
public string SessionId { get; init; }
22.199.5.7.1. Property Value
22.199.5.8. Status
The status of the task
public TaskStatus Status { get; init; }
22.199.5.8.1. Property Value
22.199.5.9. TaskId
The id of the task
public string TaskId { get; init; }
22.199.5.9.1. Property Value
22.199.6. Methods
22.199.6.1. Equals(NewTask?)
Indicates whether the current object is equal to another object of the same type.
public virtual bool Equals(NewTask? other)
22.199.6.1.1. Parameters
other NewTask?
An object to compare with this object.
22.199.6.1.2. Returns
true if the current object is equal to the other parameter; otherwise, false.
22.199.6.2. GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
22.199.6.2.1. Returns
A hash code for the current object.