@@ -17,6 +17,7 @@ class OrganisationCollection {
17
17
}
18
18
19
19
@Type(" organisations" )
20
+ @JsonIgnoreProperties(ignoreUnknown = true )
20
21
class Organisation {
21
22
@Id(StringIdHandler ::class )
22
23
lateinit var id: String
@@ -37,13 +38,15 @@ class Settings {
37
38
/* *
38
39
* Not to be confused with OrganisationResponseMeta
39
40
*/
41
+ @JsonIgnoreProperties(ignoreUnknown = true )
40
42
class OrganisationMeta {
41
43
@JsonProperty(" created_at" )
42
44
@JsonDeserialize(using = JacksonLocalDateTimeDeserializer ::class )
43
45
var createdAt: LocalDateTime ? = null
44
46
lateinit var status: String
45
47
}
46
48
49
+ @JsonIgnoreProperties(ignoreUnknown = true )
47
50
class OrganisationResponseMeta {
48
51
lateinit var counts: OrganisationResponseMetaCounts
49
52
@JsonProperty(" created_at" )
@@ -52,23 +55,29 @@ class OrganisationResponseMeta {
52
55
lateinit var status: String
53
56
}
54
57
58
+ @JsonIgnoreProperties(ignoreUnknown = true )
55
59
class OrganisationResponseMetaCounts {
56
60
var limit: Int = 0
57
61
}
58
62
63
+ @JsonIgnoreProperties(ignoreUnknown = true )
59
64
class OrganisationResponseMetaPage {
60
65
var limit: Int = 0
61
66
var offset: Int = 0
62
67
}
63
68
69
+ @JsonIgnoreProperties(ignoreUnknown = true )
64
70
class Nomenclature {
65
71
lateinit var governance: GovernanceNomenclature
66
72
}
67
73
74
+ @JsonIgnoreProperties(ignoreUnknown = true )
68
75
class SchemesNomenclature : AbstractNomenclatureEntry ()
76
+ @JsonIgnoreProperties(ignoreUnknown = true )
69
77
class WorkOrdersNomenclature : AbstractNomenclatureEntry ()
78
+ @JsonIgnoreProperties(ignoreUnknown = true )
70
79
class OperationsNomenclature : AbstractNomenclatureEntry ()
71
-
80
+ @JsonIgnoreProperties(ignoreUnknown = true )
72
81
class GovernanceNomenclature {
73
82
var schemes: List <SchemesNomenclature >? = null
74
83
@JsonProperty(" work_orders" ) var workOrders: List <WorkOrdersNomenclature >? = null
0 commit comments