Table of Contents

Class BackupRequestOutcome

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

The last backup.request the engine answered, and how (#1483).

public sealed record BackupRequestOutcome : IEquatable<BackupRequestOutcome>
Inheritance
BackupRequestOutcome
Implements
Inherited Members

Constructors

BackupRequestOutcome(Guid, BackupRequestState, BackupPointSummary, string, DateTime)

The last backup.request the engine answered, and how (#1483).

public BackupRequestOutcome(Guid Id, BackupRequestState State, BackupPointSummary Point, string Error, DateTime Utc)

Parameters

Id Guid

The request's id.

State BackupRequestState

Where its job is.

Point BackupPointSummary

Its point when Published, else null.

Error string

Why it failed, was refused or deferred; null otherwise.

Utc DateTime

When it reached State.

Properties

Error

Why it failed, was refused or deferred; null otherwise.

public string Error { get; init; }

Property Value

string

Id

The request's id.

public Guid Id { get; init; }

Property Value

Guid

Point

Its point when Published, else null.

public BackupPointSummary Point { get; init; }

Property Value

BackupPointSummary

State

Where its job is.

public BackupRequestState State { get; init; }

Property Value

BackupRequestState

Utc

When it reached State.

public DateTime Utc { get; init; }

Property Value

DateTime

Methods

Deconstruct(out Guid, out BackupRequestState, out BackupPointSummary, out string, out DateTime)

public void Deconstruct(out Guid Id, out BackupRequestState State, out BackupPointSummary Point, out string Error, out DateTime Utc)

Parameters

Id Guid
State BackupRequestState
Point BackupPointSummary
Error string
Utc DateTime

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(BackupRequestOutcome?)

public bool Equals(BackupRequestOutcome? other)

Parameters

other BackupRequestOutcome

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BackupRequestOutcome?, BackupRequestOutcome?)

public static bool operator ==(BackupRequestOutcome? left, BackupRequestOutcome? right)

Parameters

left BackupRequestOutcome
right BackupRequestOutcome

Returns

bool

operator !=(BackupRequestOutcome?, BackupRequestOutcome?)

public static bool operator !=(BackupRequestOutcome? left, BackupRequestOutcome? right)

Parameters

left BackupRequestOutcome
right BackupRequestOutcome

Returns

bool