Attachment

@Serializable
data class Attachment(val artifactLocation: ArtifactLocation, val description: Message? = null, val properties: PropertyBag? = null, val rectangles: List<Rectangle>? = null, val regions: List<Region>? = null)

An artifact relevant to a result.

Constructors

Link copied to clipboard
constructor(artifactLocation: ArtifactLocation, description: Message? = null, properties: PropertyBag? = null, rectangles: List<Rectangle>? = null, regions: List<Region>? = null)

Properties

Link copied to clipboard

The location of the attachment.

Link copied to clipboard
val description: Message? = null

A message describing the role played by the attachment.

Link copied to clipboard
val properties: PropertyBag? = null

Key/value pairs that provide additional information about the attachment.

Link copied to clipboard
val rectangles: List<Rectangle>? = null

An array of rectangles specifying areas of interest within the image.

Link copied to clipboard
val regions: List<Region>? = null

An array of regions of interest within the attachment.