26.213. Class Result
Namespace: ArmoniK.Core.Common.Storage
Assembly: ArmoniK.Core.Common.dll
public record Result : IEquatable<Result>
26.213.1. Inheritance
26.213.2. Implements
26.213.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
26.213.4. Extension Methods
26.213.5. Constructors
26.213.5.1. Result(string, string, string, string, string, string, ResultStatus, List<string>, DateTime, DateTime?, long, byte[], bool)
public Result(string SessionId, string ResultId, string Name, string CreatedBy, string CompletedBy, string OwnerTaskId, ResultStatus Status, List<string> DependentTasks, DateTime CreationDate, DateTime? CompletionDate, long Size, byte[] OpaqueId, bool ManualDeletion)
26.213.5.1.1. Parameters
SessionId string
Id of the session that produces and consumes this data
ResultId string
Unique Id of the result
Name string
Name to reference and access this result
CreatedBy string
Id of the task that created this result.
CompletedBy string
Id of the task that completed this result.
OwnerTaskId string
Id of the task that is responsible of generating this result.
Status ResultStatus
Status of the result (can be Created, Completed or Aborted)
List of tasks that depend on this result.
CreationDate DateTime
Date of creation of the current object.
CompletionDate DateTime?
Date of completion of the current object.
Size long
Size of the result.
OpaqueId byte[]
Opaque Identifier used by the object storage to refer to this result’s data
ManualDeletion bool
If the user is responsible for the deletion of the data in the underlying object storage
26.213.5.2. Result(Result, UpdateDefinition<Result>)
Creates a copy of a
public Result(Result original, UpdateDefinition<Result> updates)
26.213.5.2.1. Parameters
original Result
The object that will be copied
updates UpdateDefinition<Result>
A collection of field selector and their new values
26.213.6. Properties
26.213.6.1. CompletedBy
Id of the task that completed this result.
public string CompletedBy { get; init; }
26.213.6.1.1. Property Value
26.213.6.2. CompletionDate
Date of completion of the current object.
public DateTime? CompletionDate { get; init; }
26.213.6.2.1. Property Value
26.213.6.3. CreatedBy
Id of the task that created this result.
public string CreatedBy { get; init; }
26.213.6.3.1. Property Value
26.213.6.4. CreationDate
Date of creation of the current object.
public DateTime CreationDate { get; init; }
26.213.6.4.1. Property Value
26.213.6.5. DependentTasks
List of tasks that depend on this result.
public List<string> DependentTasks { get; init; }
26.213.6.5.1. Property Value
26.213.6.6. ManualDeletion
If the user is responsible for the deletion of the data in the underlying object storage
public bool ManualDeletion { get; init; }
26.213.6.6.1. Property Value
26.213.6.7. Name
Name to reference and access this result
public string Name { get; init; }
26.213.6.7.1. Property Value
26.213.6.8. OpaqueId
Opaque Identifier used by the object storage to refer to this result’s data
public byte[] OpaqueId { get; init; }
26.213.6.8.1. Property Value
byte[]
26.213.6.9. OwnerTaskId
Id of the task that is responsible of generating this result.
public string OwnerTaskId { get; init; }
26.213.6.9.1. Property Value
26.213.6.10. ResultId
Unique Id of the result
public string ResultId { get; init; }
26.213.6.10.1. Property Value
26.213.6.11. SessionId
Id of the session that produces and consumes this data
public string SessionId { get; init; }
26.213.6.11.1. Property Value
26.213.6.12. Size
Size of the result.
public long Size { get; init; }
26.213.6.12.1. Property Value
26.213.6.13. Status
Status of the result (can be Created, Completed or Aborted)
public ResultStatus Status { get; init; }