DatasourceEntry

data class DatasourceEntry(id: Long, name: String, slug: String, dimensionValue: String?)

A data source is simply a collection of key-value pairs. One specific datasource-entry is a set of two linked attributes: a key, which is a unique identifier for the item and the value.

Key-value pairs can be used for a single-choice, multiple-choice options and as well directly through our API to use them for multi-language labels, categories, or any use-case you might need key-value pairs.

Parameters

id

Numeric id

name

Given name

slug

Given slug

dimensionValue

Given value in the requested dimension

Constructors

DatasourceEntry
Link copied to clipboard
fun DatasourceEntry(id: Long, name: String, slug: String, dimensionValue: String? = null)

Properties

dimensionValue
Link copied to clipboard
val dimensionValue: String? = null
id
Link copied to clipboard
val id: Long
name
Link copied to clipboard
val name: String
slug
Link copied to clipboard
val slug: String