Attachment

@JsonClass(generateAdapter = true)
data class Attachment(    @Json(name = "artifactLocation") val artifactLocation: ArtifactLocation,     @Json(name = "description") val description: Message? = null,     @Json(name = "properties") val properties: PropertyBag? = null,     @Json(name = "rectangles") val rectangles: List<Rectangle>? = null,     @Json(name = "regions") val regions: List<Region>? = null)

An artifact relevant to a result.

Constructors

Link copied to clipboard
fun Attachment(    @Json(name = "artifactLocation") artifactLocation: ArtifactLocation,     @Json(name = "description") description: Message? = null,     @Json(name = "properties") properties: PropertyBag? = null,     @Json(name = "rectangles") rectangles: List<Rectangle>? = null,     @Json(name = "regions") regions: List<Region>? = null)

Properties

Link copied to clipboard
val artifactLocation: ArtifactLocation

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.

Sources

Link copied to clipboard