ArtifactContent

@JsonClass(generateAdapter = true)
data class ArtifactContent(@Json(name = "binary") val binary: String? = null, @Json(name = "properties") val properties: PropertyBag? = null, @Json(name = "rendered") val rendered: MultiformatMessageString? = null, @Json(name = "text") val text: String? = null)(source)

The contents of the artifact.

Represents the contents of an artifact.

The portion of the artifact contents within the specified region.

The body of the request.

The body of the response.

The content to insert at the location specified by the 'deletedRegion' property.

Since

0.12.0

Constructors

Link copied to clipboard
constructor(@Json(name = "binary") binary: String? = null, @Json(name = "properties") properties: PropertyBag? = null, @Json(name = "rendered") rendered: MultiformatMessageString? = null, @Json(name = "text") text: String? = null)

Properties

Link copied to clipboard
val binary: String? = null

MIME Base64-encoded content from a binary artifact, or from a text artifact in its original encoding.

Link copied to clipboard
val properties: PropertyBag? = null

Key/value pairs that provide additional information about the artifact content.

Link copied to clipboard

An alternate rendered representation of the artifact (e.g., a decompiled representation of a binary region).

Link copied to clipboard
val text: String? = null

UTF-8-encoded content from a text artifact.