Class TestAnswerDetailsPostModel
Test answer details POST
model.
Inherited Members
Namespace: EduCATS.Networking.Models.Testing
Assembly: EduCATS.dll
Syntax
public class TestAnswerDetailsPostModel
Constructors
TestAnswerDetailsPostModel(int, int)
Constructor with answer ID and correctness.
Declaration
public TestAnswerDetailsPostModel(int id, int isCorrect)
Parameters
Type | Name | Description |
---|---|---|
int | id | Answer ID. |
int | isCorrect | Is answer correct. |
TestAnswerDetailsPostModel(int, string)
Constructor with answer ID and content.
Declaration
public TestAnswerDetailsPostModel(int id, string content)
Parameters
Type | Name | Description |
---|---|---|
int | id | Answer ID. |
string | content | Answer content. |
Properties
Content
Answer content.
Declaration
[JsonProperty("Content")]
public string Content { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
Answer ID.
Declaration
[JsonProperty("Id")]
public int Id { get; set; }
Property Value
Type | Description |
---|---|
int |
IsCorrect
Is answer correct.
Declaration
[JsonProperty("IsCorrect")]
public int IsCorrect { get; set; }
Property Value
Type | Description |
---|---|
int |