POImageResource

@JsonClass(generateAdapter = true)
data class POImageResource(@Json(name = "light_url") val lightUrl: POImageResource.ResourceUrl, @Json(name = "dark_url") val darkUrl: POImageResource.ResourceUrl?)

Image resource for light/dark themes.

Parameters

lightUrl

URL to image for light theme.

darkUrl

URL to image for dark theme.

Constructors

Link copied to clipboard
constructor(@Json(name = "light_url") lightUrl: POImageResource.ResourceUrl, @Json(name = "dark_url") darkUrl: POImageResource.ResourceUrl?)

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class ResourceUrl(val raster: String)

Image resource URL.

Properties

Link copied to clipboard
Link copied to clipboard