-
Notifications
You must be signed in to change notification settings - Fork 22
/
UpdateRegistrationSchema.cs
88 lines (64 loc) · 2.43 KB
/
UpdateRegistrationSchema.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace RusticiSoftware.HostedEngine.Client
{
[XmlRoot(ElementName = "registrationreport")]
public class UpdateRegistrationSchema
{
[XmlAttribute(AttributeName = "regid")]
public String RegId { get; set; }
[XmlAttribute(AttributeName = "instanceid")]
public Int16 InstanceId { get; set; }
[XmlElement(ElementName = "complete")]
public String Complete { get; set; }
[XmlElement(ElementName = "success")]
public String Success { get; set; }
[XmlElement(ElementName = "totaltime")]
public Int16 TotalTime { get; set; }
[XmlElement(ElementName = "score")]
public Double Score { get; set; }
[XmlElement(ElementName = "firstLaunchDate")]
public String FirstLaunchDate { get; set; }
[XmlElement(ElementName = "completedDate")]
public String CompletedDate { get; set; }
[XmlArray(ElementName = "interactions")]
public List<Interaction> Interactions { get; set; }
}
[XmlType(TypeName = "interaction")]
public class Interaction
{
[XmlAttribute(AttributeName = "id")]
public String Id { get; set; }
[XmlElement(ElementName = "type")]
public String Type { get; set; }
[XmlArray(ElementName = "objectives")]
public List<Objective> Objectives { get; set; }
[XmlElement(ElementName = "timestamp")]
public String Timestamp { get; set; }
[XmlArray(ElementName = "correct_responses")]
public List<Response> CorrectResponses { get; set; }
[XmlElement(ElementName = "weighting")]
public String Weighting { get; set; }
[XmlElement(ElementName = "learner_response")]
public String LearnerResponse { get; set; }
[XmlElement(ElementName = "result")]
public String Result { get; set; }
[XmlElement(ElementName = "latency")]
public String Latency { get; set; }
[XmlElement(ElementName = "description")]
public String Description { get; set; }
}
[XmlType(TypeName = "objective")]
public class Objective
{
[XmlAttribute(AttributeName = "id")]
public String Id { get; set; }
}
[XmlType(TypeName = "response")]
public class Response
{
[XmlAttribute(AttributeName = "id")]
public String Id { get; set; }
}
}