ImageResource

@Serializable
data class ImageResource(val name: String, val type: String, val module: String? = null, val labels: List<Label>? = null)

An indicator for an image that should be displayed. The image data is not stored in this object; this object is only used to determine which image to display.

Parameters

name

The name of the image to display.

type

ImageResource

module

The module of the image to display.

labels

A collection of labels for this ImageResource. Only one label can be included for each language, and if the user’s language cannot be selected, English will be selected as a default.

Constructors

Link copied to clipboard
constructor(name: String, type: String, module: String? = null, labels: List<Label>? = null)

Properties

Link copied to clipboard
@SerialName(value = "labels")
val labels: List<Label>? = null
Link copied to clipboard
@SerialName(value = "module")
val module: String? = null
Link copied to clipboard
@SerialName(value = "name")
val name: String
Link copied to clipboard
@SerialName(value = "type")
val type: String