2024-01-27 19:05:24 +00:00
|
|
|
using Newtonsoft.Json;
|
2024-01-27 09:19:32 +00:00
|
|
|
using System;
|
2024-01-27 21:55:04 +00:00
|
|
|
using System.Collections.Generic;
|
2024-01-27 09:19:32 +00:00
|
|
|
|
2024-01-27 18:58:02 +00:00
|
|
|
[Serializable]
|
2024-01-27 19:05:24 +00:00
|
|
|
[JsonObject]
|
2024-01-27 09:19:32 +00:00
|
|
|
public class Question
|
|
|
|
{
|
2024-01-28 10:46:24 +00:00
|
|
|
public string id;
|
2024-01-27 09:19:32 +00:00
|
|
|
public string promptId;
|
2024-01-28 14:42:32 +00:00
|
|
|
public Dictionary<int, Proposition> propositions;
|
2024-01-27 21:55:04 +00:00
|
|
|
public double creationDate;
|
2024-01-28 10:56:16 +00:00
|
|
|
|
|
|
|
public Proposition GetFirstProposition()
|
|
|
|
{
|
2024-01-28 14:42:32 +00:00
|
|
|
return propositions[0];
|
2024-01-28 10:56:16 +00:00
|
|
|
}
|
|
|
|
public Proposition GetSecondProposition()
|
|
|
|
{
|
2024-01-28 14:42:32 +00:00
|
|
|
return propositions[1];
|
2024-01-28 10:56:16 +00:00
|
|
|
}
|
2024-01-27 09:19:32 +00:00
|
|
|
}
|