ProjectRequest

data class ProjectRequest(    val id: Int? = null,     val title: String? = null,     val description: String? = null,     val titleRu: String? = null,     val descriptionRu: String? = null,     val category: ProjectCategory? = null,     val publicImage: String? = null,     val url: String? = null,     val urlGitHub: String? = null,     val urlSnapcraft: String? = null,     val urlDownload: String? = null,     val urlYouTube: String? = null,     val isPublished: Boolean? = null,     val uploads: List<Int> = listOf())

Route request project

Constructors

Link copied to clipboard
fun ProjectRequest(    id: Int? = null,     title: String? = null,     description: String? = null,     titleRu: String? = null,     descriptionRu: String? = null,     category: ProjectCategory? = null,     publicImage: String? = null,     url: String? = null,     urlGitHub: String? = null,     urlSnapcraft: String? = null,     urlDownload: String? = null,     urlYouTube: String? = null,     isPublished: Boolean? = null,     uploads: List<Int> = listOf())

Properties

Link copied to clipboard
@NotNull(message = "Select category required")
val category: ProjectCategory? = null
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
@NotNull(message = "Must not be null")
val isPublished: Boolean? = null
Link copied to clipboard
@URL(message = "Must be a valid URL")
val publicImage: String? = 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")
@Size(max = 255, message = "Must be less than or equal to 255")
val url: String? = null
Link copied to clipboard
@URL(message = "Must be a valid URL")
@Size(max = 255, message = "Must be less than or equal to 255")
val urlDownload: String? = null
Link copied to clipboard
@URL(message = "Must be a valid URL")
@Size(max = 255, message = "Must be less than or equal to 255")
val urlGitHub: String? = null
Link copied to clipboard
@URL(message = "Must be a valid URL")
@Size(max = 255, message = "Must be less than or equal to 255")
val urlSnapcraft: String? = null
Link copied to clipboard
@URL(message = "Must be a valid URL")
@Size(max = 255, message = "Must be less than or equal to 255")
val urlYouTube: String? = null