Commit d8b7b0e 1 parent 47f124b commit d8b7b0e Copy full SHA for d8b7b0e
File tree 1 file changed +4
-0
lines changed
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/models/hmpps
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,8 @@ class InductionScheduleDeserializer : JsonDeserializer<InductionSchedule>() {
136
136
val systemUpdatedAt = node[" updatedAt" ]?.asText()?.let { Instant .parse(it) }
137
137
val inductionPerformedBy = node[" inductionPerformedBy" ]?.takeUnless { it.isNull }?.asText()
138
138
val inductionPerformedAt = node[" inductionPerformedAt" ]?.takeUnless { it.isNull }?.asText()?.let { LocalDate .parse(it) }
139
+ val inductionPerformedByRole = node[" inductionPerformedByRole" ]?.takeUnless { it.isNull }?.asText()
140
+ val inductionPerformedAtPrison = node[" inductionPerformedAtPrison" ]?.takeUnless { it.isNull }?.asText()
139
141
val version = node[" version" ]?.asInt()
140
142
val exemptionReason = node[" exemptionReason" ]?.asText()
141
143
@@ -148,6 +150,8 @@ class InductionScheduleDeserializer : JsonDeserializer<InductionSchedule>() {
148
150
systemUpdatedAt = systemUpdatedAt,
149
151
inductionPerformedBy = inductionPerformedBy,
150
152
inductionPerformedAt = inductionPerformedAt,
153
+ inductionPerformedByRole = inductionPerformedByRole,
154
+ inductionPerformedAtPrison = inductionPerformedAtPrison,
151
155
exemptionReason = exemptionReason,
152
156
version = version,
153
157
)
You can’t perform that action at this time.
0 commit comments