No Description

AnsweredAssessmentModel.java 571B

12345678910111213141516
  1. package uprrp.tania.models;
  2. import java.util.ArrayList;
  3. public class AnsweredAssessmentModel {
  4. // NOTE these attribute must have the same names as the JSON fields we'll be sending to the server
  5. private final String id_subquestionnair;
  6. private final String token;
  7. private final ArrayList<AnsweredQuestionModel> preguntas;
  8. public AnsweredAssessmentModel(String id, String token, ArrayList<AnsweredQuestionModel> answeredQuestions) {
  9. this.id_subquestionnair = id;
  10. this.token = token;
  11. this.preguntas = answeredQuestions;
  12. }
  13. }