Image

data class Image(val url: String, val type: String, val category: String, val thumbnail: String? = null, val width: Int? = null, val height: Int? = null)

This class references an image related to an Evse in terms of a file name or url.

Parameters

url

URL from where the image data can be fetched through a web browser.

type

Image type like: gif, jpeg, png, svg.

category

Describes what the image is used for.

thumbnail

URL from where a thumbnail of the image can be fetched through a web browser.

width

Width of the full scale image.

height

Height of the full scale image.

Constructors

Link copied to clipboard
constructor(url: String, type: String, category: String, thumbnail: String? = null, width: Int? = null, height: Int? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val height: Int? = null
Link copied to clipboard
val thumbnail: String? = null
Link copied to clipboard
Link copied to clipboard
val url: String
Link copied to clipboard
val width: Int? = null