HmsPollQuestionCreation

data class HmsPollQuestionCreation(val questionID: Int, val type: HMSPollQuestionType, val text: String, val canSkip: Boolean = false, val canChangeResponse: Boolean = true, val duration: Long = 0, val weight: Int = 1, val answerShortMinLength: Long? = 1, val answerLongMinLength: Long? = 1, val negative: Boolean = false)

Constructors

Link copied to clipboard
fun HmsPollQuestionCreation(questionID: Int, type: HMSPollQuestionType, text: String, canSkip: Boolean = false, canChangeResponse: Boolean = true, duration: Long = 0, weight: Int = 1, answerShortMinLength: Long? = 1, answerLongMinLength: Long? = 1, negative: Boolean = false)

Properties

Link copied to clipboard
@SerializedName(value = "answer_max_len")
val answerLongMinLength: Long? = 1
Link copied to clipboard
@SerializedName(value = "answer_min_len")
val answerShortMinLength: Long? = 1
Link copied to clipboard
@SerializedName(value = "once")
val canChangeResponse: Boolean = true
Link copied to clipboard
@SerializedName(value = "skippable")
val canSkip: Boolean = false
Link copied to clipboard
@SerializedName(value = "duration")
val duration: Long = 0
Link copied to clipboard
@SerializedName(value = "negative")
val negative: Boolean = false
Link copied to clipboard
@SerializedName(value = "index")
val questionID: Int
Link copied to clipboard
@SerializedName(value = "text")
val text: String
Link copied to clipboard
@SerializedName(value = "type")
val type: HMSPollQuestionType
Link copied to clipboard
@SerializedName(value = "weight")
val weight: Int = 1