Class AttachmentUpload
Metadata describing an attachment creation or atomic replacement upload.
public sealed record AttachmentUpload : IEquatable<AttachmentUpload>
- Inheritance
-
AttachmentUpload
- Implements
- Inherited Members
Properties
ContentType
MIME content type.
public required string ContentType { get; init; }
Property Value
IdempotencyKey
Required client-generated idempotency key.
public required string IdempotencyKey { get; init; }
Property Value
Keywords
Optional keywords associated with the attachment.
public IReadOnlyList<string>? Keywords { get; init; }
Property Value
Name
Display file name.
public required string Name { get; init; }
Property Value
Parent
Parent feature identity.
public required AttachmentParent Parent { get; init; }
Property Value
ReplaceAttachmentId
Optional attachment ID to replace atomically; null creates a new attachment.
public long? ReplaceAttachmentId { get; init; }
Property Value
- long?
Sha256
Required 32-byte SHA-256 digest of the complete attachment content.
public required ReadOnlyMemory<byte> Sha256 { get; init; }
Property Value
SizeBytes
Total attachment content size in bytes.
public required long SizeBytes { get; init; }