VideoRequest

data class VideoRequest(    val id: Int? = null,     val title: String? = null,     val description: String? = null,     val titleRu: String? = null,     val descriptionRu: String? = null,     val image: String? = null,     val url: String? = null,     val isPublished: Boolean? = null,     val uploads: List<Int> = listOf())

Route request article

Constructors

Link copied to clipboard
fun VideoRequest(    id: Int? = null,     title: String? = null,     description: String? = null,     titleRu: String? = null,     descriptionRu: String? = null,     image: String? = null,     url: String? = null,     isPublished: Boolean? = null,     uploads: List<Int> = listOf())

Properties

Link copied to clipboard
@Size(min = 3, max = 500, message = "Size must be between 3 and 500")
val description: String? = null
Link copied to clipboard
@NotBlank(message = "Must not be blank")
@Size(max = 500, message = "Size must be between 3 and 500")
val descriptionRu: String? = null
Link copied to clipboard
val id: Int? = null
Link copied to clipboard
@URL(message = "Must be a valid URL")
val image: String? = null
Link copied to clipboard
@NotNull(message = "Must not be null")
val isPublished: Boolean? = null
Link copied to clipboard
@Size(min = 3, max = 255, message = "Size must be between 3 and 255")
val title: String? = null
Link copied to clipboard
@NotBlank(message = "Must not be blank")
@Size(max = 255, message = "Size must be between 3 and 255")
val titleRu: String? = null
Link copied to clipboard
val uploads: List<Int>
Link copied to clipboard
@URL(message = "Must be a valid URL")
val url: String? = null