DescriptionSimpleDto

data class DescriptionSimpleDto(var language: String? = null, var description: String? = null)

Provides a description, if available. The language of the description can be determined via the Accept-Language header using an ISO 3166 alpha-2 code. If there is no description in the language, a default language is used. The actual language supplied is defined via the language field.

Parameters

language

Language of the description as ISO 3166 alpha-2 code.

description

Complete description of the element in the language of the language field.

Constructors

Link copied to clipboard
constructor(language: String? = null, description: String? = null)

Properties

Link copied to clipboard
@get:Size(max = 8192)
var description: String?
Link copied to clipboard
@get:Pattern(regexp = "^([a-z]{2})$")
@get:Size(min = 2, max = 2)
var language: String?