Class BackupRequestOutcome
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
IdGuidThe request's id.
StateBackupRequestStateWhere its job is.
PointBackupPointSummaryIts point when Published, else
null.ErrorstringWhy it failed, was refused or deferred;
nullotherwise.UtcDateTimeWhen it reached
State.
Properties
Error
Why it failed, was refused or deferred; null otherwise.
public string Error { get; init; }
Property Value
Id
The request's id.
public Guid Id { get; init; }
Property Value
Point
Its point when Published, else null.
public BackupPointSummary Point { get; init; }
Property Value
State
Where its job is.
public BackupRequestState State { get; init; }
Property Value
Utc
When it reached State.
public DateTime Utc { get; init; }
Property Value
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
IdGuidStateBackupRequestStatePointBackupPointSummaryErrorstringUtcDateTime
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(BackupRequestOutcome?)
public bool Equals(BackupRequestOutcome? other)
Parameters
otherBackupRequestOutcome
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BackupRequestOutcome?, BackupRequestOutcome?)
public static bool operator ==(BackupRequestOutcome? left, BackupRequestOutcome? right)
Parameters
leftBackupRequestOutcomerightBackupRequestOutcome
Returns
operator !=(BackupRequestOutcome?, BackupRequestOutcome?)
public static bool operator !=(BackupRequestOutcome? left, BackupRequestOutcome? right)
Parameters
leftBackupRequestOutcomerightBackupRequestOutcome