21.210. Class Result

Namespace: ArmoniK.Core.Common.Storage
Assembly: ArmoniK.Core.Common.dll

public record Result : IEquatable<Result>

21.210.1. Inheritance

objectResult

21.210.2. Implements

IEquatable<Result>

21.210.3. Inherited Members

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

21.210.4. Extension Methods

ResultExt.ToGrpcResultRaw(Result)

21.210.5. Constructors

21.210.5.1. Result(string, string, string, string, string, ResultStatus, List<string>, DateTime, DateTime?, long, byte[], bool)

public Result(string SessionId, string ResultId, string Name, string CreatedBy, string OwnerTaskId, ResultStatus Status, List<string> DependentTasks, DateTime CreationDate, DateTime? CompletionDate, long Size, byte[] OpaqueId, bool ManualDeletion)

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

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)

DependentTasks List<string>

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

21.210.5.2. Result(Result, UpdateDefinition<Result>)

Creates a copy of a and modify it according to given updates

public Result(Result original, UpdateDefinition<Result> updates)

21.210.5.2.1. Parameters

original Result

The object that will be copied

updates UpdateDefinition<Result>

A collection of field selector and their new values

21.210.6. Properties

21.210.6.1. CompletionDate

Date of completion of the current object.

public DateTime? CompletionDate { get; init; }

21.210.6.1.1. Property Value

DateTime?

21.210.6.2. CreatedBy

Id of the task that created this result.

public string CreatedBy { get; init; }

21.210.6.2.1. Property Value

string

21.210.6.3. CreationDate

Date of creation of the current object.

public DateTime CreationDate { get; init; }

21.210.6.3.1. Property Value

DateTime

21.210.6.4. DependentTasks

List of tasks that depend on this result.

public List<string> DependentTasks { get; init; }

21.210.6.4.1. Property Value

List<string>

21.210.6.5. ManualDeletion

If the user is responsible for the deletion of the data in the underlying object storage

public bool ManualDeletion { get; init; }

21.210.6.5.1. Property Value

bool

21.210.6.6. Name

Name to reference and access this result

public string Name { get; init; }

21.210.6.6.1. Property Value

string

21.210.6.7. OpaqueId

Opaque Identifier used by the object storage to refer to this result’s data

public byte[] OpaqueId { get; init; }

21.210.6.7.1. Property Value

byte[]

21.210.6.8. OwnerTaskId

Id of the task that is responsible of generating this result.

public string OwnerTaskId { get; init; }

21.210.6.8.1. Property Value

string

21.210.6.9. ResultId

Unique Id of the result

public string ResultId { get; init; }

21.210.6.9.1. Property Value

string

21.210.6.10. SessionId

Id of the session that produces and consumes this data

public string SessionId { get; init; }

21.210.6.10.1. Property Value

string

21.210.6.11. Size

Size of the result.

public long Size { get; init; }

21.210.6.11.1. Property Value

long

21.210.6.12. Status

Status of the result (can be Created, Completed or Aborted)

public ResultStatus Status { get; init; }

21.210.6.12.1. Property Value

ResultStatus