Attachment

An artifact relevant to a result.

Constructors

Link copied to clipboard
constructor()
No args constructor for use in serialization
constructor(artifactLocation: ArtifactLocation)

Properties

Link copied to clipboard
@SerializedName(value = "artifactLocation")
@Expose
open var artifactLocation: ArtifactLocation
Specifies the location of an artifact.
Link copied to clipboard
@SerializedName(value = "description")
@Expose
open var description: Message
Encapsulates a message intended to be read by the end user.
Link copied to clipboard
@SerializedName(value = "properties")
@Expose
open var properties: PropertyBag
Key/value pairs that provide additional information about the object.
Link copied to clipboard
@SerializedName(value = "rectangles")
@Expose
open var rectangles: Set<Rectangle>
An array of rectangles specifying areas of interest within the image.
Link copied to clipboard
@SerializedName(value = "regions")
@Expose
open var regions: Set<Region>
An array of regions of interest within the attachment.

Functions

Link copied to clipboard
open fun equals(other: Any): Boolean
Link copied to clipboard
abstract fun getProperties(): PropertyBag
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
abstract fun setProperties(<set-?>: PropertyBag)
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun updateProperties(mutator: (in PropertyBag) -> Unit)
Link copied to clipboard
open fun withArtifactLocation(artifactLocation: ArtifactLocation): Attachment
Link copied to clipboard
open fun withDescription(description: Message): Attachment
Link copied to clipboard
open fun withProperties(properties: PropertyBag): Attachment
Link copied to clipboard
open fun withRectangles(rectangles: Set<Rectangle>): Attachment
Link copied to clipboard
open fun withRegions(regions: Set<Region>): Attachment