Table of Contents

Class UploadStatus

Namespace
idunno.Bluesky.Video
Assembly
idunno.Bluesky.dll

The upload status of a multi-part video upload.

public sealed record UploadStatus : IEquatable<UploadStatus>

Inheritance

Implements

Inherited Members

Properties

CompletedJobId

Gets the completed job id if the upload has completed successfully. May differ from idunno.Bluesky.Video.UploadStatus.JobId on deduplication.

public string? CompletedJobId { get; init; }

Property Value

string?

CompletedJobId

Gets the completed job id if the upload has completed successfully. May differ from idunno.Bluesky.Video.UploadStatus.JobId on deduplication.

public string? CompletedJobId { get; init; }

Property Value

string?

CompletedJobId

Gets the completed job id if the upload has completed successfully. May differ from idunno.Bluesky.Video.UploadStatus.JobId on deduplication.

public string? CompletedJobId { get; init; }

Property Value

string?

ExpiresAt

Gets the expiration date and time of the upload session.

public DateTimeOffset ExpiresAt { get; init; }

Property Value

DateTimeOffset

ExpiresAt

Gets the expiration date and time of the upload session.

public DateTimeOffset ExpiresAt { get; init; }

Property Value

DateTimeOffset

ExpiresAt

Gets the expiration date and time of the upload session.

public DateTimeOffset ExpiresAt { get; init; }

Property Value

DateTimeOffset

FailureReason

Gets the failure reason if the upload session has failed.

public string? FailureReason { get; init; }

Property Value

string?

FailureReason

Gets the failure reason if the upload session has failed.

public string? FailureReason { get; init; }

Property Value

string?

FailureReason

Gets the failure reason if the upload session has failed.

public string? FailureReason { get; init; }

Property Value

string?

JobId

Gets the multi-part upload job id. This is used to identify the upload session and is required for all subsequent requests to the upload API.

public string JobId { get; init; }

Property Value

string

JobId

Gets the multi-part upload job id. This is used to identify the upload session and is required for all subsequent requests to the upload API.

public string JobId { get; init; }

Property Value

string

JobId

Gets the multi-part upload job id. This is used to identify the upload session and is required for all subsequent requests to the upload API.

public string JobId { get; init; }

Property Value

string

JobStatus

Gets the job status if the upload has completed successfully.

public JobStatus? JobStatus { get; init; }

Property Value

JobStatus?

JobStatus

Gets the job status if the upload has completed successfully.

public JobStatus? JobStatus { get; init; }

Property Value

JobStatus?

JobStatus

Gets the job status if the upload has completed successfully.

public JobStatus? JobStatus { get; init; }

Property Value

JobStatus?

PartCount

Gets the number of parts that make up the complete upload.

public long PartCount { get; init; }

Property Value

long

PartCount

Gets the number of parts that make up the complete upload.

public long PartCount { get; init; }

Property Value

long

PartCount

Gets the number of parts that make up the complete upload.

public long PartCount { get; init; }

Property Value

long

PartSize

Gets the size of each part in bytes.

public long PartSize { get; init; }

Property Value

long

PartSize

Gets the size of each part in bytes.

public long PartSize { get; init; }

Property Value

long

PartSize

Gets the size of each part in bytes.

public long PartSize { get; init; }

Property Value

long

RawState

Gets the state of the upload session, as the string returned from the API.

public string? RawState { get; init; }

Property Value

string?

RawState

Gets the state of the upload session, as the string returned from the API.

public string? RawState { get; init; }

Property Value

string?

RawState

Gets the state of the upload session, as the string returned from the API.

public string? RawState { get; init; }

Property Value

string?

ReceivedParts

Gets the list of part numbers that have been received by the server. This can be used to determine which parts still need to be uploaded.

public IReadOnlyCollection<long> ReceivedParts { get; init; }

Property Value

IReadOnlyCollection<long>

ReceivedParts

Gets the list of part numbers that have been received by the server. This can be used to determine which parts still need to be uploaded.

public IReadOnlyCollection<long> ReceivedParts { get; init; }

Property Value

IReadOnlyCollection<long>

ReceivedParts

Gets the list of part numbers that have been received by the server. This can be used to determine which parts still need to be uploaded.

public IReadOnlyCollection<long> ReceivedParts { get; init; }

Property Value

IReadOnlyCollection<long>

State

Gets the current state of the upload session.

public UploadState State { get; init; }

Property Value

UploadState

State

Gets the current state of the upload session.

public UploadState State { get; init; }

Property Value

UploadState

State

Gets the current state of the upload session.

public UploadState State { get; init; }

Property Value

UploadState

Methods

<Clone>$()

public UploadStatus <Clone>$()

Returns

UploadStatus

<Clone>$()

public UploadStatus <Clone>$()

Returns

UploadStatus

<Clone>$()

public UploadStatus <Clone>$()

Returns

UploadStatus

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(UploadStatus?)

public bool Equals(UploadStatus? other)

Parameters

other UploadStatus?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(UploadStatus?)

public bool Equals(UploadStatus? other)

Parameters

other UploadStatus?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(UploadStatus?)

public bool Equals(UploadStatus? other)

Parameters

other UploadStatus?

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

Operators

operator ==(UploadStatus?, UploadStatus?)

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

Parameters

left UploadStatus?
right UploadStatus?

Returns

bool

operator ==(UploadStatus?, UploadStatus?)

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

Parameters

left UploadStatus?
right UploadStatus?

Returns

bool

operator ==(UploadStatus?, UploadStatus?)

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

Parameters

left UploadStatus?
right UploadStatus?

Returns

bool

operator !=(UploadStatus?, UploadStatus?)

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

Parameters

left UploadStatus?
right UploadStatus?

Returns

bool

operator !=(UploadStatus?, UploadStatus?)

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

Parameters

left UploadStatus?
right UploadStatus?

Returns

bool

operator !=(UploadStatus?, UploadStatus?)

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

Parameters

left UploadStatus?
right UploadStatus?

Returns

bool