Skip to content

UploadDocumentResponse

Namespace AgentPrism · Assembly AgentPrism.AspNetCore.dll

Result of a document upload request.

public sealed record UploadDocumentResponse : IEquatable<UploadDocumentResponse>

objectUploadDocumentResponse

IEquatable<UploadDocumentResponse>

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

Result of a document upload request.

public UploadDocumentResponse(string SourceId, int ChunkCount)

SourceId string

Identifier of the uploaded source.

ChunkCount int

Number of chunks written.

Number of chunks written.

public int ChunkCount { get; init; }

int

Identifier of the uploaded source.

public string SourceId { get; init; }

string

public void Deconstruct(out string SourceId, out int ChunkCount)

SourceId string

ChunkCount int

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(UploadDocumentResponse? other)

other UploadDocumentResponse?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(UploadDocumentResponse?, UploadDocumentResponse?)

Section titled “ operator ==(UploadDocumentResponse?, UploadDocumentResponse?)”
public static bool operator ==(UploadDocumentResponse? left, UploadDocumentResponse? right)

left UploadDocumentResponse?

right UploadDocumentResponse?

bool

operator !=(UploadDocumentResponse?, UploadDocumentResponse?)

Section titled “ operator !=(UploadDocumentResponse?, UploadDocumentResponse?)”
public static bool operator !=(UploadDocumentResponse? left, UploadDocumentResponse? right)

left UploadDocumentResponse?

right UploadDocumentResponse?

bool