image

fun Asset.Companion.image(id: Int, required: Boolean, type: Byte, format: Format): Asset

Creates an Asset that only contains an Image parameter

Parameters

id

represents the id for this specific Asset. It must be unique in the same request. it should be matched with the id from a response

required

if the Asset is required or not

type

ImageType representing the type of this image asset

format

a Format representing the size of this image asset