Class ProtoTraceAttachmentRecord

Namespace
ProtoTest.Core
Assembly
ProtoTest.Core.dll

An artifact the test attached; the file itself lives in the bundle's artifacts.

public sealed record ProtoTraceAttachmentRecord : IEquatable<ProtoTraceAttachmentRecord>
Inheritance
ProtoTraceAttachmentRecord
Implements
Inherited Members
Extension Methods

Constructors

ProtoTraceAttachmentRecord(string, string?, DateTimeOffset, string, string, string?, string?, string?, long?, string?)

An artifact the test attached; the file itself lives in the bundle's artifacts.

public ProtoTraceAttachmentRecord(string Id, string? OperationId, DateTimeOffset AtUtc, string Name, string MediaType, string? Description = null, string? ArtifactId = null, string? ArchivePath = null, long? SizeBytes = null, string? Error = null)

Parameters

Id string
OperationId string
AtUtc DateTimeOffset
Name string
MediaType string
Description string
ArtifactId string
ArchivePath string
SizeBytes long?
Error string

Properties

ArchivePath

public string? ArchivePath { get; init; }

Property Value

string

ArtifactId

public string? ArtifactId { get; init; }

Property Value

string

AtUtc

public DateTimeOffset AtUtc { get; init; }

Property Value

DateTimeOffset

Description

public string? Description { get; init; }

Property Value

string

Error

public string? Error { get; init; }

Property Value

string

Id

public string Id { get; init; }

Property Value

string

MediaType

public string MediaType { get; init; }

Property Value

string

Name

public string Name { get; init; }

Property Value

string

OperationId

public string? OperationId { get; init; }

Property Value

string

SizeBytes

public long? SizeBytes { get; init; }

Property Value

long?