UVACanvasAccess
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
UVACanvasAccess.Structures.Quizzes.QuizQuestionBuilder Class Referenceabstract

Builder for quiz questions. More...

Inheritance diagram for UVACanvasAccess.Structures.Quizzes.QuizQuestionBuilder:
Inheritance graph
[legend]

Public Member Functions

QuizQuestionBuilder WithPointsPossible (decimal points)
 
QuizQuestionBuilder WithCorrectComments ([NotNull] string comments)
 
QuizQuestionBuilder WithIncorrectComments ([NotNull] string comments)
 
QuizQuestionBuilder WithNeutralComments ([NotNull] string comments)
 
QuizQuestionBuilder WithTextAfterAnswers ([NotNull] string text)
 
Task< QuizQuestionPost ()
 Performs the operation using the fields in this builder.
 

Protected Member Functions

 QuizQuestionBuilder (Api api, bool isEditing, ulong courseId, ulong quizId, ulong? questionId, QuizQuestionType questionType, [NotNull] string questionName, [NotNull] string questionText)
 
QuizQuestionBuilder AddAnswer ([NotNull] QuizQuestionAnswerInput answer)
 
QuizQuestionBuilder AddAnswers ([NotNull] IEnumerable< QuizQuestionAnswerInput > answerList)
 

Protected Attributes

readonly ulong CourseId
 
readonly ulong QuizId
 
readonly? ulong QuestionId
 
readonly QuizQuestionType QuestionType
 
readonly string QuestionName
 
readonly string QuestionText
 

Detailed Description

Builder for quiz questions.

Member Function Documentation

◆ Post()

Task< QuizQuestion > UVACanvasAccess.Structures.Quizzes.QuizQuestionBuilder.Post ( )
inline

Performs the operation using the fields in this builder.

Returns
The created or updated quiz question.

The documentation for this class was generated from the following file: