PutQuestionDto

data class PutQuestionDto(id: Long, question: String?, answer: String?, categoryId: Int, order: Int?)

Functions

component1
Link copied to clipboard
operator fun component1(): Long
component2
Link copied to clipboard
operator fun component2(): String?
component3
Link copied to clipboard
operator fun component3(): String?
component4
Link copied to clipboard
operator fun component4(): Int
component5
Link copied to clipboard
operator fun component5(): Int?
copy
Link copied to clipboard
fun copy(id: Long, question: String? = null, answer: String? = null, categoryId: Int, order: Int? = null): PutQuestionDto
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String
updateCategoryNotOrder
Link copied to clipboard
fun updateCategoryNotOrder(selectedQuestion: GetQuestionDto): Boolean
updateNotCategoryNotOrder
Link copied to clipboard
fun updateNotCategoryNotOrder(selectedQuestion: GetQuestionDto): Boolean
updateOrderCategory
Link copied to clipboard
fun updateOrderCategory(selectedQuestion: GetQuestionDto): Boolean
updateOrderNotCategory
Link copied to clipboard
fun updateOrderNotCategory(selectedQuestion: GetQuestionDto): Boolean
validate
Link copied to clipboard
fun validate(categoryQuestionsCount: Int, oldCategoryId: Int)

Properties

answer
Link copied to clipboard
val answer: String? = null
categoryId
Link copied to clipboard
val categoryId: Int
id
Link copied to clipboard
val id: Long
isEditTextRequest
Link copied to clipboard
val isEditTextRequest: Boolean
order
Link copied to clipboard
var order: Int? = null
question
Link copied to clipboard
val question: String? = null