data

fun Asset.Companion.data(id: Int, required: Boolean, type: Byte = DataType.DESC, length: Int = TitleLength.LONG): Asset

Creates an Asset that only contains a Data 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

a DataType representing what this data asset contains

length

an integer representing the maximum size of data for this data asset