Builder

open class Builder

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@NonNull
open fun answers(@Nullable answers: List<SurveyAnswer>): SurveyQuestion.Builder
Link copied to clipboard
@NonNull
open fun build(): SurveyQuestion
Link copied to clipboard
@NonNull
open fun lastQuestion(lastQuestion: Boolean): SurveyQuestion.Builder
Link copied to clipboard
@NonNull
open fun multipleAnswers(multipleAnswers: Boolean): SurveyQuestion.Builder
Link copied to clipboard
@NonNull
open fun myIndex(myIndex: Int): SurveyQuestion.Builder
Link copied to clipboard
@NonNull
open fun nextQuestionIndex(nextQuestionIndex: Int): SurveyQuestion.Builder
Link copied to clipboard
@NonNull
open fun serverId(serverId: Int): SurveyQuestion.Builder
Link copied to clipboard
@NonNull
open fun text(@Nullable text: String): SurveyQuestion.Builder
Link copied to clipboard
open fun totalNumberOfQuestions(totalNumberOfQuestions: Int): SurveyQuestion.Builder
Link copied to clipboard
@NonNull
open fun type(@NonNull type: SurveyQuestionType): SurveyQuestion.Builder