AttachmentUploadResult

sealed interface AttachmentUploadResult

Represents the result of an attachment upload operation.

Inheritors

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
class Completed : AttachmentUploadResult

Represents a successfully completed attachment upload.

Link copied to clipboard
@JsonClass(generateAdapter = true)
class Error(val errorMessage: String? = null, val errorType: AttachmentUploadErrorType) : AttachmentUploadResult

Represents a failed attachment upload.

Link copied to clipboard
@JsonClass(generateAdapter = true)
class Pending(val referenceId: UUID = UUID.randomUUID()) : AttachmentUploadResult

Represents an attachment upload that is currently in progress.

Properties

Link copied to clipboard