@solibo/solibo-sdk 1.43.1 → 1.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/companies.d.mts +1 -1
- package/client-core.mjs +29 -0
- package/core.d.mts +1 -1
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequence.mjs +2 -0
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +6 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerialFormat.mjs +10 -10
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +1 -4
- package/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +2 -2
- package/operations/companies.d.mts +1 -1
- package/package.json +1 -1
- package/solibo-cycles/kotlin-kotlin-stdlib-10.mjs +214 -200
- package/solibo-cycles/kotlin-kotlin-stdlib-12.mjs +3 -2
- package/solibo-cycles/kotlinx-coroutines-core-16.mjs +5 -5
- package/solibo-cycles/kotlinx-coroutines-core-17.mjs +1 -1
- package/solibo-cycles/solibo-sdk-sdk-core-52.mjs +20 -43
- package/solibo-sdk-sdk/no/solibo/oss/sdk/api/MockHomeApi.mjs +1 -1
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CreateBuilding.export.d.mts +3 -2
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CreateBuilding.mjs +283 -246
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CreateBuildingAlteration.export.d.mts +26 -0
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CreateBuildingAlteration.export.mjs +12 -0
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CreateBuildingAlteration.mjs +489 -0
- package/solibo-sdk-sdk-api-company.mjs +1 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/SdkJson.mjs +34 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/StreamingJsonConverter.mjs +138 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/StreamingJsonConverter.web.mjs +22 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/infrastructure/ApiClient.mjs +5 -12
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Building.export.d.mts +3 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Building.mjs +291 -254
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BuildingAlteration.export.d.mts +27 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BuildingAlteration.export.mjs +12 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BuildingAlteration.mjs +512 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/telemetry/SoliboOpenTelemetry.mjs +1 -1
- package/solibo-sdk-sdk-core.mjs +1 -0
- package/solibo-sdk-sdk.d.mts +76 -2
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +0 -43
|
@@ -1,19 +1,20 @@
|
|
|
1
|
+
import { $serializer_getInstance3lm0zem90tfji as $serializer_getInstance } from './BuildingAlteration.mjs';
|
|
2
|
+
import { ArrayListSerializer7k5wnrulb3y6 as ArrayListSerializer } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs';
|
|
1
3
|
import {
|
|
2
4
|
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance,
|
|
3
5
|
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance,
|
|
4
6
|
DoubleSerializer_getInstance1tuvibnyg07o1 as DoubleSerializer_getInstance,
|
|
5
7
|
BooleanSerializer_getInstance22aja3hu17sxf as BooleanSerializer_getInstance,
|
|
6
8
|
} from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs';
|
|
7
|
-
import {
|
|
8
|
-
import { $serializer_getInstance1i0dzglstbdbd as $serializer_getInstance } from './BuildingFloor.mjs';
|
|
9
|
+
import { $serializer_getInstance1i0dzglstbdbd as $serializer_getInstance_0 } from './BuildingFloor.mjs';
|
|
9
10
|
import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Lazy.mjs';
|
|
10
11
|
import { lazy1261dae0bgscp as lazy } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/kotlin.mjs';
|
|
11
12
|
import {
|
|
12
13
|
protoOf180f3jzyo7rfj as protoOf,
|
|
13
14
|
objectCreate1ve4bgxiu4x98 as objectCreate,
|
|
15
|
+
hashCodeq5arwsb9dgti as hashCode,
|
|
14
16
|
getStringHashCode26igk1bx568vk as getStringHashCode,
|
|
15
17
|
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode,
|
|
16
|
-
hashCodeq5arwsb9dgti as hashCode,
|
|
17
18
|
getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode,
|
|
18
19
|
equals2au1ep9vhcato as equals,
|
|
19
20
|
} from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
|
|
@@ -37,6 +38,7 @@ import { toString30pk9tzaqopn as toString } from '../../../../../../../../kotlin
|
|
|
37
38
|
import { getNumberHashCode2l4nbdcihl25f as getNumberHashCode } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/bitUtils.mjs';
|
|
38
39
|
import { SerializableWithd2dap36updxd as SerializableWith } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs';
|
|
39
40
|
import { __soliboBoundaryState, __soliboRegisterLookup, __soliboRegisterOwnFields, __soliboToJs, __soliboToKt, __soliboWrapAccessor, __soliboWrapFunction, __soliboWrapMethod } from '../../../../../../../../solibo-boundary.mjs';
|
|
41
|
+
import { BuildingAlteration1xv9k4h1p59kc as __soliboType_BuildingAlteration } from './BuildingAlteration.mjs';
|
|
40
42
|
import { BuildingFloor16obpr79daa7n as __soliboType_BuildingFloor } from './BuildingFloor.mjs';
|
|
41
43
|
//region block: imports
|
|
42
44
|
var imul = Math.imul;
|
|
@@ -44,20 +46,23 @@ var imul = Math.imul;
|
|
|
44
46
|
//region block: pre-declaration
|
|
45
47
|
//endregion
|
|
46
48
|
function Building$Companion$$childSerializers$_anonymous__ydv0y2() {
|
|
47
|
-
return new (ArrayListSerializer())(
|
|
49
|
+
return new (ArrayListSerializer())($serializer_getInstance());
|
|
48
50
|
}
|
|
49
51
|
function Building$Companion$$childSerializers$_anonymous__ydv0y2_0() {
|
|
50
52
|
return new (ArrayListSerializer())(StringSerializer_getInstance());
|
|
51
53
|
}
|
|
52
54
|
function Building$Companion$$childSerializers$_anonymous__ydv0y2_1() {
|
|
53
|
-
return new (ArrayListSerializer())(
|
|
55
|
+
return new (ArrayListSerializer())(StringSerializer_getInstance());
|
|
54
56
|
}
|
|
55
57
|
function Building$Companion$$childSerializers$_anonymous__ydv0y2_2() {
|
|
56
|
-
return new (ArrayListSerializer())(
|
|
58
|
+
return new (ArrayListSerializer())($serializer_getInstance_0());
|
|
57
59
|
}
|
|
58
60
|
function Building$Companion$$childSerializers$_anonymous__ydv0y2_3() {
|
|
59
61
|
return new (ArrayListSerializer())(StringSerializer_getInstance());
|
|
60
62
|
}
|
|
63
|
+
function Building$Companion$$childSerializers$_anonymous__ydv0y2_4() {
|
|
64
|
+
return new (ArrayListSerializer())(StringSerializer_getInstance());
|
|
65
|
+
}
|
|
61
66
|
var CompanionClass;
|
|
62
67
|
function Companion() {
|
|
63
68
|
if (CompanionClass === VOID) {
|
|
@@ -74,10 +79,12 @@ function Companion() {
|
|
|
74
79
|
var tmp_6 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
75
80
|
var tmp_7 = lazy(tmp_6, Building$Companion$$childSerializers$_anonymous__ydv0y2_2);
|
|
76
81
|
var tmp_8 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
82
|
+
var tmp_9 = lazy(tmp_8, Building$Companion$$childSerializers$_anonymous__ydv0y2_3);
|
|
83
|
+
var tmp_10 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
77
84
|
// Inline function 'kotlin.arrayOf' call
|
|
78
85
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
79
86
|
// Inline function 'kotlin.js.asDynamic' call
|
|
80
|
-
tmp.$childSerializers_1 = [
|
|
87
|
+
tmp.$childSerializers_1 = [tmp_1, null, null, null, null, null, null, null, null, null, null, null, null, tmp_3, tmp_5, tmp_7, null, null, null, null, tmp_9, lazy(tmp_10, Building$Companion$$childSerializers$_anonymous__ydv0y2_4), null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null];
|
|
81
88
|
}
|
|
82
89
|
CompanionClass = $;
|
|
83
90
|
}
|
|
@@ -95,7 +102,8 @@ function $serializer() {
|
|
|
95
102
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
96
103
|
function $() {
|
|
97
104
|
$serializer_instance = this;
|
|
98
|
-
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.Building', this,
|
|
105
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.Building', this, 38);
|
|
106
|
+
tmp0_serialDesc.addElement_5pzumi_k$('alterations', true);
|
|
99
107
|
tmp0_serialDesc.addElement_5pzumi_k$('buildingChange', true);
|
|
100
108
|
tmp0_serialDesc.addElement_5pzumi_k$('buildingChangeCode', true);
|
|
101
109
|
tmp0_serialDesc.addElement_5pzumi_k$('buildingChangeCount', true);
|
|
@@ -139,114 +147,117 @@ function $serializer() {
|
|
|
139
147
|
var tmp0_desc = this.descriptor_1;
|
|
140
148
|
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
141
149
|
var tmp2_cached = Companion_getInstance().$childSerializers_1;
|
|
142
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.
|
|
143
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0,
|
|
150
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.alterations == null)) {
|
|
151
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.alterations);
|
|
152
|
+
}
|
|
153
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.buildingChange == null)) {
|
|
154
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, StringSerializer_getInstance(), value.buildingChange);
|
|
144
155
|
}
|
|
145
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
146
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
156
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.buildingChangeCode == null)) {
|
|
157
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, StringSerializer_getInstance(), value.buildingChangeCode);
|
|
147
158
|
}
|
|
148
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
149
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
159
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.buildingChangeCount == null)) {
|
|
160
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, LongSerializer_getInstance(), value.buildingChangeCount);
|
|
150
161
|
}
|
|
151
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
152
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
162
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.buildingStatus == null)) {
|
|
163
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, StringSerializer_getInstance(), value.buildingStatus);
|
|
153
164
|
}
|
|
154
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
155
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
165
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.buildingStatusCode == null)) {
|
|
166
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, StringSerializer_getInstance(), value.buildingStatusCode);
|
|
156
167
|
}
|
|
157
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
158
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
168
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.buildingType == null)) {
|
|
169
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, StringSerializer_getInstance(), value.buildingType);
|
|
159
170
|
}
|
|
160
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
161
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
171
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.buildingTypeCode == null)) {
|
|
172
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, StringSerializer_getInstance(), value.buildingTypeCode);
|
|
162
173
|
}
|
|
163
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
164
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
174
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.builtUpAreaSqm == null)) {
|
|
175
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, DoubleSerializer_getInstance(), value.builtUpAreaSqm);
|
|
165
176
|
}
|
|
166
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
167
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
177
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.businessGroup == null)) {
|
|
178
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, StringSerializer_getInstance(), value.businessGroup);
|
|
168
179
|
}
|
|
169
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
170
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
180
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.businessGroupCode == null)) {
|
|
181
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, StringSerializer_getInstance(), value.businessGroupCode);
|
|
171
182
|
}
|
|
172
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
173
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
183
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.bygningsNr == null)) {
|
|
184
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11, LongSerializer_getInstance(), value.bygningsNr);
|
|
174
185
|
}
|
|
175
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
176
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
186
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 12) ? true : !(value.constructionYear == null)) {
|
|
187
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 12, LongSerializer_getInstance(), value.constructionYear);
|
|
177
188
|
}
|
|
178
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
179
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
189
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 13) ? true : !(value.energySourceCodes == null)) {
|
|
190
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 13, tmp2_cached[13].get_value_j01efc_k$(), value.energySourceCodes);
|
|
180
191
|
}
|
|
181
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
182
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
192
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 14) ? true : !(value.energySources == null)) {
|
|
193
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 14, tmp2_cached[14].get_value_j01efc_k$(), value.energySources);
|
|
183
194
|
}
|
|
184
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
185
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
195
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 15) ? true : !(value.floors == null)) {
|
|
196
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 15, tmp2_cached[15].get_value_j01efc_k$(), value.floors);
|
|
186
197
|
}
|
|
187
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
188
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
198
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 16) ? true : !(value.hasCulturalMemory == null)) {
|
|
199
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 16, BooleanSerializer_getInstance(), value.hasCulturalMemory);
|
|
189
200
|
}
|
|
190
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
191
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
201
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 17) ? true : !(value.hasElevator == null)) {
|
|
202
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 17, BooleanSerializer_getInstance(), value.hasElevator);
|
|
192
203
|
}
|
|
193
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
194
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
204
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 18) ? true : !(value.hasIncompleteArea == null)) {
|
|
205
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 18, BooleanSerializer_getInstance(), value.hasIncompleteArea);
|
|
195
206
|
}
|
|
196
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
197
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
207
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 19) ? true : !(value.hasSEFRAK == null)) {
|
|
208
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 19, BooleanSerializer_getInstance(), value.hasSEFRAK);
|
|
198
209
|
}
|
|
199
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
200
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
210
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 20) ? true : !(value.heatingSourceCodes == null)) {
|
|
211
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 20, tmp2_cached[20].get_value_j01efc_k$(), value.heatingSourceCodes);
|
|
201
212
|
}
|
|
202
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
203
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
213
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 21) ? true : !(value.heatingSources == null)) {
|
|
214
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 21, tmp2_cached[21].get_value_j01efc_k$(), value.heatingSources);
|
|
204
215
|
}
|
|
205
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
206
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
216
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 22) ? true : !(value.historicId == null)) {
|
|
217
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 22, LongSerializer_getInstance(), value.historicId);
|
|
207
218
|
}
|
|
208
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
209
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
219
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 23) ? true : !(value.housingUnitCount == null)) {
|
|
220
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 23, LongSerializer_getInstance(), value.housingUnitCount);
|
|
210
221
|
}
|
|
211
|
-
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc,
|
|
212
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
213
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
222
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 24, value.id);
|
|
223
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 25) ? true : !(value.isProtected == null)) {
|
|
224
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 25, BooleanSerializer_getInstance(), value.isProtected);
|
|
214
225
|
}
|
|
215
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
216
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
226
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 26) ? true : !(value.kartverketId == null)) {
|
|
227
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 26, StringSerializer_getInstance(), value.kartverketId);
|
|
217
228
|
}
|
|
218
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
219
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
229
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 27) ? true : !(value.municipalityName == null)) {
|
|
230
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 27, StringSerializer_getInstance(), value.municipalityName);
|
|
220
231
|
}
|
|
221
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
222
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
232
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 28) ? true : !(value.municipalityNumber == null)) {
|
|
233
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 28, StringSerializer_getInstance(), value.municipalityNumber);
|
|
223
234
|
}
|
|
224
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
225
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
235
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 29) ? true : !(value.name == null)) {
|
|
236
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 29, StringSerializer_getInstance(), value.name);
|
|
226
237
|
}
|
|
227
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
228
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
238
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 30) ? true : !(value.nonResidentialSqm == null)) {
|
|
239
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 30, DoubleSerializer_getInstance(), value.nonResidentialSqm);
|
|
229
240
|
}
|
|
230
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
231
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
241
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 31) ? true : !(value.origin == null)) {
|
|
242
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 31, StringSerializer_getInstance(), value.origin);
|
|
232
243
|
}
|
|
233
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
234
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
244
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 32) ? true : !(value.originCode == null)) {
|
|
245
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 32, StringSerializer_getInstance(), value.originCode);
|
|
235
246
|
}
|
|
236
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
237
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
247
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 33) ? true : !(value.residentialSqm == null)) {
|
|
248
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 33, DoubleSerializer_getInstance(), value.residentialSqm);
|
|
238
249
|
}
|
|
239
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
240
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
250
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 34) ? true : !(value.sewer == null)) {
|
|
251
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 34, StringSerializer_getInstance(), value.sewer);
|
|
241
252
|
}
|
|
242
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
243
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
253
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 35) ? true : !(value.sewerCode == null)) {
|
|
254
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 35, StringSerializer_getInstance(), value.sewerCode);
|
|
244
255
|
}
|
|
245
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
246
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
256
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 36) ? true : !(value.waterSupply == null)) {
|
|
257
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 36, StringSerializer_getInstance(), value.waterSupply);
|
|
247
258
|
}
|
|
248
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
249
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
259
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 37) ? true : !(value.waterSupplyCode == null)) {
|
|
260
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 37, StringSerializer_getInstance(), value.waterSupplyCode);
|
|
250
261
|
}
|
|
251
262
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
252
263
|
};
|
|
@@ -282,8 +293,8 @@ function $serializer() {
|
|
|
282
293
|
var tmp25_local20 = null;
|
|
283
294
|
var tmp26_local21 = null;
|
|
284
295
|
var tmp27_local22 = null;
|
|
285
|
-
var tmp28_local23 =
|
|
286
|
-
var tmp29_local24 =
|
|
296
|
+
var tmp28_local23 = null;
|
|
297
|
+
var tmp29_local24 = 0n;
|
|
287
298
|
var tmp30_local25 = null;
|
|
288
299
|
var tmp31_local26 = null;
|
|
289
300
|
var tmp32_local27 = null;
|
|
@@ -296,244 +307,251 @@ function $serializer() {
|
|
|
296
307
|
var tmp39_local34 = null;
|
|
297
308
|
var tmp40_local35 = null;
|
|
298
309
|
var tmp41_local36 = null;
|
|
299
|
-
var
|
|
300
|
-
var
|
|
301
|
-
|
|
302
|
-
|
|
310
|
+
var tmp42_local37 = null;
|
|
311
|
+
var tmp43_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
312
|
+
var tmp44_cached = Companion_getInstance().$childSerializers_1;
|
|
313
|
+
if (tmp43_input.decodeSequentially_xlblqy_k$()) {
|
|
314
|
+
tmp5_local0 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp44_cached[0].get_value_j01efc_k$(), tmp5_local0);
|
|
303
315
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
304
|
-
tmp6_local1 =
|
|
316
|
+
tmp6_local1 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp6_local1);
|
|
305
317
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
306
|
-
tmp7_local2 =
|
|
318
|
+
tmp7_local2 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, StringSerializer_getInstance(), tmp7_local2);
|
|
307
319
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
308
|
-
tmp8_local3 =
|
|
320
|
+
tmp8_local3 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance(), tmp8_local3);
|
|
309
321
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
310
|
-
tmp9_local4 =
|
|
322
|
+
tmp9_local4 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance(), tmp9_local4);
|
|
311
323
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
312
|
-
tmp10_local5 =
|
|
324
|
+
tmp10_local5 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance(), tmp10_local5);
|
|
313
325
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
314
|
-
tmp11_local6 =
|
|
326
|
+
tmp11_local6 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, StringSerializer_getInstance(), tmp11_local6);
|
|
315
327
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
316
|
-
tmp12_local7 =
|
|
328
|
+
tmp12_local7 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, StringSerializer_getInstance(), tmp12_local7);
|
|
317
329
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
318
|
-
tmp13_local8 =
|
|
330
|
+
tmp13_local8 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, DoubleSerializer_getInstance(), tmp13_local8);
|
|
319
331
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
320
|
-
tmp14_local9 =
|
|
332
|
+
tmp14_local9 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, StringSerializer_getInstance(), tmp14_local9);
|
|
321
333
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
322
|
-
tmp15_local10 =
|
|
334
|
+
tmp15_local10 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, StringSerializer_getInstance(), tmp15_local10);
|
|
323
335
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
324
|
-
tmp16_local11 =
|
|
336
|
+
tmp16_local11 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, LongSerializer_getInstance(), tmp16_local11);
|
|
325
337
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
326
|
-
tmp17_local12 =
|
|
338
|
+
tmp17_local12 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, LongSerializer_getInstance(), tmp17_local12);
|
|
327
339
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
328
|
-
tmp18_local13 =
|
|
340
|
+
tmp18_local13 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, tmp44_cached[13].get_value_j01efc_k$(), tmp18_local13);
|
|
329
341
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
330
|
-
tmp19_local14 =
|
|
342
|
+
tmp19_local14 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 14, tmp44_cached[14].get_value_j01efc_k$(), tmp19_local14);
|
|
331
343
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
332
|
-
tmp20_local15 =
|
|
344
|
+
tmp20_local15 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 15, tmp44_cached[15].get_value_j01efc_k$(), tmp20_local15);
|
|
333
345
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
334
|
-
tmp21_local16 =
|
|
346
|
+
tmp21_local16 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 16, BooleanSerializer_getInstance(), tmp21_local16);
|
|
335
347
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
336
|
-
tmp22_local17 =
|
|
348
|
+
tmp22_local17 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp22_local17);
|
|
337
349
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
338
|
-
tmp23_local18 =
|
|
350
|
+
tmp23_local18 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp23_local18);
|
|
339
351
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
340
|
-
tmp24_local19 =
|
|
352
|
+
tmp24_local19 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 19, BooleanSerializer_getInstance(), tmp24_local19);
|
|
341
353
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
342
|
-
tmp25_local20 =
|
|
354
|
+
tmp25_local20 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 20, tmp44_cached[20].get_value_j01efc_k$(), tmp25_local20);
|
|
343
355
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
344
|
-
tmp26_local21 =
|
|
356
|
+
tmp26_local21 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 21, tmp44_cached[21].get_value_j01efc_k$(), tmp26_local21);
|
|
345
357
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
346
|
-
tmp27_local22 =
|
|
358
|
+
tmp27_local22 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 22, LongSerializer_getInstance(), tmp27_local22);
|
|
347
359
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
348
|
-
tmp28_local23 =
|
|
360
|
+
tmp28_local23 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 23, LongSerializer_getInstance(), tmp28_local23);
|
|
349
361
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
350
|
-
tmp29_local24 =
|
|
362
|
+
tmp29_local24 = tmp43_input.decodeLongElement_994anb_k$(tmp0_desc, 24);
|
|
351
363
|
tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
|
|
352
|
-
tmp30_local25 =
|
|
364
|
+
tmp30_local25 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 25, BooleanSerializer_getInstance(), tmp30_local25);
|
|
353
365
|
tmp3_bitMask0 = tmp3_bitMask0 | 33554432;
|
|
354
|
-
tmp31_local26 =
|
|
366
|
+
tmp31_local26 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 26, StringSerializer_getInstance(), tmp31_local26);
|
|
355
367
|
tmp3_bitMask0 = tmp3_bitMask0 | 67108864;
|
|
356
|
-
tmp32_local27 =
|
|
368
|
+
tmp32_local27 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 27, StringSerializer_getInstance(), tmp32_local27);
|
|
357
369
|
tmp3_bitMask0 = tmp3_bitMask0 | 134217728;
|
|
358
|
-
tmp33_local28 =
|
|
370
|
+
tmp33_local28 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 28, StringSerializer_getInstance(), tmp33_local28);
|
|
359
371
|
tmp3_bitMask0 = tmp3_bitMask0 | 268435456;
|
|
360
|
-
tmp34_local29 =
|
|
372
|
+
tmp34_local29 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 29, StringSerializer_getInstance(), tmp34_local29);
|
|
361
373
|
tmp3_bitMask0 = tmp3_bitMask0 | 536870912;
|
|
362
|
-
tmp35_local30 =
|
|
374
|
+
tmp35_local30 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 30, DoubleSerializer_getInstance(), tmp35_local30);
|
|
363
375
|
tmp3_bitMask0 = tmp3_bitMask0 | 1073741824;
|
|
364
|
-
tmp36_local31 =
|
|
376
|
+
tmp36_local31 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 31, StringSerializer_getInstance(), tmp36_local31);
|
|
365
377
|
tmp3_bitMask0 = tmp3_bitMask0 | -2147483648;
|
|
366
|
-
tmp37_local32 =
|
|
378
|
+
tmp37_local32 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 32, StringSerializer_getInstance(), tmp37_local32);
|
|
367
379
|
tmp4_bitMask1 = tmp4_bitMask1 | 1;
|
|
368
|
-
tmp38_local33 =
|
|
380
|
+
tmp38_local33 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 33, DoubleSerializer_getInstance(), tmp38_local33);
|
|
369
381
|
tmp4_bitMask1 = tmp4_bitMask1 | 2;
|
|
370
|
-
tmp39_local34 =
|
|
382
|
+
tmp39_local34 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 34, StringSerializer_getInstance(), tmp39_local34);
|
|
371
383
|
tmp4_bitMask1 = tmp4_bitMask1 | 4;
|
|
372
|
-
tmp40_local35 =
|
|
384
|
+
tmp40_local35 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 35, StringSerializer_getInstance(), tmp40_local35);
|
|
373
385
|
tmp4_bitMask1 = tmp4_bitMask1 | 8;
|
|
374
|
-
tmp41_local36 =
|
|
386
|
+
tmp41_local36 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 36, StringSerializer_getInstance(), tmp41_local36);
|
|
375
387
|
tmp4_bitMask1 = tmp4_bitMask1 | 16;
|
|
388
|
+
tmp42_local37 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 37, StringSerializer_getInstance(), tmp42_local37);
|
|
389
|
+
tmp4_bitMask1 = tmp4_bitMask1 | 32;
|
|
376
390
|
} else
|
|
377
391
|
while (tmp1_flag) {
|
|
378
|
-
tmp2_index =
|
|
392
|
+
tmp2_index = tmp43_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
379
393
|
switch (tmp2_index) {
|
|
380
394
|
case -1:
|
|
381
395
|
tmp1_flag = false;
|
|
382
396
|
break;
|
|
383
397
|
case 0:
|
|
384
|
-
tmp5_local0 =
|
|
398
|
+
tmp5_local0 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp44_cached[0].get_value_j01efc_k$(), tmp5_local0);
|
|
385
399
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
386
400
|
break;
|
|
387
401
|
case 1:
|
|
388
|
-
tmp6_local1 =
|
|
402
|
+
tmp6_local1 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp6_local1);
|
|
389
403
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
390
404
|
break;
|
|
391
405
|
case 2:
|
|
392
|
-
tmp7_local2 =
|
|
406
|
+
tmp7_local2 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, StringSerializer_getInstance(), tmp7_local2);
|
|
393
407
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
394
408
|
break;
|
|
395
409
|
case 3:
|
|
396
|
-
tmp8_local3 =
|
|
410
|
+
tmp8_local3 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance(), tmp8_local3);
|
|
397
411
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
398
412
|
break;
|
|
399
413
|
case 4:
|
|
400
|
-
tmp9_local4 =
|
|
414
|
+
tmp9_local4 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance(), tmp9_local4);
|
|
401
415
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
402
416
|
break;
|
|
403
417
|
case 5:
|
|
404
|
-
tmp10_local5 =
|
|
418
|
+
tmp10_local5 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance(), tmp10_local5);
|
|
405
419
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
406
420
|
break;
|
|
407
421
|
case 6:
|
|
408
|
-
tmp11_local6 =
|
|
422
|
+
tmp11_local6 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, StringSerializer_getInstance(), tmp11_local6);
|
|
409
423
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
410
424
|
break;
|
|
411
425
|
case 7:
|
|
412
|
-
tmp12_local7 =
|
|
426
|
+
tmp12_local7 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, StringSerializer_getInstance(), tmp12_local7);
|
|
413
427
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
414
428
|
break;
|
|
415
429
|
case 8:
|
|
416
|
-
tmp13_local8 =
|
|
430
|
+
tmp13_local8 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, DoubleSerializer_getInstance(), tmp13_local8);
|
|
417
431
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
418
432
|
break;
|
|
419
433
|
case 9:
|
|
420
|
-
tmp14_local9 =
|
|
434
|
+
tmp14_local9 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, StringSerializer_getInstance(), tmp14_local9);
|
|
421
435
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
422
436
|
break;
|
|
423
437
|
case 10:
|
|
424
|
-
tmp15_local10 =
|
|
438
|
+
tmp15_local10 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, StringSerializer_getInstance(), tmp15_local10);
|
|
425
439
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
426
440
|
break;
|
|
427
441
|
case 11:
|
|
428
|
-
tmp16_local11 =
|
|
442
|
+
tmp16_local11 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, LongSerializer_getInstance(), tmp16_local11);
|
|
429
443
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
430
444
|
break;
|
|
431
445
|
case 12:
|
|
432
|
-
tmp17_local12 =
|
|
446
|
+
tmp17_local12 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, LongSerializer_getInstance(), tmp17_local12);
|
|
433
447
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
434
448
|
break;
|
|
435
449
|
case 13:
|
|
436
|
-
tmp18_local13 =
|
|
450
|
+
tmp18_local13 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, tmp44_cached[13].get_value_j01efc_k$(), tmp18_local13);
|
|
437
451
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
438
452
|
break;
|
|
439
453
|
case 14:
|
|
440
|
-
tmp19_local14 =
|
|
454
|
+
tmp19_local14 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 14, tmp44_cached[14].get_value_j01efc_k$(), tmp19_local14);
|
|
441
455
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
442
456
|
break;
|
|
443
457
|
case 15:
|
|
444
|
-
tmp20_local15 =
|
|
458
|
+
tmp20_local15 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 15, tmp44_cached[15].get_value_j01efc_k$(), tmp20_local15);
|
|
445
459
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
446
460
|
break;
|
|
447
461
|
case 16:
|
|
448
|
-
tmp21_local16 =
|
|
462
|
+
tmp21_local16 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 16, BooleanSerializer_getInstance(), tmp21_local16);
|
|
449
463
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
450
464
|
break;
|
|
451
465
|
case 17:
|
|
452
|
-
tmp22_local17 =
|
|
466
|
+
tmp22_local17 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp22_local17);
|
|
453
467
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
454
468
|
break;
|
|
455
469
|
case 18:
|
|
456
|
-
tmp23_local18 =
|
|
470
|
+
tmp23_local18 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp23_local18);
|
|
457
471
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
458
472
|
break;
|
|
459
473
|
case 19:
|
|
460
|
-
tmp24_local19 =
|
|
474
|
+
tmp24_local19 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 19, BooleanSerializer_getInstance(), tmp24_local19);
|
|
461
475
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
462
476
|
break;
|
|
463
477
|
case 20:
|
|
464
|
-
tmp25_local20 =
|
|
478
|
+
tmp25_local20 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 20, tmp44_cached[20].get_value_j01efc_k$(), tmp25_local20);
|
|
465
479
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
466
480
|
break;
|
|
467
481
|
case 21:
|
|
468
|
-
tmp26_local21 =
|
|
482
|
+
tmp26_local21 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 21, tmp44_cached[21].get_value_j01efc_k$(), tmp26_local21);
|
|
469
483
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
470
484
|
break;
|
|
471
485
|
case 22:
|
|
472
|
-
tmp27_local22 =
|
|
486
|
+
tmp27_local22 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 22, LongSerializer_getInstance(), tmp27_local22);
|
|
473
487
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
474
488
|
break;
|
|
475
489
|
case 23:
|
|
476
|
-
tmp28_local23 =
|
|
490
|
+
tmp28_local23 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 23, LongSerializer_getInstance(), tmp28_local23);
|
|
477
491
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
478
492
|
break;
|
|
479
493
|
case 24:
|
|
480
|
-
tmp29_local24 =
|
|
494
|
+
tmp29_local24 = tmp43_input.decodeLongElement_994anb_k$(tmp0_desc, 24);
|
|
481
495
|
tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
|
|
482
496
|
break;
|
|
483
497
|
case 25:
|
|
484
|
-
tmp30_local25 =
|
|
498
|
+
tmp30_local25 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 25, BooleanSerializer_getInstance(), tmp30_local25);
|
|
485
499
|
tmp3_bitMask0 = tmp3_bitMask0 | 33554432;
|
|
486
500
|
break;
|
|
487
501
|
case 26:
|
|
488
|
-
tmp31_local26 =
|
|
502
|
+
tmp31_local26 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 26, StringSerializer_getInstance(), tmp31_local26);
|
|
489
503
|
tmp3_bitMask0 = tmp3_bitMask0 | 67108864;
|
|
490
504
|
break;
|
|
491
505
|
case 27:
|
|
492
|
-
tmp32_local27 =
|
|
506
|
+
tmp32_local27 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 27, StringSerializer_getInstance(), tmp32_local27);
|
|
493
507
|
tmp3_bitMask0 = tmp3_bitMask0 | 134217728;
|
|
494
508
|
break;
|
|
495
509
|
case 28:
|
|
496
|
-
tmp33_local28 =
|
|
510
|
+
tmp33_local28 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 28, StringSerializer_getInstance(), tmp33_local28);
|
|
497
511
|
tmp3_bitMask0 = tmp3_bitMask0 | 268435456;
|
|
498
512
|
break;
|
|
499
513
|
case 29:
|
|
500
|
-
tmp34_local29 =
|
|
514
|
+
tmp34_local29 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 29, StringSerializer_getInstance(), tmp34_local29);
|
|
501
515
|
tmp3_bitMask0 = tmp3_bitMask0 | 536870912;
|
|
502
516
|
break;
|
|
503
517
|
case 30:
|
|
504
|
-
tmp35_local30 =
|
|
518
|
+
tmp35_local30 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 30, DoubleSerializer_getInstance(), tmp35_local30);
|
|
505
519
|
tmp3_bitMask0 = tmp3_bitMask0 | 1073741824;
|
|
506
520
|
break;
|
|
507
521
|
case 31:
|
|
508
|
-
tmp36_local31 =
|
|
522
|
+
tmp36_local31 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 31, StringSerializer_getInstance(), tmp36_local31);
|
|
509
523
|
tmp3_bitMask0 = tmp3_bitMask0 | -2147483648;
|
|
510
524
|
break;
|
|
511
525
|
case 32:
|
|
512
|
-
tmp37_local32 =
|
|
526
|
+
tmp37_local32 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 32, StringSerializer_getInstance(), tmp37_local32);
|
|
513
527
|
tmp4_bitMask1 = tmp4_bitMask1 | 1;
|
|
514
528
|
break;
|
|
515
529
|
case 33:
|
|
516
|
-
tmp38_local33 =
|
|
530
|
+
tmp38_local33 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 33, DoubleSerializer_getInstance(), tmp38_local33);
|
|
517
531
|
tmp4_bitMask1 = tmp4_bitMask1 | 2;
|
|
518
532
|
break;
|
|
519
533
|
case 34:
|
|
520
|
-
tmp39_local34 =
|
|
534
|
+
tmp39_local34 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 34, StringSerializer_getInstance(), tmp39_local34);
|
|
521
535
|
tmp4_bitMask1 = tmp4_bitMask1 | 4;
|
|
522
536
|
break;
|
|
523
537
|
case 35:
|
|
524
|
-
tmp40_local35 =
|
|
538
|
+
tmp40_local35 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 35, StringSerializer_getInstance(), tmp40_local35);
|
|
525
539
|
tmp4_bitMask1 = tmp4_bitMask1 | 8;
|
|
526
540
|
break;
|
|
527
541
|
case 36:
|
|
528
|
-
tmp41_local36 =
|
|
542
|
+
tmp41_local36 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 36, StringSerializer_getInstance(), tmp41_local36);
|
|
529
543
|
tmp4_bitMask1 = tmp4_bitMask1 | 16;
|
|
530
544
|
break;
|
|
545
|
+
case 37:
|
|
546
|
+
tmp42_local37 = tmp43_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 37, StringSerializer_getInstance(), tmp42_local37);
|
|
547
|
+
tmp4_bitMask1 = tmp4_bitMask1 | 32;
|
|
548
|
+
break;
|
|
531
549
|
default:
|
|
532
550
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
533
551
|
}
|
|
534
552
|
}
|
|
535
|
-
|
|
536
|
-
return Building_init_$Create$(tmp3_bitMask0, tmp4_bitMask1, tmp5_local0, tmp6_local1, tmp7_local2, tmp8_local3, tmp9_local4, tmp10_local5, tmp11_local6, tmp12_local7, tmp13_local8, tmp14_local9, tmp15_local10, tmp16_local11, tmp17_local12, tmp18_local13, tmp19_local14, tmp20_local15, tmp21_local16, tmp22_local17, tmp23_local18, tmp24_local19, tmp25_local20, tmp26_local21, tmp27_local22, tmp28_local23, tmp29_local24, tmp30_local25, tmp31_local26, tmp32_local27, tmp33_local28, tmp34_local29, tmp35_local30, tmp36_local31, tmp37_local32, tmp38_local33, tmp39_local34, tmp40_local35, tmp41_local36, null);
|
|
553
|
+
tmp43_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
554
|
+
return Building_init_$Create$(tmp3_bitMask0, tmp4_bitMask1, tmp5_local0, tmp6_local1, tmp7_local2, tmp8_local3, tmp9_local4, tmp10_local5, tmp11_local6, tmp12_local7, tmp13_local8, tmp14_local9, tmp15_local10, tmp16_local11, tmp17_local12, tmp18_local13, tmp19_local14, tmp20_local15, tmp21_local16, tmp22_local17, tmp23_local18, tmp24_local19, tmp25_local20, tmp26_local21, tmp27_local22, tmp28_local23, tmp29_local24, tmp30_local25, tmp31_local26, tmp32_local27, tmp33_local28, tmp34_local29, tmp35_local30, tmp36_local31, tmp37_local32, tmp38_local33, tmp39_local34, tmp40_local35, tmp41_local36, tmp42_local37, null);
|
|
537
555
|
};
|
|
538
556
|
protoOf($).get_descriptor_wjt6a0_k$ = function () {
|
|
539
557
|
return this.descriptor_1;
|
|
@@ -543,7 +561,7 @@ function $serializer() {
|
|
|
543
561
|
// Inline function 'kotlin.arrayOf' call
|
|
544
562
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
545
563
|
// Inline function 'kotlin.js.asDynamic' call
|
|
546
|
-
return [get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(DoubleSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(tmp0_cached[
|
|
564
|
+
return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(DoubleSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(tmp0_cached[13].get_value_j01efc_k$()), get_nullable(tmp0_cached[14].get_value_j01efc_k$()), get_nullable(tmp0_cached[15].get_value_j01efc_k$()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(tmp0_cached[20].get_value_j01efc_k$()), get_nullable(tmp0_cached[21].get_value_j01efc_k$()), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), LongSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(DoubleSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(DoubleSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
547
565
|
};
|
|
548
566
|
protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
|
|
549
567
|
$serializerClass = $;
|
|
@@ -551,178 +569,183 @@ function $serializer() {
|
|
|
551
569
|
return $serializerClass;
|
|
552
570
|
}
|
|
553
571
|
var $serializer_instance;
|
|
554
|
-
function $
|
|
572
|
+
function $serializer_getInstance_1() {
|
|
555
573
|
if ($serializer_instance == null)
|
|
556
574
|
new ($serializer())();
|
|
557
575
|
return $serializer_instance;
|
|
558
576
|
}
|
|
559
|
-
function Building_init_$Init$(seen0, seen1, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode, serializationConstructorMarker, $this) {
|
|
560
|
-
if (!!(!(
|
|
577
|
+
function Building_init_$Init$(seen0, seen1, alterations, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode, serializationConstructorMarker, $this) {
|
|
578
|
+
if (!!(!(16777216 === (16777216 & seen0)) | !(0 === (0 & seen1)))) {
|
|
561
579
|
// Inline function 'kotlin.intArrayOf' call
|
|
562
580
|
var tmp = new Int32Array([seen0, seen1]);
|
|
563
581
|
// Inline function 'kotlin.intArrayOf' call
|
|
564
|
-
var tmp$ret$1 = new Int32Array([
|
|
565
|
-
throwArrayMissingFieldException(tmp, tmp$ret$1, $
|
|
582
|
+
var tmp$ret$1 = new Int32Array([16777216, 0]);
|
|
583
|
+
throwArrayMissingFieldException(tmp, tmp$ret$1, $serializer_getInstance_1().descriptor_1);
|
|
566
584
|
}
|
|
567
585
|
if (0 === (seen0 & 1))
|
|
586
|
+
$this.alterations = null;
|
|
587
|
+
else
|
|
588
|
+
$this.alterations = alterations;
|
|
589
|
+
if (0 === (seen0 & 2))
|
|
568
590
|
$this.buildingChange = null;
|
|
569
591
|
else
|
|
570
592
|
$this.buildingChange = buildingChange;
|
|
571
|
-
if (0 === (seen0 &
|
|
593
|
+
if (0 === (seen0 & 4))
|
|
572
594
|
$this.buildingChangeCode = null;
|
|
573
595
|
else
|
|
574
596
|
$this.buildingChangeCode = buildingChangeCode;
|
|
575
|
-
if (0 === (seen0 &
|
|
597
|
+
if (0 === (seen0 & 8))
|
|
576
598
|
$this.buildingChangeCount = null;
|
|
577
599
|
else
|
|
578
600
|
$this.buildingChangeCount = buildingChangeCount;
|
|
579
|
-
if (0 === (seen0 &
|
|
601
|
+
if (0 === (seen0 & 16))
|
|
580
602
|
$this.buildingStatus = null;
|
|
581
603
|
else
|
|
582
604
|
$this.buildingStatus = buildingStatus;
|
|
583
|
-
if (0 === (seen0 &
|
|
605
|
+
if (0 === (seen0 & 32))
|
|
584
606
|
$this.buildingStatusCode = null;
|
|
585
607
|
else
|
|
586
608
|
$this.buildingStatusCode = buildingStatusCode;
|
|
587
|
-
if (0 === (seen0 &
|
|
609
|
+
if (0 === (seen0 & 64))
|
|
588
610
|
$this.buildingType = null;
|
|
589
611
|
else
|
|
590
612
|
$this.buildingType = buildingType;
|
|
591
|
-
if (0 === (seen0 &
|
|
613
|
+
if (0 === (seen0 & 128))
|
|
592
614
|
$this.buildingTypeCode = null;
|
|
593
615
|
else
|
|
594
616
|
$this.buildingTypeCode = buildingTypeCode;
|
|
595
|
-
if (0 === (seen0 &
|
|
617
|
+
if (0 === (seen0 & 256))
|
|
596
618
|
$this.builtUpAreaSqm = null;
|
|
597
619
|
else
|
|
598
620
|
$this.builtUpAreaSqm = builtUpAreaSqm;
|
|
599
|
-
if (0 === (seen0 &
|
|
621
|
+
if (0 === (seen0 & 512))
|
|
600
622
|
$this.businessGroup = null;
|
|
601
623
|
else
|
|
602
624
|
$this.businessGroup = businessGroup;
|
|
603
|
-
if (0 === (seen0 &
|
|
625
|
+
if (0 === (seen0 & 1024))
|
|
604
626
|
$this.businessGroupCode = null;
|
|
605
627
|
else
|
|
606
628
|
$this.businessGroupCode = businessGroupCode;
|
|
607
|
-
if (0 === (seen0 &
|
|
629
|
+
if (0 === (seen0 & 2048))
|
|
608
630
|
$this.bygningsNr = null;
|
|
609
631
|
else
|
|
610
632
|
$this.bygningsNr = bygningsNr;
|
|
611
|
-
if (0 === (seen0 &
|
|
633
|
+
if (0 === (seen0 & 4096))
|
|
612
634
|
$this.constructionYear = null;
|
|
613
635
|
else
|
|
614
636
|
$this.constructionYear = constructionYear;
|
|
615
|
-
if (0 === (seen0 &
|
|
637
|
+
if (0 === (seen0 & 8192))
|
|
616
638
|
$this.energySourceCodes = null;
|
|
617
639
|
else
|
|
618
640
|
$this.energySourceCodes = energySourceCodes;
|
|
619
|
-
if (0 === (seen0 &
|
|
641
|
+
if (0 === (seen0 & 16384))
|
|
620
642
|
$this.energySources = null;
|
|
621
643
|
else
|
|
622
644
|
$this.energySources = energySources;
|
|
623
|
-
if (0 === (seen0 &
|
|
645
|
+
if (0 === (seen0 & 32768))
|
|
624
646
|
$this.floors = null;
|
|
625
647
|
else
|
|
626
648
|
$this.floors = floors;
|
|
627
|
-
if (0 === (seen0 &
|
|
649
|
+
if (0 === (seen0 & 65536))
|
|
628
650
|
$this.hasCulturalMemory = null;
|
|
629
651
|
else
|
|
630
652
|
$this.hasCulturalMemory = hasCulturalMemory;
|
|
631
|
-
if (0 === (seen0 &
|
|
653
|
+
if (0 === (seen0 & 131072))
|
|
632
654
|
$this.hasElevator = null;
|
|
633
655
|
else
|
|
634
656
|
$this.hasElevator = hasElevator;
|
|
635
|
-
if (0 === (seen0 &
|
|
657
|
+
if (0 === (seen0 & 262144))
|
|
636
658
|
$this.hasIncompleteArea = null;
|
|
637
659
|
else
|
|
638
660
|
$this.hasIncompleteArea = hasIncompleteArea;
|
|
639
|
-
if (0 === (seen0 &
|
|
661
|
+
if (0 === (seen0 & 524288))
|
|
640
662
|
$this.hasSEFRAK = null;
|
|
641
663
|
else
|
|
642
664
|
$this.hasSEFRAK = hasSEFRAK;
|
|
643
|
-
if (0 === (seen0 &
|
|
665
|
+
if (0 === (seen0 & 1048576))
|
|
644
666
|
$this.heatingSourceCodes = null;
|
|
645
667
|
else
|
|
646
668
|
$this.heatingSourceCodes = heatingSourceCodes;
|
|
647
|
-
if (0 === (seen0 &
|
|
669
|
+
if (0 === (seen0 & 2097152))
|
|
648
670
|
$this.heatingSources = null;
|
|
649
671
|
else
|
|
650
672
|
$this.heatingSources = heatingSources;
|
|
651
|
-
if (0 === (seen0 &
|
|
673
|
+
if (0 === (seen0 & 4194304))
|
|
652
674
|
$this.historicId = null;
|
|
653
675
|
else
|
|
654
676
|
$this.historicId = historicId;
|
|
655
|
-
if (0 === (seen0 &
|
|
677
|
+
if (0 === (seen0 & 8388608))
|
|
656
678
|
$this.housingUnitCount = null;
|
|
657
679
|
else
|
|
658
680
|
$this.housingUnitCount = housingUnitCount;
|
|
659
681
|
$this.id = id;
|
|
660
|
-
if (0 === (seen0 &
|
|
682
|
+
if (0 === (seen0 & 33554432))
|
|
661
683
|
$this.isProtected = null;
|
|
662
684
|
else
|
|
663
685
|
$this.isProtected = isProtected;
|
|
664
|
-
if (0 === (seen0 &
|
|
686
|
+
if (0 === (seen0 & 67108864))
|
|
665
687
|
$this.kartverketId = null;
|
|
666
688
|
else
|
|
667
689
|
$this.kartverketId = kartverketId;
|
|
668
|
-
if (0 === (seen0 &
|
|
690
|
+
if (0 === (seen0 & 134217728))
|
|
669
691
|
$this.municipalityName = null;
|
|
670
692
|
else
|
|
671
693
|
$this.municipalityName = municipalityName;
|
|
672
|
-
if (0 === (seen0 &
|
|
694
|
+
if (0 === (seen0 & 268435456))
|
|
673
695
|
$this.municipalityNumber = null;
|
|
674
696
|
else
|
|
675
697
|
$this.municipalityNumber = municipalityNumber;
|
|
676
|
-
if (0 === (seen0 &
|
|
698
|
+
if (0 === (seen0 & 536870912))
|
|
677
699
|
$this.name = null;
|
|
678
700
|
else
|
|
679
701
|
$this.name = name;
|
|
680
|
-
if (0 === (seen0 &
|
|
702
|
+
if (0 === (seen0 & 1073741824))
|
|
681
703
|
$this.nonResidentialSqm = null;
|
|
682
704
|
else
|
|
683
705
|
$this.nonResidentialSqm = nonResidentialSqm;
|
|
684
|
-
if (0 === (seen0 &
|
|
706
|
+
if (0 === (seen0 & -2147483648))
|
|
685
707
|
$this.origin = null;
|
|
686
708
|
else
|
|
687
709
|
$this.origin = origin;
|
|
688
|
-
if (0 === (
|
|
710
|
+
if (0 === (seen1 & 1))
|
|
689
711
|
$this.originCode = null;
|
|
690
712
|
else
|
|
691
713
|
$this.originCode = originCode;
|
|
692
|
-
if (0 === (seen1 &
|
|
714
|
+
if (0 === (seen1 & 2))
|
|
693
715
|
$this.residentialSqm = null;
|
|
694
716
|
else
|
|
695
717
|
$this.residentialSqm = residentialSqm;
|
|
696
|
-
if (0 === (seen1 &
|
|
718
|
+
if (0 === (seen1 & 4))
|
|
697
719
|
$this.sewer = null;
|
|
698
720
|
else
|
|
699
721
|
$this.sewer = sewer;
|
|
700
|
-
if (0 === (seen1 &
|
|
722
|
+
if (0 === (seen1 & 8))
|
|
701
723
|
$this.sewerCode = null;
|
|
702
724
|
else
|
|
703
725
|
$this.sewerCode = sewerCode;
|
|
704
|
-
if (0 === (seen1 &
|
|
726
|
+
if (0 === (seen1 & 16))
|
|
705
727
|
$this.waterSupply = null;
|
|
706
728
|
else
|
|
707
729
|
$this.waterSupply = waterSupply;
|
|
708
|
-
if (0 === (seen1 &
|
|
730
|
+
if (0 === (seen1 & 32))
|
|
709
731
|
$this.waterSupplyCode = null;
|
|
710
732
|
else
|
|
711
733
|
$this.waterSupplyCode = waterSupplyCode;
|
|
712
734
|
return $this;
|
|
713
735
|
}
|
|
714
|
-
function Building_init_$Create$(seen0, seen1, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode, serializationConstructorMarker) {
|
|
715
|
-
return Building_init_$Init$(seen0, seen1, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode, serializationConstructorMarker, objectCreate(protoOf(Building())));
|
|
736
|
+
function Building_init_$Create$(seen0, seen1, alterations, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode, serializationConstructorMarker) {
|
|
737
|
+
return Building_init_$Init$(seen0, seen1, alterations, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode, serializationConstructorMarker, objectCreate(protoOf(Building())));
|
|
716
738
|
}
|
|
717
739
|
var BuildingClass;
|
|
718
740
|
function Building() {
|
|
719
741
|
if (BuildingClass === VOID) {
|
|
720
|
-
initMetadataForClass($, 'Building', VOID, VOID, VOID, VOID, VOID, {0: $
|
|
721
|
-
function $(buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode) {
|
|
722
|
-
var __soliboProps = arguments.length === 1 && typeof
|
|
742
|
+
initMetadataForClass($, 'Building', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_1});
|
|
743
|
+
function $(alterations, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode) {
|
|
744
|
+
var __soliboProps = arguments.length === 1 && typeof alterations === 'object' && alterations !== null && alterations.constructor === Object;
|
|
723
745
|
var __soliboTmp, __soliboConverted = false;
|
|
724
746
|
if (__soliboProps) {
|
|
725
|
-
const props =
|
|
747
|
+
const props = alterations;
|
|
748
|
+
alterations = ('alterations' in props ? props.alterations : VOID);
|
|
726
749
|
buildingChange = ('buildingChange' in props ? props.buildingChange : VOID);
|
|
727
750
|
buildingChangeCode = ('buildingChangeCode' in props ? props.buildingChangeCode : VOID);
|
|
728
751
|
buildingChangeCount = ('buildingChangeCount' in props ? props.buildingChangeCount : VOID);
|
|
@@ -761,6 +784,7 @@ function Building() {
|
|
|
761
784
|
waterSupply = ('waterSupply' in props ? props.waterSupply : VOID);
|
|
762
785
|
waterSupplyCode = ('waterSupplyCode' in props ? props.waterSupplyCode : VOID);
|
|
763
786
|
}
|
|
787
|
+
if ((__soliboTmp = __soliboToKt(alterations, ["list",["model","BuildingAlteration"]])) !== alterations) { alterations = __soliboTmp; __soliboConverted = true; }
|
|
764
788
|
if ((__soliboTmp = __soliboToKt(buildingChangeCount, ["bigint"])) !== buildingChangeCount) { buildingChangeCount = __soliboTmp; __soliboConverted = true; }
|
|
765
789
|
if ((__soliboTmp = __soliboToKt(bygningsNr, ["bigint"])) !== bygningsNr) { bygningsNr = __soliboTmp; __soliboConverted = true; }
|
|
766
790
|
if ((__soliboTmp = __soliboToKt(constructionYear, ["bigint"])) !== constructionYear) { constructionYear = __soliboTmp; __soliboConverted = true; }
|
|
@@ -773,6 +797,7 @@ function Building() {
|
|
|
773
797
|
if ((__soliboTmp = __soliboToKt(housingUnitCount, ["bigint"])) !== housingUnitCount) { housingUnitCount = __soliboTmp; __soliboConverted = true; }
|
|
774
798
|
if ((__soliboTmp = __soliboToKt(id, ["bigint"])) !== id) { id = __soliboTmp; __soliboConverted = true; }
|
|
775
799
|
Companion_getInstance();
|
|
800
|
+
alterations = alterations === VOID ? null : alterations;
|
|
776
801
|
buildingChange = buildingChange === VOID ? null : buildingChange;
|
|
777
802
|
buildingChangeCode = buildingChangeCode === VOID ? null : buildingChangeCode;
|
|
778
803
|
buildingChangeCount = buildingChangeCount === VOID ? null : buildingChangeCount;
|
|
@@ -809,6 +834,7 @@ function Building() {
|
|
|
809
834
|
sewerCode = sewerCode === VOID ? null : sewerCode;
|
|
810
835
|
waterSupply = waterSupply === VOID ? null : waterSupply;
|
|
811
836
|
waterSupplyCode = waterSupplyCode === VOID ? null : waterSupplyCode;
|
|
837
|
+
this.alterations = alterations;
|
|
812
838
|
this.buildingChange = buildingChange;
|
|
813
839
|
this.buildingChangeCode = buildingChangeCode;
|
|
814
840
|
this.buildingChangeCount = buildingChangeCount;
|
|
@@ -848,6 +874,9 @@ function Building() {
|
|
|
848
874
|
this.waterSupplyCode = waterSupplyCode;
|
|
849
875
|
if (__soliboConverted && !__soliboBoundaryState.internalConstruction) return __soliboToJs(this);
|
|
850
876
|
}
|
|
877
|
+
protoOf($).get_alterations_4rpcuj_k$ = function () {
|
|
878
|
+
return this.alterations;
|
|
879
|
+
};
|
|
851
880
|
protoOf($).get_buildingChange_wt94kz_k$ = function () {
|
|
852
881
|
return this.buildingChange;
|
|
853
882
|
};
|
|
@@ -960,120 +989,124 @@ function Building() {
|
|
|
960
989
|
return this.waterSupplyCode;
|
|
961
990
|
};
|
|
962
991
|
protoOf($).component1_7eebsc_k$ = function () {
|
|
963
|
-
return this.
|
|
992
|
+
return this.alterations;
|
|
964
993
|
};
|
|
965
994
|
protoOf($).component2_7eebsb_k$ = function () {
|
|
966
|
-
return this.
|
|
995
|
+
return this.buildingChange;
|
|
967
996
|
};
|
|
968
997
|
protoOf($).component3_7eebsa_k$ = function () {
|
|
969
|
-
return this.
|
|
998
|
+
return this.buildingChangeCode;
|
|
970
999
|
};
|
|
971
1000
|
protoOf($).component4_7eebs9_k$ = function () {
|
|
972
|
-
return this.
|
|
1001
|
+
return this.buildingChangeCount;
|
|
973
1002
|
};
|
|
974
1003
|
protoOf($).component5_7eebs8_k$ = function () {
|
|
975
|
-
return this.
|
|
1004
|
+
return this.buildingStatus;
|
|
976
1005
|
};
|
|
977
1006
|
protoOf($).component6_7eebs7_k$ = function () {
|
|
978
|
-
return this.
|
|
1007
|
+
return this.buildingStatusCode;
|
|
979
1008
|
};
|
|
980
1009
|
protoOf($).component7_7eebs6_k$ = function () {
|
|
981
|
-
return this.
|
|
1010
|
+
return this.buildingType;
|
|
982
1011
|
};
|
|
983
1012
|
protoOf($).component8_7eebs5_k$ = function () {
|
|
984
|
-
return this.
|
|
1013
|
+
return this.buildingTypeCode;
|
|
985
1014
|
};
|
|
986
1015
|
protoOf($).component9_7eebs4_k$ = function () {
|
|
987
|
-
return this.
|
|
1016
|
+
return this.builtUpAreaSqm;
|
|
988
1017
|
};
|
|
989
1018
|
protoOf($).component10_gazzfo_k$ = function () {
|
|
990
|
-
return this.
|
|
1019
|
+
return this.businessGroup;
|
|
991
1020
|
};
|
|
992
1021
|
protoOf($).component11_gazzfn_k$ = function () {
|
|
993
|
-
return this.
|
|
1022
|
+
return this.businessGroupCode;
|
|
994
1023
|
};
|
|
995
1024
|
protoOf($).component12_gazzfm_k$ = function () {
|
|
996
|
-
return this.
|
|
1025
|
+
return this.bygningsNr;
|
|
997
1026
|
};
|
|
998
1027
|
protoOf($).component13_gazzfl_k$ = function () {
|
|
999
|
-
return this.
|
|
1028
|
+
return this.constructionYear;
|
|
1000
1029
|
};
|
|
1001
1030
|
protoOf($).component14_gazzfk_k$ = function () {
|
|
1002
|
-
return this.
|
|
1031
|
+
return this.energySourceCodes;
|
|
1003
1032
|
};
|
|
1004
1033
|
protoOf($).component15_gazzfj_k$ = function () {
|
|
1005
|
-
return this.
|
|
1034
|
+
return this.energySources;
|
|
1006
1035
|
};
|
|
1007
1036
|
protoOf($).component16_gazzfi_k$ = function () {
|
|
1008
|
-
return this.
|
|
1037
|
+
return this.floors;
|
|
1009
1038
|
};
|
|
1010
1039
|
protoOf($).component17_gazzfh_k$ = function () {
|
|
1011
|
-
return this.
|
|
1040
|
+
return this.hasCulturalMemory;
|
|
1012
1041
|
};
|
|
1013
1042
|
protoOf($).component18_gazzfg_k$ = function () {
|
|
1014
|
-
return this.
|
|
1043
|
+
return this.hasElevator;
|
|
1015
1044
|
};
|
|
1016
1045
|
protoOf($).component19_gazzff_k$ = function () {
|
|
1017
|
-
return this.
|
|
1046
|
+
return this.hasIncompleteArea;
|
|
1018
1047
|
};
|
|
1019
1048
|
protoOf($).component20_gazzet_k$ = function () {
|
|
1020
|
-
return this.
|
|
1049
|
+
return this.hasSEFRAK;
|
|
1021
1050
|
};
|
|
1022
1051
|
protoOf($).component21_gazzes_k$ = function () {
|
|
1023
|
-
return this.
|
|
1052
|
+
return this.heatingSourceCodes;
|
|
1024
1053
|
};
|
|
1025
1054
|
protoOf($).component22_gazzer_k$ = function () {
|
|
1026
|
-
return this.
|
|
1055
|
+
return this.heatingSources;
|
|
1027
1056
|
};
|
|
1028
1057
|
protoOf($).component23_gazzeq_k$ = function () {
|
|
1029
|
-
return this.
|
|
1058
|
+
return this.historicId;
|
|
1030
1059
|
};
|
|
1031
1060
|
protoOf($).component24_gazzep_k$ = function () {
|
|
1032
|
-
return this.
|
|
1061
|
+
return this.housingUnitCount;
|
|
1033
1062
|
};
|
|
1034
1063
|
protoOf($).component25_gazzeo_k$ = function () {
|
|
1035
|
-
return this.
|
|
1064
|
+
return this.id;
|
|
1036
1065
|
};
|
|
1037
1066
|
protoOf($).component26_gazzen_k$ = function () {
|
|
1038
|
-
return this.
|
|
1067
|
+
return this.isProtected;
|
|
1039
1068
|
};
|
|
1040
1069
|
protoOf($).component27_gazzem_k$ = function () {
|
|
1041
|
-
return this.
|
|
1070
|
+
return this.kartverketId;
|
|
1042
1071
|
};
|
|
1043
1072
|
protoOf($).component28_gazzel_k$ = function () {
|
|
1044
|
-
return this.
|
|
1073
|
+
return this.municipalityName;
|
|
1045
1074
|
};
|
|
1046
1075
|
protoOf($).component29_gazzek_k$ = function () {
|
|
1047
|
-
return this.
|
|
1076
|
+
return this.municipalityNumber;
|
|
1048
1077
|
};
|
|
1049
1078
|
protoOf($).component30_gazzdy_k$ = function () {
|
|
1050
|
-
return this.
|
|
1079
|
+
return this.name;
|
|
1051
1080
|
};
|
|
1052
1081
|
protoOf($).component31_gazzdx_k$ = function () {
|
|
1053
|
-
return this.
|
|
1082
|
+
return this.nonResidentialSqm;
|
|
1054
1083
|
};
|
|
1055
1084
|
protoOf($).component32_gazzdw_k$ = function () {
|
|
1056
|
-
return this.
|
|
1085
|
+
return this.origin;
|
|
1057
1086
|
};
|
|
1058
1087
|
protoOf($).component33_gazzdv_k$ = function () {
|
|
1059
|
-
return this.
|
|
1088
|
+
return this.originCode;
|
|
1060
1089
|
};
|
|
1061
1090
|
protoOf($).component34_gazzdu_k$ = function () {
|
|
1062
|
-
return this.
|
|
1091
|
+
return this.residentialSqm;
|
|
1063
1092
|
};
|
|
1064
1093
|
protoOf($).component35_gazzdt_k$ = function () {
|
|
1065
|
-
return this.
|
|
1094
|
+
return this.sewer;
|
|
1066
1095
|
};
|
|
1067
1096
|
protoOf($).component36_gazzds_k$ = function () {
|
|
1068
|
-
return this.
|
|
1097
|
+
return this.sewerCode;
|
|
1069
1098
|
};
|
|
1070
1099
|
protoOf($).component37_gazzdr_k$ = function () {
|
|
1100
|
+
return this.waterSupply;
|
|
1101
|
+
};
|
|
1102
|
+
protoOf($).component38_gazzdq_k$ = function () {
|
|
1071
1103
|
return this.waterSupplyCode;
|
|
1072
1104
|
};
|
|
1073
|
-
protoOf($).
|
|
1074
|
-
return new (Building())(buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode);
|
|
1105
|
+
protoOf($).copy_4mqtxg_k$ = function (alterations, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode) {
|
|
1106
|
+
return new (Building())(alterations, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode);
|
|
1075
1107
|
};
|
|
1076
|
-
protoOf($).copy = function (buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode, $super) {
|
|
1108
|
+
protoOf($).copy = function (alterations, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode, $super) {
|
|
1109
|
+
alterations = alterations === VOID ? this.alterations : alterations;
|
|
1077
1110
|
buildingChange = buildingChange === VOID ? this.buildingChange : buildingChange;
|
|
1078
1111
|
buildingChangeCode = buildingChangeCode === VOID ? this.buildingChangeCode : buildingChangeCode;
|
|
1079
1112
|
buildingChangeCount = buildingChangeCount === VOID ? this.buildingChangeCount : buildingChangeCount;
|
|
@@ -1111,13 +1144,14 @@ function Building() {
|
|
|
1111
1144
|
sewerCode = sewerCode === VOID ? this.sewerCode : sewerCode;
|
|
1112
1145
|
waterSupply = waterSupply === VOID ? this.waterSupply : waterSupply;
|
|
1113
1146
|
waterSupplyCode = waterSupplyCode === VOID ? this.waterSupplyCode : waterSupplyCode;
|
|
1114
|
-
return $super === VOID ? this.
|
|
1147
|
+
return $super === VOID ? this.copy_4mqtxg_k$(alterations, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode) : $super.copy_4mqtxg_k$.call(this, alterations, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode);
|
|
1115
1148
|
};
|
|
1116
1149
|
protoOf($).toString = function () {
|
|
1117
|
-
return 'Building(buildingChange=' + this.buildingChange + ', buildingChangeCode=' + this.buildingChangeCode + ', buildingChangeCount=' + toString(this.buildingChangeCount) + ', buildingStatus=' + this.buildingStatus + ', buildingStatusCode=' + this.buildingStatusCode + ', buildingType=' + this.buildingType + ', buildingTypeCode=' + this.buildingTypeCode + ', builtUpAreaSqm=' + this.builtUpAreaSqm + ', businessGroup=' + this.businessGroup + ', businessGroupCode=' + this.businessGroupCode + ', bygningsNr=' + toString(this.bygningsNr) + ', constructionYear=' + toString(this.constructionYear) + ', energySourceCodes=' + toString(this.energySourceCodes) + ', energySources=' + toString(this.energySources) + ', floors=' + toString(this.floors) + ', hasCulturalMemory=' + this.hasCulturalMemory + ', hasElevator=' + this.hasElevator + ', hasIncompleteArea=' + this.hasIncompleteArea + ', hasSEFRAK=' + this.hasSEFRAK + ', heatingSourceCodes=' + toString(this.heatingSourceCodes) + ', heatingSources=' + toString(this.heatingSources) + ', historicId=' + toString(this.historicId) + ', housingUnitCount=' + toString(this.housingUnitCount) + ', id=' + this.id.toString() + ', isProtected=' + this.isProtected + ', kartverketId=' + this.kartverketId + ', municipalityName=' + this.municipalityName + ', municipalityNumber=' + this.municipalityNumber + ', name=' + this.name + ', nonResidentialSqm=' + this.nonResidentialSqm + ', origin=' + this.origin + ', originCode=' + this.originCode + ', residentialSqm=' + this.residentialSqm + ', sewer=' + this.sewer + ', sewerCode=' + this.sewerCode + ', waterSupply=' + this.waterSupply + ', waterSupplyCode=' + this.waterSupplyCode + ')';
|
|
1150
|
+
return 'Building(alterations=' + toString(this.alterations) + ', buildingChange=' + this.buildingChange + ', buildingChangeCode=' + this.buildingChangeCode + ', buildingChangeCount=' + toString(this.buildingChangeCount) + ', buildingStatus=' + this.buildingStatus + ', buildingStatusCode=' + this.buildingStatusCode + ', buildingType=' + this.buildingType + ', buildingTypeCode=' + this.buildingTypeCode + ', builtUpAreaSqm=' + this.builtUpAreaSqm + ', businessGroup=' + this.businessGroup + ', businessGroupCode=' + this.businessGroupCode + ', bygningsNr=' + toString(this.bygningsNr) + ', constructionYear=' + toString(this.constructionYear) + ', energySourceCodes=' + toString(this.energySourceCodes) + ', energySources=' + toString(this.energySources) + ', floors=' + toString(this.floors) + ', hasCulturalMemory=' + this.hasCulturalMemory + ', hasElevator=' + this.hasElevator + ', hasIncompleteArea=' + this.hasIncompleteArea + ', hasSEFRAK=' + this.hasSEFRAK + ', heatingSourceCodes=' + toString(this.heatingSourceCodes) + ', heatingSources=' + toString(this.heatingSources) + ', historicId=' + toString(this.historicId) + ', housingUnitCount=' + toString(this.housingUnitCount) + ', id=' + this.id.toString() + ', isProtected=' + this.isProtected + ', kartverketId=' + this.kartverketId + ', municipalityName=' + this.municipalityName + ', municipalityNumber=' + this.municipalityNumber + ', name=' + this.name + ', nonResidentialSqm=' + this.nonResidentialSqm + ', origin=' + this.origin + ', originCode=' + this.originCode + ', residentialSqm=' + this.residentialSqm + ', sewer=' + this.sewer + ', sewerCode=' + this.sewerCode + ', waterSupply=' + this.waterSupply + ', waterSupplyCode=' + this.waterSupplyCode + ')';
|
|
1118
1151
|
};
|
|
1119
1152
|
protoOf($).hashCode = function () {
|
|
1120
|
-
var result = this.
|
|
1153
|
+
var result = this.alterations == null ? 0 : hashCode(this.alterations);
|
|
1154
|
+
result = imul(result, 31) + (this.buildingChange == null ? 0 : getStringHashCode(this.buildingChange)) | 0;
|
|
1121
1155
|
result = imul(result, 31) + (this.buildingChangeCode == null ? 0 : getStringHashCode(this.buildingChangeCode)) | 0;
|
|
1122
1156
|
result = imul(result, 31) + (this.buildingChangeCount == null ? 0 : getBigIntHashCode(this.buildingChangeCount)) | 0;
|
|
1123
1157
|
result = imul(result, 31) + (this.buildingStatus == null ? 0 : getStringHashCode(this.buildingStatus)) | 0;
|
|
@@ -1161,6 +1195,8 @@ function Building() {
|
|
|
1161
1195
|
return true;
|
|
1162
1196
|
if (!(other instanceof Building()))
|
|
1163
1197
|
return false;
|
|
1198
|
+
if (!equals(this.alterations, other.alterations))
|
|
1199
|
+
return false;
|
|
1164
1200
|
if (!(this.buildingChange == other.buildingChange))
|
|
1165
1201
|
return false;
|
|
1166
1202
|
if (!(this.buildingChangeCode == other.buildingChangeCode))
|
|
@@ -1239,7 +1275,7 @@ function Building() {
|
|
|
1239
1275
|
};
|
|
1240
1276
|
/* Solibo boundary patches */
|
|
1241
1277
|
Object.defineProperty($, 'name', { value: "Building", configurable: true });
|
|
1242
|
-
__soliboRegisterOwnFields($, {"energySourceCodes":["list",null],"energySources":["list",null],"floors":["list",["model","BuildingFloor"]],"heatingSourceCodes":["list",null],"heatingSources":["list",null]});
|
|
1278
|
+
__soliboRegisterOwnFields($, {"alterations":["list",["model","BuildingAlteration"]],"energySourceCodes":["list",null],"energySources":["list",null],"floors":["list",["model","BuildingFloor"]],"heatingSourceCodes":["list",null],"heatingSources":["list",null]});
|
|
1243
1279
|
__soliboRegisterLookup("Building", () => $);
|
|
1244
1280
|
BuildingClass = $;
|
|
1245
1281
|
}
|
|
@@ -1247,11 +1283,12 @@ function Building() {
|
|
|
1247
1283
|
}
|
|
1248
1284
|
//region block: exports
|
|
1249
1285
|
export {
|
|
1250
|
-
$
|
|
1286
|
+
$serializer_getInstance_1 as $serializer_getInstance3454749t3ut6q,
|
|
1251
1287
|
Building as Building1hs289e2p6983,
|
|
1252
1288
|
};
|
|
1253
1289
|
//endregion
|
|
1254
1290
|
|
|
1255
1291
|
/* Solibo boundary lookups */
|
|
1292
|
+
__soliboRegisterLookup("BuildingAlteration", () => __soliboType_BuildingAlteration());
|
|
1256
1293
|
__soliboRegisterLookup("BuildingFloor", () => __soliboType_BuildingFloor());
|
|
1257
1294
|
|