17.209. Class Result

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

public record Result : IEquatable<Result>

17.209.1. Inheritance

objectResult

17.209.2. Implements

IEquatable<Result>

17.209.3. Inherited Members

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

17.209.4. Extension Methods

ResultExt.ToGrpcResultRaw(Result)

17.209.5. Constructors

17.209.5.1. Result(string, string, string, string, string, ResultStatus, List<string>, DateTime, long, byte[])

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

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

Size long

Size of the result.

OpaqueId byte[]

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

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

17.209.5.2.1. Parameters

original Result

The object that will be copied

updates UpdateDefinition<Result>

A collection of field selector and their new values

17.209.6. Properties

17.209.6.1. CreatedBy

Id of the task that created this result.

public string CreatedBy { get; init; }

17.209.6.1.1. Property Value

string

17.209.6.2. CreationDate

Date of creation of the current object.

public DateTime CreationDate { get; init; }

17.209.6.2.1. Property Value

DateTime

17.209.6.3. DependentTasks

List of tasks that depend on this result.

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

17.209.6.3.1. Property Value

List<string>

17.209.6.4. Name

Name to reference and access this result

public string Name { get; init; }

17.209.6.4.1. Property Value

string

17.209.6.5. OpaqueId

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

public byte[] OpaqueId { get; init; }

17.209.6.5.1. Property Value

byte[]

17.209.6.6. OwnerTaskId

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

public string OwnerTaskId { get; init; }

17.209.6.6.1. Property Value

string

17.209.6.7. ResultId

Unique Id of the result

public string ResultId { get; init; }

17.209.6.7.1. Property Value

string

17.209.6.8. SessionId

Id of the session that produces and consumes this data

public string SessionId { get; init; }

17.209.6.8.1. Property Value

string

17.209.6.9. Size

Size of the result.

public long Size { get; init; }

17.209.6.9.1. Property Value

long

17.209.6.10. Status

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

public ResultStatus Status { get; init; }

17.209.6.10.1. Property Value

ResultStatus