@solibo/solibo-sdk 1.44.2 → 1.44.4
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 +9 -4
- package/core.d.mts +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +1 -1
- 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-DateTime-library-kotlinx-datetime-7.mjs +2 -2
- package/solibo-cycles/kotlin-kotlin-stdlib-10.mjs +4 -4
- 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 +2 -2
- 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/CompanyDetailed.mjs +2 -2
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CreateCompany.mjs +2 -2
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/UpdateCompanyDetailedCommand.mjs +2 -2
- package/solibo-sdk-sdk-api-company.mjs +0 -1
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Building.export.d.mts +7 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Building.mjs +332 -187
- 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 +27 -17
- /package/{solibo-sdk-sdk-api-company → solibo-sdk-sdk-core}/no/solibo/oss/sdk/api/gen/models/CompanyLocation.export.d.mts +0 -0
- /package/{solibo-sdk-sdk-api-company → solibo-sdk-sdk-core}/no/solibo/oss/sdk/api/gen/models/CompanyLocation.export.mjs +0 -0
- /package/{solibo-sdk-sdk-api-company → solibo-sdk-sdk-core}/no/solibo/oss/sdk/api/gen/models/CompanyLocation.mjs +0 -0
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
|
|
27
27
|
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs';
|
|
28
28
|
import { Unit_instance3kz1zqli6gr1r as Unit_instance } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
|
|
29
|
+
import { $serializer_getInstance1czrf94czim8r as $serializer_getInstance_1 } from './CompanyLocation.mjs';
|
|
29
30
|
import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
|
|
30
31
|
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$ } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs';
|
|
31
32
|
import { get_nullable197rfua9r7fsz as get_nullable } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs';
|
|
@@ -40,6 +41,7 @@ import { SerializableWithd2dap36updxd as SerializableWith } from '../../../../..
|
|
|
40
41
|
import { __soliboBoundaryState, __soliboRegisterLookup, __soliboRegisterOwnFields, __soliboToJs, __soliboToKt, __soliboWrapAccessor, __soliboWrapFunction, __soliboWrapMethod } from '../../../../../../../../solibo-boundary.mjs';
|
|
41
42
|
import { BuildingAlteration1xv9k4h1p59kc as __soliboType_BuildingAlteration } from './BuildingAlteration.mjs';
|
|
42
43
|
import { BuildingFloor16obpr79daa7n as __soliboType_BuildingFloor } from './BuildingFloor.mjs';
|
|
44
|
+
import { CompanyLocation11pehm7pppcl2 as __soliboType_CompanyLocation } from './CompanyLocation.mjs';
|
|
43
45
|
//region block: imports
|
|
44
46
|
var imul = Math.imul;
|
|
45
47
|
//endregion
|
|
@@ -84,7 +86,7 @@ function Companion() {
|
|
|
84
86
|
// Inline function 'kotlin.arrayOf' call
|
|
85
87
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
86
88
|
// Inline function 'kotlin.js.asDynamic' call
|
|
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];
|
|
89
|
+
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, 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, null, null, null, null];
|
|
88
90
|
}
|
|
89
91
|
CompanionClass = $;
|
|
90
92
|
}
|
|
@@ -102,7 +104,7 @@ function $serializer() {
|
|
|
102
104
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
103
105
|
function $() {
|
|
104
106
|
$serializer_instance = this;
|
|
105
|
-
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.Building', this,
|
|
107
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.Building', this, 43);
|
|
106
108
|
tmp0_serialDesc.addElement_5pzumi_k$('alterations', true);
|
|
107
109
|
tmp0_serialDesc.addElement_5pzumi_k$('buildingChange', true);
|
|
108
110
|
tmp0_serialDesc.addElement_5pzumi_k$('buildingChangeCode', true);
|
|
@@ -119,6 +121,7 @@ function $serializer() {
|
|
|
119
121
|
tmp0_serialDesc.addElement_5pzumi_k$('energySourceCodes', true);
|
|
120
122
|
tmp0_serialDesc.addElement_5pzumi_k$('energySources', true);
|
|
121
123
|
tmp0_serialDesc.addElement_5pzumi_k$('floors', true);
|
|
124
|
+
tmp0_serialDesc.addElement_5pzumi_k$('grossTotalSqm', true);
|
|
122
125
|
tmp0_serialDesc.addElement_5pzumi_k$('hasCulturalMemory', true);
|
|
123
126
|
tmp0_serialDesc.addElement_5pzumi_k$('hasElevator', true);
|
|
124
127
|
tmp0_serialDesc.addElement_5pzumi_k$('hasIncompleteArea', true);
|
|
@@ -130,15 +133,19 @@ function $serializer() {
|
|
|
130
133
|
tmp0_serialDesc.addElement_5pzumi_k$('id', false);
|
|
131
134
|
tmp0_serialDesc.addElement_5pzumi_k$('isProtected', true);
|
|
132
135
|
tmp0_serialDesc.addElement_5pzumi_k$('kartverketId', true);
|
|
136
|
+
tmp0_serialDesc.addElement_5pzumi_k$('location', true);
|
|
133
137
|
tmp0_serialDesc.addElement_5pzumi_k$('municipalityName', true);
|
|
134
138
|
tmp0_serialDesc.addElement_5pzumi_k$('municipalityNumber', true);
|
|
135
139
|
tmp0_serialDesc.addElement_5pzumi_k$('name', true);
|
|
136
140
|
tmp0_serialDesc.addElement_5pzumi_k$('nonResidentialSqm', true);
|
|
137
141
|
tmp0_serialDesc.addElement_5pzumi_k$('origin', true);
|
|
138
142
|
tmp0_serialDesc.addElement_5pzumi_k$('originCode', true);
|
|
143
|
+
tmp0_serialDesc.addElement_5pzumi_k$('registerState', true);
|
|
139
144
|
tmp0_serialDesc.addElement_5pzumi_k$('residentialSqm', true);
|
|
140
145
|
tmp0_serialDesc.addElement_5pzumi_k$('sewer', true);
|
|
141
146
|
tmp0_serialDesc.addElement_5pzumi_k$('sewerCode', true);
|
|
147
|
+
tmp0_serialDesc.addElement_5pzumi_k$('storeyCount', true);
|
|
148
|
+
tmp0_serialDesc.addElement_5pzumi_k$('usableTotalSqm', true);
|
|
142
149
|
tmp0_serialDesc.addElement_5pzumi_k$('waterSupply', true);
|
|
143
150
|
tmp0_serialDesc.addElement_5pzumi_k$('waterSupplyCode', true);
|
|
144
151
|
this.descriptor_1 = tmp0_serialDesc;
|
|
@@ -195,69 +202,84 @@ function $serializer() {
|
|
|
195
202
|
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 15) ? true : !(value.floors == null)) {
|
|
196
203
|
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 15, tmp2_cached[15].get_value_j01efc_k$(), value.floors);
|
|
197
204
|
}
|
|
198
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 16) ? true : !(value.
|
|
199
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 16,
|
|
205
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 16) ? true : !(value.grossTotalSqm == null)) {
|
|
206
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 16, DoubleSerializer_getInstance(), value.grossTotalSqm);
|
|
200
207
|
}
|
|
201
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 17) ? true : !(value.
|
|
202
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 17, BooleanSerializer_getInstance(), value.
|
|
208
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 17) ? true : !(value.hasCulturalMemory == null)) {
|
|
209
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 17, BooleanSerializer_getInstance(), value.hasCulturalMemory);
|
|
203
210
|
}
|
|
204
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 18) ? true : !(value.
|
|
205
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 18, BooleanSerializer_getInstance(), value.
|
|
211
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 18) ? true : !(value.hasElevator == null)) {
|
|
212
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 18, BooleanSerializer_getInstance(), value.hasElevator);
|
|
206
213
|
}
|
|
207
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 19) ? true : !(value.
|
|
208
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 19, BooleanSerializer_getInstance(), value.
|
|
214
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 19) ? true : !(value.hasIncompleteArea == null)) {
|
|
215
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 19, BooleanSerializer_getInstance(), value.hasIncompleteArea);
|
|
209
216
|
}
|
|
210
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 20) ? true : !(value.
|
|
211
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 20,
|
|
217
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 20) ? true : !(value.hasSEFRAK == null)) {
|
|
218
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 20, BooleanSerializer_getInstance(), value.hasSEFRAK);
|
|
212
219
|
}
|
|
213
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 21) ? true : !(value.
|
|
214
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 21, tmp2_cached[21].get_value_j01efc_k$(), value.
|
|
220
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 21) ? true : !(value.heatingSourceCodes == null)) {
|
|
221
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 21, tmp2_cached[21].get_value_j01efc_k$(), value.heatingSourceCodes);
|
|
215
222
|
}
|
|
216
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 22) ? true : !(value.
|
|
217
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 22,
|
|
223
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 22) ? true : !(value.heatingSources == null)) {
|
|
224
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 22, tmp2_cached[22].get_value_j01efc_k$(), value.heatingSources);
|
|
218
225
|
}
|
|
219
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 23) ? true : !(value.
|
|
220
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 23, LongSerializer_getInstance(), value.
|
|
226
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 23) ? true : !(value.historicId == null)) {
|
|
227
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 23, LongSerializer_getInstance(), value.historicId);
|
|
221
228
|
}
|
|
222
|
-
tmp1_output.
|
|
223
|
-
|
|
224
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 25, BooleanSerializer_getInstance(), value.isProtected);
|
|
229
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 24) ? true : !(value.housingUnitCount == null)) {
|
|
230
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 24, LongSerializer_getInstance(), value.housingUnitCount);
|
|
225
231
|
}
|
|
226
|
-
|
|
227
|
-
|
|
232
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 25, value.id);
|
|
233
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 26) ? true : !(value.isProtected == null)) {
|
|
234
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 26, BooleanSerializer_getInstance(), value.isProtected);
|
|
228
235
|
}
|
|
229
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 27) ? true : !(value.
|
|
230
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 27, StringSerializer_getInstance(), value.
|
|
236
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 27) ? true : !(value.kartverketId == null)) {
|
|
237
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 27, StringSerializer_getInstance(), value.kartverketId);
|
|
231
238
|
}
|
|
232
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 28) ? true : !(value.
|
|
233
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 28,
|
|
239
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 28) ? true : !(value.location == null)) {
|
|
240
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 28, $serializer_getInstance_1(), value.location);
|
|
234
241
|
}
|
|
235
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 29) ? true : !(value.
|
|
236
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 29, StringSerializer_getInstance(), value.
|
|
242
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 29) ? true : !(value.municipalityName == null)) {
|
|
243
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 29, StringSerializer_getInstance(), value.municipalityName);
|
|
237
244
|
}
|
|
238
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 30) ? true : !(value.
|
|
239
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 30,
|
|
245
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 30) ? true : !(value.municipalityNumber == null)) {
|
|
246
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 30, StringSerializer_getInstance(), value.municipalityNumber);
|
|
240
247
|
}
|
|
241
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 31) ? true : !(value.
|
|
242
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 31, StringSerializer_getInstance(), value.
|
|
248
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 31) ? true : !(value.name == null)) {
|
|
249
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 31, StringSerializer_getInstance(), value.name);
|
|
243
250
|
}
|
|
244
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 32) ? true : !(value.
|
|
245
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 32,
|
|
251
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 32) ? true : !(value.nonResidentialSqm == null)) {
|
|
252
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 32, DoubleSerializer_getInstance(), value.nonResidentialSqm);
|
|
246
253
|
}
|
|
247
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 33) ? true : !(value.
|
|
248
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 33,
|
|
254
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 33) ? true : !(value.origin == null)) {
|
|
255
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 33, StringSerializer_getInstance(), value.origin);
|
|
249
256
|
}
|
|
250
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 34) ? true : !(value.
|
|
251
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 34, StringSerializer_getInstance(), value.
|
|
257
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 34) ? true : !(value.originCode == null)) {
|
|
258
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 34, StringSerializer_getInstance(), value.originCode);
|
|
252
259
|
}
|
|
253
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 35) ? true : !(value.
|
|
254
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 35, StringSerializer_getInstance(), value.
|
|
260
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 35) ? true : !(value.registerState == null)) {
|
|
261
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 35, StringSerializer_getInstance(), value.registerState);
|
|
255
262
|
}
|
|
256
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 36) ? true : !(value.
|
|
257
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 36,
|
|
263
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 36) ? true : !(value.residentialSqm == null)) {
|
|
264
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 36, DoubleSerializer_getInstance(), value.residentialSqm);
|
|
258
265
|
}
|
|
259
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 37) ? true : !(value.
|
|
260
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 37, StringSerializer_getInstance(), value.
|
|
266
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 37) ? true : !(value.sewer == null)) {
|
|
267
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 37, StringSerializer_getInstance(), value.sewer);
|
|
268
|
+
}
|
|
269
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 38) ? true : !(value.sewerCode == null)) {
|
|
270
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 38, StringSerializer_getInstance(), value.sewerCode);
|
|
271
|
+
}
|
|
272
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 39) ? true : !(value.storeyCount == null)) {
|
|
273
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 39, LongSerializer_getInstance(), value.storeyCount);
|
|
274
|
+
}
|
|
275
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 40) ? true : !(value.usableTotalSqm == null)) {
|
|
276
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 40, DoubleSerializer_getInstance(), value.usableTotalSqm);
|
|
277
|
+
}
|
|
278
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 41) ? true : !(value.waterSupply == null)) {
|
|
279
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 41, StringSerializer_getInstance(), value.waterSupply);
|
|
280
|
+
}
|
|
281
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 42) ? true : !(value.waterSupplyCode == null)) {
|
|
282
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 42, StringSerializer_getInstance(), value.waterSupplyCode);
|
|
261
283
|
}
|
|
262
284
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
263
285
|
};
|
|
@@ -294,8 +316,8 @@ function $serializer() {
|
|
|
294
316
|
var tmp26_local21 = null;
|
|
295
317
|
var tmp27_local22 = null;
|
|
296
318
|
var tmp28_local23 = null;
|
|
297
|
-
var tmp29_local24 =
|
|
298
|
-
var tmp30_local25 =
|
|
319
|
+
var tmp29_local24 = null;
|
|
320
|
+
var tmp30_local25 = 0n;
|
|
299
321
|
var tmp31_local26 = null;
|
|
300
322
|
var tmp32_local27 = null;
|
|
301
323
|
var tmp33_local28 = null;
|
|
@@ -308,250 +330,285 @@ function $serializer() {
|
|
|
308
330
|
var tmp40_local35 = null;
|
|
309
331
|
var tmp41_local36 = null;
|
|
310
332
|
var tmp42_local37 = null;
|
|
311
|
-
var
|
|
312
|
-
var
|
|
313
|
-
|
|
314
|
-
|
|
333
|
+
var tmp43_local38 = null;
|
|
334
|
+
var tmp44_local39 = null;
|
|
335
|
+
var tmp45_local40 = null;
|
|
336
|
+
var tmp46_local41 = null;
|
|
337
|
+
var tmp47_local42 = null;
|
|
338
|
+
var tmp48_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
339
|
+
var tmp49_cached = Companion_getInstance().$childSerializers_1;
|
|
340
|
+
if (tmp48_input.decodeSequentially_xlblqy_k$()) {
|
|
341
|
+
tmp5_local0 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp49_cached[0].get_value_j01efc_k$(), tmp5_local0);
|
|
315
342
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
316
|
-
tmp6_local1 =
|
|
343
|
+
tmp6_local1 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp6_local1);
|
|
317
344
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
318
|
-
tmp7_local2 =
|
|
345
|
+
tmp7_local2 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, StringSerializer_getInstance(), tmp7_local2);
|
|
319
346
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
320
|
-
tmp8_local3 =
|
|
347
|
+
tmp8_local3 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance(), tmp8_local3);
|
|
321
348
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
322
|
-
tmp9_local4 =
|
|
349
|
+
tmp9_local4 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance(), tmp9_local4);
|
|
323
350
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
324
|
-
tmp10_local5 =
|
|
351
|
+
tmp10_local5 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance(), tmp10_local5);
|
|
325
352
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
326
|
-
tmp11_local6 =
|
|
353
|
+
tmp11_local6 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, StringSerializer_getInstance(), tmp11_local6);
|
|
327
354
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
328
|
-
tmp12_local7 =
|
|
355
|
+
tmp12_local7 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, StringSerializer_getInstance(), tmp12_local7);
|
|
329
356
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
330
|
-
tmp13_local8 =
|
|
357
|
+
tmp13_local8 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, DoubleSerializer_getInstance(), tmp13_local8);
|
|
331
358
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
332
|
-
tmp14_local9 =
|
|
359
|
+
tmp14_local9 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, StringSerializer_getInstance(), tmp14_local9);
|
|
333
360
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
334
|
-
tmp15_local10 =
|
|
361
|
+
tmp15_local10 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, StringSerializer_getInstance(), tmp15_local10);
|
|
335
362
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
336
|
-
tmp16_local11 =
|
|
363
|
+
tmp16_local11 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, LongSerializer_getInstance(), tmp16_local11);
|
|
337
364
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
338
|
-
tmp17_local12 =
|
|
365
|
+
tmp17_local12 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, LongSerializer_getInstance(), tmp17_local12);
|
|
339
366
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
340
|
-
tmp18_local13 =
|
|
367
|
+
tmp18_local13 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, tmp49_cached[13].get_value_j01efc_k$(), tmp18_local13);
|
|
341
368
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
342
|
-
tmp19_local14 =
|
|
369
|
+
tmp19_local14 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 14, tmp49_cached[14].get_value_j01efc_k$(), tmp19_local14);
|
|
343
370
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
344
|
-
tmp20_local15 =
|
|
371
|
+
tmp20_local15 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 15, tmp49_cached[15].get_value_j01efc_k$(), tmp20_local15);
|
|
345
372
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
346
|
-
tmp21_local16 =
|
|
373
|
+
tmp21_local16 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 16, DoubleSerializer_getInstance(), tmp21_local16);
|
|
347
374
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
348
|
-
tmp22_local17 =
|
|
375
|
+
tmp22_local17 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp22_local17);
|
|
349
376
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
350
|
-
tmp23_local18 =
|
|
377
|
+
tmp23_local18 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp23_local18);
|
|
351
378
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
352
|
-
tmp24_local19 =
|
|
379
|
+
tmp24_local19 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 19, BooleanSerializer_getInstance(), tmp24_local19);
|
|
353
380
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
354
|
-
tmp25_local20 =
|
|
381
|
+
tmp25_local20 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 20, BooleanSerializer_getInstance(), tmp25_local20);
|
|
355
382
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
356
|
-
tmp26_local21 =
|
|
383
|
+
tmp26_local21 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 21, tmp49_cached[21].get_value_j01efc_k$(), tmp26_local21);
|
|
357
384
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
358
|
-
tmp27_local22 =
|
|
385
|
+
tmp27_local22 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 22, tmp49_cached[22].get_value_j01efc_k$(), tmp27_local22);
|
|
359
386
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
360
|
-
tmp28_local23 =
|
|
387
|
+
tmp28_local23 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 23, LongSerializer_getInstance(), tmp28_local23);
|
|
361
388
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
362
|
-
tmp29_local24 =
|
|
389
|
+
tmp29_local24 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 24, LongSerializer_getInstance(), tmp29_local24);
|
|
363
390
|
tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
|
|
364
|
-
tmp30_local25 =
|
|
391
|
+
tmp30_local25 = tmp48_input.decodeLongElement_994anb_k$(tmp0_desc, 25);
|
|
365
392
|
tmp3_bitMask0 = tmp3_bitMask0 | 33554432;
|
|
366
|
-
tmp31_local26 =
|
|
393
|
+
tmp31_local26 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 26, BooleanSerializer_getInstance(), tmp31_local26);
|
|
367
394
|
tmp3_bitMask0 = tmp3_bitMask0 | 67108864;
|
|
368
|
-
tmp32_local27 =
|
|
395
|
+
tmp32_local27 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 27, StringSerializer_getInstance(), tmp32_local27);
|
|
369
396
|
tmp3_bitMask0 = tmp3_bitMask0 | 134217728;
|
|
370
|
-
tmp33_local28 =
|
|
397
|
+
tmp33_local28 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 28, $serializer_getInstance_1(), tmp33_local28);
|
|
371
398
|
tmp3_bitMask0 = tmp3_bitMask0 | 268435456;
|
|
372
|
-
tmp34_local29 =
|
|
399
|
+
tmp34_local29 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 29, StringSerializer_getInstance(), tmp34_local29);
|
|
373
400
|
tmp3_bitMask0 = tmp3_bitMask0 | 536870912;
|
|
374
|
-
tmp35_local30 =
|
|
401
|
+
tmp35_local30 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 30, StringSerializer_getInstance(), tmp35_local30);
|
|
375
402
|
tmp3_bitMask0 = tmp3_bitMask0 | 1073741824;
|
|
376
|
-
tmp36_local31 =
|
|
403
|
+
tmp36_local31 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 31, StringSerializer_getInstance(), tmp36_local31);
|
|
377
404
|
tmp3_bitMask0 = tmp3_bitMask0 | -2147483648;
|
|
378
|
-
tmp37_local32 =
|
|
405
|
+
tmp37_local32 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 32, DoubleSerializer_getInstance(), tmp37_local32);
|
|
379
406
|
tmp4_bitMask1 = tmp4_bitMask1 | 1;
|
|
380
|
-
tmp38_local33 =
|
|
407
|
+
tmp38_local33 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 33, StringSerializer_getInstance(), tmp38_local33);
|
|
381
408
|
tmp4_bitMask1 = tmp4_bitMask1 | 2;
|
|
382
|
-
tmp39_local34 =
|
|
409
|
+
tmp39_local34 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 34, StringSerializer_getInstance(), tmp39_local34);
|
|
383
410
|
tmp4_bitMask1 = tmp4_bitMask1 | 4;
|
|
384
|
-
tmp40_local35 =
|
|
411
|
+
tmp40_local35 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 35, StringSerializer_getInstance(), tmp40_local35);
|
|
385
412
|
tmp4_bitMask1 = tmp4_bitMask1 | 8;
|
|
386
|
-
tmp41_local36 =
|
|
413
|
+
tmp41_local36 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 36, DoubleSerializer_getInstance(), tmp41_local36);
|
|
387
414
|
tmp4_bitMask1 = tmp4_bitMask1 | 16;
|
|
388
|
-
tmp42_local37 =
|
|
415
|
+
tmp42_local37 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 37, StringSerializer_getInstance(), tmp42_local37);
|
|
389
416
|
tmp4_bitMask1 = tmp4_bitMask1 | 32;
|
|
417
|
+
tmp43_local38 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 38, StringSerializer_getInstance(), tmp43_local38);
|
|
418
|
+
tmp4_bitMask1 = tmp4_bitMask1 | 64;
|
|
419
|
+
tmp44_local39 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 39, LongSerializer_getInstance(), tmp44_local39);
|
|
420
|
+
tmp4_bitMask1 = tmp4_bitMask1 | 128;
|
|
421
|
+
tmp45_local40 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 40, DoubleSerializer_getInstance(), tmp45_local40);
|
|
422
|
+
tmp4_bitMask1 = tmp4_bitMask1 | 256;
|
|
423
|
+
tmp46_local41 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 41, StringSerializer_getInstance(), tmp46_local41);
|
|
424
|
+
tmp4_bitMask1 = tmp4_bitMask1 | 512;
|
|
425
|
+
tmp47_local42 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 42, StringSerializer_getInstance(), tmp47_local42);
|
|
426
|
+
tmp4_bitMask1 = tmp4_bitMask1 | 1024;
|
|
390
427
|
} else
|
|
391
428
|
while (tmp1_flag) {
|
|
392
|
-
tmp2_index =
|
|
429
|
+
tmp2_index = tmp48_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
393
430
|
switch (tmp2_index) {
|
|
394
431
|
case -1:
|
|
395
432
|
tmp1_flag = false;
|
|
396
433
|
break;
|
|
397
434
|
case 0:
|
|
398
|
-
tmp5_local0 =
|
|
435
|
+
tmp5_local0 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp49_cached[0].get_value_j01efc_k$(), tmp5_local0);
|
|
399
436
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
400
437
|
break;
|
|
401
438
|
case 1:
|
|
402
|
-
tmp6_local1 =
|
|
439
|
+
tmp6_local1 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp6_local1);
|
|
403
440
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
404
441
|
break;
|
|
405
442
|
case 2:
|
|
406
|
-
tmp7_local2 =
|
|
443
|
+
tmp7_local2 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, StringSerializer_getInstance(), tmp7_local2);
|
|
407
444
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
408
445
|
break;
|
|
409
446
|
case 3:
|
|
410
|
-
tmp8_local3 =
|
|
447
|
+
tmp8_local3 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance(), tmp8_local3);
|
|
411
448
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
412
449
|
break;
|
|
413
450
|
case 4:
|
|
414
|
-
tmp9_local4 =
|
|
451
|
+
tmp9_local4 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance(), tmp9_local4);
|
|
415
452
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
416
453
|
break;
|
|
417
454
|
case 5:
|
|
418
|
-
tmp10_local5 =
|
|
455
|
+
tmp10_local5 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance(), tmp10_local5);
|
|
419
456
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
420
457
|
break;
|
|
421
458
|
case 6:
|
|
422
|
-
tmp11_local6 =
|
|
459
|
+
tmp11_local6 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, StringSerializer_getInstance(), tmp11_local6);
|
|
423
460
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
424
461
|
break;
|
|
425
462
|
case 7:
|
|
426
|
-
tmp12_local7 =
|
|
463
|
+
tmp12_local7 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, StringSerializer_getInstance(), tmp12_local7);
|
|
427
464
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
428
465
|
break;
|
|
429
466
|
case 8:
|
|
430
|
-
tmp13_local8 =
|
|
467
|
+
tmp13_local8 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, DoubleSerializer_getInstance(), tmp13_local8);
|
|
431
468
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
432
469
|
break;
|
|
433
470
|
case 9:
|
|
434
|
-
tmp14_local9 =
|
|
471
|
+
tmp14_local9 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, StringSerializer_getInstance(), tmp14_local9);
|
|
435
472
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
436
473
|
break;
|
|
437
474
|
case 10:
|
|
438
|
-
tmp15_local10 =
|
|
475
|
+
tmp15_local10 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, StringSerializer_getInstance(), tmp15_local10);
|
|
439
476
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
440
477
|
break;
|
|
441
478
|
case 11:
|
|
442
|
-
tmp16_local11 =
|
|
479
|
+
tmp16_local11 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, LongSerializer_getInstance(), tmp16_local11);
|
|
443
480
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
444
481
|
break;
|
|
445
482
|
case 12:
|
|
446
|
-
tmp17_local12 =
|
|
483
|
+
tmp17_local12 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, LongSerializer_getInstance(), tmp17_local12);
|
|
447
484
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
448
485
|
break;
|
|
449
486
|
case 13:
|
|
450
|
-
tmp18_local13 =
|
|
487
|
+
tmp18_local13 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, tmp49_cached[13].get_value_j01efc_k$(), tmp18_local13);
|
|
451
488
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
452
489
|
break;
|
|
453
490
|
case 14:
|
|
454
|
-
tmp19_local14 =
|
|
491
|
+
tmp19_local14 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 14, tmp49_cached[14].get_value_j01efc_k$(), tmp19_local14);
|
|
455
492
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
456
493
|
break;
|
|
457
494
|
case 15:
|
|
458
|
-
tmp20_local15 =
|
|
495
|
+
tmp20_local15 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 15, tmp49_cached[15].get_value_j01efc_k$(), tmp20_local15);
|
|
459
496
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
460
497
|
break;
|
|
461
498
|
case 16:
|
|
462
|
-
tmp21_local16 =
|
|
499
|
+
tmp21_local16 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 16, DoubleSerializer_getInstance(), tmp21_local16);
|
|
463
500
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
464
501
|
break;
|
|
465
502
|
case 17:
|
|
466
|
-
tmp22_local17 =
|
|
503
|
+
tmp22_local17 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp22_local17);
|
|
467
504
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
468
505
|
break;
|
|
469
506
|
case 18:
|
|
470
|
-
tmp23_local18 =
|
|
507
|
+
tmp23_local18 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp23_local18);
|
|
471
508
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
472
509
|
break;
|
|
473
510
|
case 19:
|
|
474
|
-
tmp24_local19 =
|
|
511
|
+
tmp24_local19 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 19, BooleanSerializer_getInstance(), tmp24_local19);
|
|
475
512
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
476
513
|
break;
|
|
477
514
|
case 20:
|
|
478
|
-
tmp25_local20 =
|
|
515
|
+
tmp25_local20 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 20, BooleanSerializer_getInstance(), tmp25_local20);
|
|
479
516
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
480
517
|
break;
|
|
481
518
|
case 21:
|
|
482
|
-
tmp26_local21 =
|
|
519
|
+
tmp26_local21 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 21, tmp49_cached[21].get_value_j01efc_k$(), tmp26_local21);
|
|
483
520
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
484
521
|
break;
|
|
485
522
|
case 22:
|
|
486
|
-
tmp27_local22 =
|
|
523
|
+
tmp27_local22 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 22, tmp49_cached[22].get_value_j01efc_k$(), tmp27_local22);
|
|
487
524
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
488
525
|
break;
|
|
489
526
|
case 23:
|
|
490
|
-
tmp28_local23 =
|
|
527
|
+
tmp28_local23 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 23, LongSerializer_getInstance(), tmp28_local23);
|
|
491
528
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
492
529
|
break;
|
|
493
530
|
case 24:
|
|
494
|
-
tmp29_local24 =
|
|
531
|
+
tmp29_local24 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 24, LongSerializer_getInstance(), tmp29_local24);
|
|
495
532
|
tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
|
|
496
533
|
break;
|
|
497
534
|
case 25:
|
|
498
|
-
tmp30_local25 =
|
|
535
|
+
tmp30_local25 = tmp48_input.decodeLongElement_994anb_k$(tmp0_desc, 25);
|
|
499
536
|
tmp3_bitMask0 = tmp3_bitMask0 | 33554432;
|
|
500
537
|
break;
|
|
501
538
|
case 26:
|
|
502
|
-
tmp31_local26 =
|
|
539
|
+
tmp31_local26 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 26, BooleanSerializer_getInstance(), tmp31_local26);
|
|
503
540
|
tmp3_bitMask0 = tmp3_bitMask0 | 67108864;
|
|
504
541
|
break;
|
|
505
542
|
case 27:
|
|
506
|
-
tmp32_local27 =
|
|
543
|
+
tmp32_local27 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 27, StringSerializer_getInstance(), tmp32_local27);
|
|
507
544
|
tmp3_bitMask0 = tmp3_bitMask0 | 134217728;
|
|
508
545
|
break;
|
|
509
546
|
case 28:
|
|
510
|
-
tmp33_local28 =
|
|
547
|
+
tmp33_local28 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 28, $serializer_getInstance_1(), tmp33_local28);
|
|
511
548
|
tmp3_bitMask0 = tmp3_bitMask0 | 268435456;
|
|
512
549
|
break;
|
|
513
550
|
case 29:
|
|
514
|
-
tmp34_local29 =
|
|
551
|
+
tmp34_local29 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 29, StringSerializer_getInstance(), tmp34_local29);
|
|
515
552
|
tmp3_bitMask0 = tmp3_bitMask0 | 536870912;
|
|
516
553
|
break;
|
|
517
554
|
case 30:
|
|
518
|
-
tmp35_local30 =
|
|
555
|
+
tmp35_local30 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 30, StringSerializer_getInstance(), tmp35_local30);
|
|
519
556
|
tmp3_bitMask0 = tmp3_bitMask0 | 1073741824;
|
|
520
557
|
break;
|
|
521
558
|
case 31:
|
|
522
|
-
tmp36_local31 =
|
|
559
|
+
tmp36_local31 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 31, StringSerializer_getInstance(), tmp36_local31);
|
|
523
560
|
tmp3_bitMask0 = tmp3_bitMask0 | -2147483648;
|
|
524
561
|
break;
|
|
525
562
|
case 32:
|
|
526
|
-
tmp37_local32 =
|
|
563
|
+
tmp37_local32 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 32, DoubleSerializer_getInstance(), tmp37_local32);
|
|
527
564
|
tmp4_bitMask1 = tmp4_bitMask1 | 1;
|
|
528
565
|
break;
|
|
529
566
|
case 33:
|
|
530
|
-
tmp38_local33 =
|
|
567
|
+
tmp38_local33 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 33, StringSerializer_getInstance(), tmp38_local33);
|
|
531
568
|
tmp4_bitMask1 = tmp4_bitMask1 | 2;
|
|
532
569
|
break;
|
|
533
570
|
case 34:
|
|
534
|
-
tmp39_local34 =
|
|
571
|
+
tmp39_local34 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 34, StringSerializer_getInstance(), tmp39_local34);
|
|
535
572
|
tmp4_bitMask1 = tmp4_bitMask1 | 4;
|
|
536
573
|
break;
|
|
537
574
|
case 35:
|
|
538
|
-
tmp40_local35 =
|
|
575
|
+
tmp40_local35 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 35, StringSerializer_getInstance(), tmp40_local35);
|
|
539
576
|
tmp4_bitMask1 = tmp4_bitMask1 | 8;
|
|
540
577
|
break;
|
|
541
578
|
case 36:
|
|
542
|
-
tmp41_local36 =
|
|
579
|
+
tmp41_local36 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 36, DoubleSerializer_getInstance(), tmp41_local36);
|
|
543
580
|
tmp4_bitMask1 = tmp4_bitMask1 | 16;
|
|
544
581
|
break;
|
|
545
582
|
case 37:
|
|
546
|
-
tmp42_local37 =
|
|
583
|
+
tmp42_local37 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 37, StringSerializer_getInstance(), tmp42_local37);
|
|
547
584
|
tmp4_bitMask1 = tmp4_bitMask1 | 32;
|
|
548
585
|
break;
|
|
586
|
+
case 38:
|
|
587
|
+
tmp43_local38 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 38, StringSerializer_getInstance(), tmp43_local38);
|
|
588
|
+
tmp4_bitMask1 = tmp4_bitMask1 | 64;
|
|
589
|
+
break;
|
|
590
|
+
case 39:
|
|
591
|
+
tmp44_local39 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 39, LongSerializer_getInstance(), tmp44_local39);
|
|
592
|
+
tmp4_bitMask1 = tmp4_bitMask1 | 128;
|
|
593
|
+
break;
|
|
594
|
+
case 40:
|
|
595
|
+
tmp45_local40 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 40, DoubleSerializer_getInstance(), tmp45_local40);
|
|
596
|
+
tmp4_bitMask1 = tmp4_bitMask1 | 256;
|
|
597
|
+
break;
|
|
598
|
+
case 41:
|
|
599
|
+
tmp46_local41 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 41, StringSerializer_getInstance(), tmp46_local41);
|
|
600
|
+
tmp4_bitMask1 = tmp4_bitMask1 | 512;
|
|
601
|
+
break;
|
|
602
|
+
case 42:
|
|
603
|
+
tmp47_local42 = tmp48_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 42, StringSerializer_getInstance(), tmp47_local42);
|
|
604
|
+
tmp4_bitMask1 = tmp4_bitMask1 | 1024;
|
|
605
|
+
break;
|
|
549
606
|
default:
|
|
550
607
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
551
608
|
}
|
|
552
609
|
}
|
|
553
|
-
|
|
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);
|
|
610
|
+
tmp48_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
611
|
+
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, tmp43_local38, tmp44_local39, tmp45_local40, tmp46_local41, tmp47_local42, null);
|
|
555
612
|
};
|
|
556
613
|
protoOf($).get_descriptor_wjt6a0_k$ = function () {
|
|
557
614
|
return this.descriptor_1;
|
|
@@ -561,7 +618,7 @@ function $serializer() {
|
|
|
561
618
|
// Inline function 'kotlin.arrayOf' call
|
|
562
619
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
563
620
|
// Inline function 'kotlin.js.asDynamic' call
|
|
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[
|
|
621
|
+
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(DoubleSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(tmp0_cached[21].get_value_j01efc_k$()), get_nullable(tmp0_cached[22].get_value_j01efc_k$()), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), LongSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_1()), 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(StringSerializer_getInstance()), get_nullable(DoubleSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(DoubleSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
565
622
|
};
|
|
566
623
|
protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
|
|
567
624
|
$serializerClass = $;
|
|
@@ -569,18 +626,18 @@ function $serializer() {
|
|
|
569
626
|
return $serializerClass;
|
|
570
627
|
}
|
|
571
628
|
var $serializer_instance;
|
|
572
|
-
function $
|
|
629
|
+
function $serializer_getInstance_2() {
|
|
573
630
|
if ($serializer_instance == null)
|
|
574
631
|
new ($serializer())();
|
|
575
632
|
return $serializer_instance;
|
|
576
633
|
}
|
|
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 (!!(!(
|
|
634
|
+
function Building_init_$Init$(seen0, seen1, alterations, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, grossTotalSqm, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, location, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, registerState, residentialSqm, sewer, sewerCode, storeyCount, usableTotalSqm, waterSupply, waterSupplyCode, serializationConstructorMarker, $this) {
|
|
635
|
+
if (!!(!(33554432 === (33554432 & seen0)) | !(0 === (0 & seen1)))) {
|
|
579
636
|
// Inline function 'kotlin.intArrayOf' call
|
|
580
637
|
var tmp = new Int32Array([seen0, seen1]);
|
|
581
638
|
// Inline function 'kotlin.intArrayOf' call
|
|
582
|
-
var tmp$ret$1 = new Int32Array([
|
|
583
|
-
throwArrayMissingFieldException(tmp, tmp$ret$1, $
|
|
639
|
+
var tmp$ret$1 = new Int32Array([33554432, 0]);
|
|
640
|
+
throwArrayMissingFieldException(tmp, tmp$ret$1, $serializer_getInstance_2().descriptor_1);
|
|
584
641
|
}
|
|
585
642
|
if (0 === (seen0 & 1))
|
|
586
643
|
$this.alterations = null;
|
|
@@ -647,100 +704,120 @@ function Building_init_$Init$(seen0, seen1, alterations, buildingChange, buildin
|
|
|
647
704
|
else
|
|
648
705
|
$this.floors = floors;
|
|
649
706
|
if (0 === (seen0 & 65536))
|
|
707
|
+
$this.grossTotalSqm = null;
|
|
708
|
+
else
|
|
709
|
+
$this.grossTotalSqm = grossTotalSqm;
|
|
710
|
+
if (0 === (seen0 & 131072))
|
|
650
711
|
$this.hasCulturalMemory = null;
|
|
651
712
|
else
|
|
652
713
|
$this.hasCulturalMemory = hasCulturalMemory;
|
|
653
|
-
if (0 === (seen0 &
|
|
714
|
+
if (0 === (seen0 & 262144))
|
|
654
715
|
$this.hasElevator = null;
|
|
655
716
|
else
|
|
656
717
|
$this.hasElevator = hasElevator;
|
|
657
|
-
if (0 === (seen0 &
|
|
718
|
+
if (0 === (seen0 & 524288))
|
|
658
719
|
$this.hasIncompleteArea = null;
|
|
659
720
|
else
|
|
660
721
|
$this.hasIncompleteArea = hasIncompleteArea;
|
|
661
|
-
if (0 === (seen0 &
|
|
722
|
+
if (0 === (seen0 & 1048576))
|
|
662
723
|
$this.hasSEFRAK = null;
|
|
663
724
|
else
|
|
664
725
|
$this.hasSEFRAK = hasSEFRAK;
|
|
665
|
-
if (0 === (seen0 &
|
|
726
|
+
if (0 === (seen0 & 2097152))
|
|
666
727
|
$this.heatingSourceCodes = null;
|
|
667
728
|
else
|
|
668
729
|
$this.heatingSourceCodes = heatingSourceCodes;
|
|
669
|
-
if (0 === (seen0 &
|
|
730
|
+
if (0 === (seen0 & 4194304))
|
|
670
731
|
$this.heatingSources = null;
|
|
671
732
|
else
|
|
672
733
|
$this.heatingSources = heatingSources;
|
|
673
|
-
if (0 === (seen0 &
|
|
734
|
+
if (0 === (seen0 & 8388608))
|
|
674
735
|
$this.historicId = null;
|
|
675
736
|
else
|
|
676
737
|
$this.historicId = historicId;
|
|
677
|
-
if (0 === (seen0 &
|
|
738
|
+
if (0 === (seen0 & 16777216))
|
|
678
739
|
$this.housingUnitCount = null;
|
|
679
740
|
else
|
|
680
741
|
$this.housingUnitCount = housingUnitCount;
|
|
681
742
|
$this.id = id;
|
|
682
|
-
if (0 === (seen0 &
|
|
743
|
+
if (0 === (seen0 & 67108864))
|
|
683
744
|
$this.isProtected = null;
|
|
684
745
|
else
|
|
685
746
|
$this.isProtected = isProtected;
|
|
686
|
-
if (0 === (seen0 &
|
|
747
|
+
if (0 === (seen0 & 134217728))
|
|
687
748
|
$this.kartverketId = null;
|
|
688
749
|
else
|
|
689
750
|
$this.kartverketId = kartverketId;
|
|
690
|
-
if (0 === (seen0 &
|
|
751
|
+
if (0 === (seen0 & 268435456))
|
|
752
|
+
$this.location = null;
|
|
753
|
+
else
|
|
754
|
+
$this.location = location;
|
|
755
|
+
if (0 === (seen0 & 536870912))
|
|
691
756
|
$this.municipalityName = null;
|
|
692
757
|
else
|
|
693
758
|
$this.municipalityName = municipalityName;
|
|
694
|
-
if (0 === (seen0 &
|
|
759
|
+
if (0 === (seen0 & 1073741824))
|
|
695
760
|
$this.municipalityNumber = null;
|
|
696
761
|
else
|
|
697
762
|
$this.municipalityNumber = municipalityNumber;
|
|
698
|
-
if (0 === (seen0 &
|
|
763
|
+
if (0 === (seen0 & -2147483648))
|
|
699
764
|
$this.name = null;
|
|
700
765
|
else
|
|
701
766
|
$this.name = name;
|
|
702
|
-
if (0 === (
|
|
767
|
+
if (0 === (seen1 & 1))
|
|
703
768
|
$this.nonResidentialSqm = null;
|
|
704
769
|
else
|
|
705
770
|
$this.nonResidentialSqm = nonResidentialSqm;
|
|
706
|
-
if (0 === (
|
|
771
|
+
if (0 === (seen1 & 2))
|
|
707
772
|
$this.origin = null;
|
|
708
773
|
else
|
|
709
774
|
$this.origin = origin;
|
|
710
|
-
if (0 === (seen1 &
|
|
775
|
+
if (0 === (seen1 & 4))
|
|
711
776
|
$this.originCode = null;
|
|
712
777
|
else
|
|
713
778
|
$this.originCode = originCode;
|
|
714
|
-
if (0 === (seen1 &
|
|
779
|
+
if (0 === (seen1 & 8))
|
|
780
|
+
$this.registerState = null;
|
|
781
|
+
else
|
|
782
|
+
$this.registerState = registerState;
|
|
783
|
+
if (0 === (seen1 & 16))
|
|
715
784
|
$this.residentialSqm = null;
|
|
716
785
|
else
|
|
717
786
|
$this.residentialSqm = residentialSqm;
|
|
718
|
-
if (0 === (seen1 &
|
|
787
|
+
if (0 === (seen1 & 32))
|
|
719
788
|
$this.sewer = null;
|
|
720
789
|
else
|
|
721
790
|
$this.sewer = sewer;
|
|
722
|
-
if (0 === (seen1 &
|
|
791
|
+
if (0 === (seen1 & 64))
|
|
723
792
|
$this.sewerCode = null;
|
|
724
793
|
else
|
|
725
794
|
$this.sewerCode = sewerCode;
|
|
726
|
-
if (0 === (seen1 &
|
|
795
|
+
if (0 === (seen1 & 128))
|
|
796
|
+
$this.storeyCount = null;
|
|
797
|
+
else
|
|
798
|
+
$this.storeyCount = storeyCount;
|
|
799
|
+
if (0 === (seen1 & 256))
|
|
800
|
+
$this.usableTotalSqm = null;
|
|
801
|
+
else
|
|
802
|
+
$this.usableTotalSqm = usableTotalSqm;
|
|
803
|
+
if (0 === (seen1 & 512))
|
|
727
804
|
$this.waterSupply = null;
|
|
728
805
|
else
|
|
729
806
|
$this.waterSupply = waterSupply;
|
|
730
|
-
if (0 === (seen1 &
|
|
807
|
+
if (0 === (seen1 & 1024))
|
|
731
808
|
$this.waterSupplyCode = null;
|
|
732
809
|
else
|
|
733
810
|
$this.waterSupplyCode = waterSupplyCode;
|
|
734
811
|
return $this;
|
|
735
812
|
}
|
|
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())));
|
|
813
|
+
function Building_init_$Create$(seen0, seen1, alterations, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, grossTotalSqm, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, location, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, registerState, residentialSqm, sewer, sewerCode, storeyCount, usableTotalSqm, waterSupply, waterSupplyCode, serializationConstructorMarker) {
|
|
814
|
+
return Building_init_$Init$(seen0, seen1, alterations, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, grossTotalSqm, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, location, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, registerState, residentialSqm, sewer, sewerCode, storeyCount, usableTotalSqm, waterSupply, waterSupplyCode, serializationConstructorMarker, objectCreate(protoOf(Building())));
|
|
738
815
|
}
|
|
739
816
|
var BuildingClass;
|
|
740
817
|
function Building() {
|
|
741
818
|
if (BuildingClass === VOID) {
|
|
742
|
-
initMetadataForClass($, 'Building', VOID, VOID, VOID, VOID, VOID, {0: $
|
|
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) {
|
|
819
|
+
initMetadataForClass($, 'Building', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_2});
|
|
820
|
+
function $(alterations, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, grossTotalSqm, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, location, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, registerState, residentialSqm, sewer, sewerCode, storeyCount, usableTotalSqm, waterSupply, waterSupplyCode) {
|
|
744
821
|
var __soliboProps = arguments.length === 1 && typeof alterations === 'object' && alterations !== null && alterations.constructor === Object;
|
|
745
822
|
var __soliboTmp, __soliboConverted = false;
|
|
746
823
|
if (__soliboProps) {
|
|
@@ -761,6 +838,7 @@ function Building() {
|
|
|
761
838
|
energySourceCodes = ('energySourceCodes' in props ? props.energySourceCodes : VOID);
|
|
762
839
|
energySources = ('energySources' in props ? props.energySources : VOID);
|
|
763
840
|
floors = ('floors' in props ? props.floors : VOID);
|
|
841
|
+
grossTotalSqm = ('grossTotalSqm' in props ? props.grossTotalSqm : VOID);
|
|
764
842
|
hasCulturalMemory = ('hasCulturalMemory' in props ? props.hasCulturalMemory : VOID);
|
|
765
843
|
hasElevator = ('hasElevator' in props ? props.hasElevator : VOID);
|
|
766
844
|
hasIncompleteArea = ('hasIncompleteArea' in props ? props.hasIncompleteArea : VOID);
|
|
@@ -772,15 +850,19 @@ function Building() {
|
|
|
772
850
|
id = ('id' in props ? props.id : VOID);
|
|
773
851
|
isProtected = ('isProtected' in props ? props.isProtected : VOID);
|
|
774
852
|
kartverketId = ('kartverketId' in props ? props.kartverketId : VOID);
|
|
853
|
+
location = ('location' in props ? props.location : VOID);
|
|
775
854
|
municipalityName = ('municipalityName' in props ? props.municipalityName : VOID);
|
|
776
855
|
municipalityNumber = ('municipalityNumber' in props ? props.municipalityNumber : VOID);
|
|
777
856
|
name = ('name' in props ? props.name : VOID);
|
|
778
857
|
nonResidentialSqm = ('nonResidentialSqm' in props ? props.nonResidentialSqm : VOID);
|
|
779
858
|
origin = ('origin' in props ? props.origin : VOID);
|
|
780
859
|
originCode = ('originCode' in props ? props.originCode : VOID);
|
|
860
|
+
registerState = ('registerState' in props ? props.registerState : VOID);
|
|
781
861
|
residentialSqm = ('residentialSqm' in props ? props.residentialSqm : VOID);
|
|
782
862
|
sewer = ('sewer' in props ? props.sewer : VOID);
|
|
783
863
|
sewerCode = ('sewerCode' in props ? props.sewerCode : VOID);
|
|
864
|
+
storeyCount = ('storeyCount' in props ? props.storeyCount : VOID);
|
|
865
|
+
usableTotalSqm = ('usableTotalSqm' in props ? props.usableTotalSqm : VOID);
|
|
784
866
|
waterSupply = ('waterSupply' in props ? props.waterSupply : VOID);
|
|
785
867
|
waterSupplyCode = ('waterSupplyCode' in props ? props.waterSupplyCode : VOID);
|
|
786
868
|
}
|
|
@@ -796,6 +878,8 @@ function Building() {
|
|
|
796
878
|
if ((__soliboTmp = __soliboToKt(historicId, ["bigint"])) !== historicId) { historicId = __soliboTmp; __soliboConverted = true; }
|
|
797
879
|
if ((__soliboTmp = __soliboToKt(housingUnitCount, ["bigint"])) !== housingUnitCount) { housingUnitCount = __soliboTmp; __soliboConverted = true; }
|
|
798
880
|
if ((__soliboTmp = __soliboToKt(id, ["bigint"])) !== id) { id = __soliboTmp; __soliboConverted = true; }
|
|
881
|
+
if ((__soliboTmp = __soliboToKt(location, ["model","CompanyLocation"])) !== location) { location = __soliboTmp; __soliboConverted = true; }
|
|
882
|
+
if ((__soliboTmp = __soliboToKt(storeyCount, ["bigint"])) !== storeyCount) { storeyCount = __soliboTmp; __soliboConverted = true; }
|
|
799
883
|
Companion_getInstance();
|
|
800
884
|
alterations = alterations === VOID ? null : alterations;
|
|
801
885
|
buildingChange = buildingChange === VOID ? null : buildingChange;
|
|
@@ -813,6 +897,7 @@ function Building() {
|
|
|
813
897
|
energySourceCodes = energySourceCodes === VOID ? null : energySourceCodes;
|
|
814
898
|
energySources = energySources === VOID ? null : energySources;
|
|
815
899
|
floors = floors === VOID ? null : floors;
|
|
900
|
+
grossTotalSqm = grossTotalSqm === VOID ? null : grossTotalSqm;
|
|
816
901
|
hasCulturalMemory = hasCulturalMemory === VOID ? null : hasCulturalMemory;
|
|
817
902
|
hasElevator = hasElevator === VOID ? null : hasElevator;
|
|
818
903
|
hasIncompleteArea = hasIncompleteArea === VOID ? null : hasIncompleteArea;
|
|
@@ -823,15 +908,19 @@ function Building() {
|
|
|
823
908
|
housingUnitCount = housingUnitCount === VOID ? null : housingUnitCount;
|
|
824
909
|
isProtected = isProtected === VOID ? null : isProtected;
|
|
825
910
|
kartverketId = kartverketId === VOID ? null : kartverketId;
|
|
911
|
+
location = location === VOID ? null : location;
|
|
826
912
|
municipalityName = municipalityName === VOID ? null : municipalityName;
|
|
827
913
|
municipalityNumber = municipalityNumber === VOID ? null : municipalityNumber;
|
|
828
914
|
name = name === VOID ? null : name;
|
|
829
915
|
nonResidentialSqm = nonResidentialSqm === VOID ? null : nonResidentialSqm;
|
|
830
916
|
origin = origin === VOID ? null : origin;
|
|
831
917
|
originCode = originCode === VOID ? null : originCode;
|
|
918
|
+
registerState = registerState === VOID ? null : registerState;
|
|
832
919
|
residentialSqm = residentialSqm === VOID ? null : residentialSqm;
|
|
833
920
|
sewer = sewer === VOID ? null : sewer;
|
|
834
921
|
sewerCode = sewerCode === VOID ? null : sewerCode;
|
|
922
|
+
storeyCount = storeyCount === VOID ? null : storeyCount;
|
|
923
|
+
usableTotalSqm = usableTotalSqm === VOID ? null : usableTotalSqm;
|
|
835
924
|
waterSupply = waterSupply === VOID ? null : waterSupply;
|
|
836
925
|
waterSupplyCode = waterSupplyCode === VOID ? null : waterSupplyCode;
|
|
837
926
|
this.alterations = alterations;
|
|
@@ -850,6 +939,7 @@ function Building() {
|
|
|
850
939
|
this.energySourceCodes = energySourceCodes;
|
|
851
940
|
this.energySources = energySources;
|
|
852
941
|
this.floors = floors;
|
|
942
|
+
this.grossTotalSqm = grossTotalSqm;
|
|
853
943
|
this.hasCulturalMemory = hasCulturalMemory;
|
|
854
944
|
this.hasElevator = hasElevator;
|
|
855
945
|
this.hasIncompleteArea = hasIncompleteArea;
|
|
@@ -861,15 +951,19 @@ function Building() {
|
|
|
861
951
|
this.id = id;
|
|
862
952
|
this.isProtected = isProtected;
|
|
863
953
|
this.kartverketId = kartverketId;
|
|
954
|
+
this.location = location;
|
|
864
955
|
this.municipalityName = municipalityName;
|
|
865
956
|
this.municipalityNumber = municipalityNumber;
|
|
866
957
|
this.name = name;
|
|
867
958
|
this.nonResidentialSqm = nonResidentialSqm;
|
|
868
959
|
this.origin = origin;
|
|
869
960
|
this.originCode = originCode;
|
|
961
|
+
this.registerState = registerState;
|
|
870
962
|
this.residentialSqm = residentialSqm;
|
|
871
963
|
this.sewer = sewer;
|
|
872
964
|
this.sewerCode = sewerCode;
|
|
965
|
+
this.storeyCount = storeyCount;
|
|
966
|
+
this.usableTotalSqm = usableTotalSqm;
|
|
873
967
|
this.waterSupply = waterSupply;
|
|
874
968
|
this.waterSupplyCode = waterSupplyCode;
|
|
875
969
|
if (__soliboConverted && !__soliboBoundaryState.internalConstruction) return __soliboToJs(this);
|
|
@@ -922,6 +1016,9 @@ function Building() {
|
|
|
922
1016
|
protoOf($).get_floors_ddokj4_k$ = function () {
|
|
923
1017
|
return this.floors;
|
|
924
1018
|
};
|
|
1019
|
+
protoOf($).get_grossTotalSqm_6j39d2_k$ = function () {
|
|
1020
|
+
return this.grossTotalSqm;
|
|
1021
|
+
};
|
|
925
1022
|
protoOf($).get_hasCulturalMemory_5wjf7w_k$ = function () {
|
|
926
1023
|
return this.hasCulturalMemory;
|
|
927
1024
|
};
|
|
@@ -955,6 +1052,9 @@ function Building() {
|
|
|
955
1052
|
protoOf($).get_kartverketId_e7pfw3_k$ = function () {
|
|
956
1053
|
return this.kartverketId;
|
|
957
1054
|
};
|
|
1055
|
+
protoOf($).get_location_d3s02_k$ = function () {
|
|
1056
|
+
return this.location;
|
|
1057
|
+
};
|
|
958
1058
|
protoOf($).get_municipalityName_hkvaxc_k$ = function () {
|
|
959
1059
|
return this.municipalityName;
|
|
960
1060
|
};
|
|
@@ -973,6 +1073,9 @@ function Building() {
|
|
|
973
1073
|
protoOf($).get_originCode_jordto_k$ = function () {
|
|
974
1074
|
return this.originCode;
|
|
975
1075
|
};
|
|
1076
|
+
protoOf($).get_registerState_odvbln_k$ = function () {
|
|
1077
|
+
return this.registerState;
|
|
1078
|
+
};
|
|
976
1079
|
protoOf($).get_residentialSqm_5c25e4_k$ = function () {
|
|
977
1080
|
return this.residentialSqm;
|
|
978
1081
|
};
|
|
@@ -982,6 +1085,12 @@ function Building() {
|
|
|
982
1085
|
protoOf($).get_sewerCode_9lj2i_k$ = function () {
|
|
983
1086
|
return this.sewerCode;
|
|
984
1087
|
};
|
|
1088
|
+
protoOf($).get_storeyCount_wd2a6_k$ = function () {
|
|
1089
|
+
return this.storeyCount;
|
|
1090
|
+
};
|
|
1091
|
+
protoOf($).get_usableTotalSqm_90k2do_k$ = function () {
|
|
1092
|
+
return this.usableTotalSqm;
|
|
1093
|
+
};
|
|
985
1094
|
protoOf($).get_waterSupply_jdv62l_k$ = function () {
|
|
986
1095
|
return this.waterSupply;
|
|
987
1096
|
};
|
|
@@ -1037,75 +1146,90 @@ function Building() {
|
|
|
1037
1146
|
return this.floors;
|
|
1038
1147
|
};
|
|
1039
1148
|
protoOf($).component17_gazzfh_k$ = function () {
|
|
1040
|
-
return this.
|
|
1149
|
+
return this.grossTotalSqm;
|
|
1041
1150
|
};
|
|
1042
1151
|
protoOf($).component18_gazzfg_k$ = function () {
|
|
1043
|
-
return this.
|
|
1152
|
+
return this.hasCulturalMemory;
|
|
1044
1153
|
};
|
|
1045
1154
|
protoOf($).component19_gazzff_k$ = function () {
|
|
1046
|
-
return this.
|
|
1155
|
+
return this.hasElevator;
|
|
1047
1156
|
};
|
|
1048
1157
|
protoOf($).component20_gazzet_k$ = function () {
|
|
1049
|
-
return this.
|
|
1158
|
+
return this.hasIncompleteArea;
|
|
1050
1159
|
};
|
|
1051
1160
|
protoOf($).component21_gazzes_k$ = function () {
|
|
1052
|
-
return this.
|
|
1161
|
+
return this.hasSEFRAK;
|
|
1053
1162
|
};
|
|
1054
1163
|
protoOf($).component22_gazzer_k$ = function () {
|
|
1055
|
-
return this.
|
|
1164
|
+
return this.heatingSourceCodes;
|
|
1056
1165
|
};
|
|
1057
1166
|
protoOf($).component23_gazzeq_k$ = function () {
|
|
1058
|
-
return this.
|
|
1167
|
+
return this.heatingSources;
|
|
1059
1168
|
};
|
|
1060
1169
|
protoOf($).component24_gazzep_k$ = function () {
|
|
1061
|
-
return this.
|
|
1170
|
+
return this.historicId;
|
|
1062
1171
|
};
|
|
1063
1172
|
protoOf($).component25_gazzeo_k$ = function () {
|
|
1064
|
-
return this.
|
|
1173
|
+
return this.housingUnitCount;
|
|
1065
1174
|
};
|
|
1066
1175
|
protoOf($).component26_gazzen_k$ = function () {
|
|
1067
|
-
return this.
|
|
1176
|
+
return this.id;
|
|
1068
1177
|
};
|
|
1069
1178
|
protoOf($).component27_gazzem_k$ = function () {
|
|
1070
|
-
return this.
|
|
1179
|
+
return this.isProtected;
|
|
1071
1180
|
};
|
|
1072
1181
|
protoOf($).component28_gazzel_k$ = function () {
|
|
1073
|
-
return this.
|
|
1182
|
+
return this.kartverketId;
|
|
1074
1183
|
};
|
|
1075
1184
|
protoOf($).component29_gazzek_k$ = function () {
|
|
1076
|
-
return this.
|
|
1185
|
+
return this.location;
|
|
1077
1186
|
};
|
|
1078
1187
|
protoOf($).component30_gazzdy_k$ = function () {
|
|
1079
|
-
return this.
|
|
1188
|
+
return this.municipalityName;
|
|
1080
1189
|
};
|
|
1081
1190
|
protoOf($).component31_gazzdx_k$ = function () {
|
|
1082
|
-
return this.
|
|
1191
|
+
return this.municipalityNumber;
|
|
1083
1192
|
};
|
|
1084
1193
|
protoOf($).component32_gazzdw_k$ = function () {
|
|
1085
|
-
return this.
|
|
1194
|
+
return this.name;
|
|
1086
1195
|
};
|
|
1087
1196
|
protoOf($).component33_gazzdv_k$ = function () {
|
|
1088
|
-
return this.
|
|
1197
|
+
return this.nonResidentialSqm;
|
|
1089
1198
|
};
|
|
1090
1199
|
protoOf($).component34_gazzdu_k$ = function () {
|
|
1091
|
-
return this.
|
|
1200
|
+
return this.origin;
|
|
1092
1201
|
};
|
|
1093
1202
|
protoOf($).component35_gazzdt_k$ = function () {
|
|
1094
|
-
return this.
|
|
1203
|
+
return this.originCode;
|
|
1095
1204
|
};
|
|
1096
1205
|
protoOf($).component36_gazzds_k$ = function () {
|
|
1097
|
-
return this.
|
|
1206
|
+
return this.registerState;
|
|
1098
1207
|
};
|
|
1099
1208
|
protoOf($).component37_gazzdr_k$ = function () {
|
|
1100
|
-
return this.
|
|
1209
|
+
return this.residentialSqm;
|
|
1101
1210
|
};
|
|
1102
1211
|
protoOf($).component38_gazzdq_k$ = function () {
|
|
1212
|
+
return this.sewer;
|
|
1213
|
+
};
|
|
1214
|
+
protoOf($).component39_gazzdp_k$ = function () {
|
|
1215
|
+
return this.sewerCode;
|
|
1216
|
+
};
|
|
1217
|
+
protoOf($).component40_gazzd3_k$ = function () {
|
|
1218
|
+
return this.storeyCount;
|
|
1219
|
+
};
|
|
1220
|
+
protoOf($).component41_gazzd2_k$ = function () {
|
|
1221
|
+
return this.usableTotalSqm;
|
|
1222
|
+
};
|
|
1223
|
+
protoOf($).component42_gazzd1_k$ = function () {
|
|
1224
|
+
return this.waterSupply;
|
|
1225
|
+
};
|
|
1226
|
+
protoOf($).component43_gazzd0_k$ = function () {
|
|
1103
1227
|
return this.waterSupplyCode;
|
|
1104
1228
|
};
|
|
1105
|
-
protoOf($).
|
|
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);
|
|
1229
|
+
protoOf($).copy_h9iex0_k$ = function (alterations, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, grossTotalSqm, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, location, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, registerState, residentialSqm, sewer, sewerCode, storeyCount, usableTotalSqm, waterSupply, waterSupplyCode) {
|
|
1230
|
+
return new (Building())(alterations, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, grossTotalSqm, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, location, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, registerState, residentialSqm, sewer, sewerCode, storeyCount, usableTotalSqm, waterSupply, waterSupplyCode);
|
|
1107
1231
|
};
|
|
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) {
|
|
1232
|
+
protoOf($).copy = function (alterations, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, grossTotalSqm, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, location, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, registerState, residentialSqm, sewer, sewerCode, storeyCount, usableTotalSqm, waterSupply, waterSupplyCode, $super) {
|
|
1109
1233
|
alterations = alterations === VOID ? this.alterations : alterations;
|
|
1110
1234
|
buildingChange = buildingChange === VOID ? this.buildingChange : buildingChange;
|
|
1111
1235
|
buildingChangeCode = buildingChangeCode === VOID ? this.buildingChangeCode : buildingChangeCode;
|
|
@@ -1122,6 +1246,7 @@ function Building() {
|
|
|
1122
1246
|
energySourceCodes = energySourceCodes === VOID ? this.energySourceCodes : energySourceCodes;
|
|
1123
1247
|
energySources = energySources === VOID ? this.energySources : energySources;
|
|
1124
1248
|
floors = floors === VOID ? this.floors : floors;
|
|
1249
|
+
grossTotalSqm = grossTotalSqm === VOID ? this.grossTotalSqm : grossTotalSqm;
|
|
1125
1250
|
hasCulturalMemory = hasCulturalMemory === VOID ? this.hasCulturalMemory : hasCulturalMemory;
|
|
1126
1251
|
hasElevator = hasElevator === VOID ? this.hasElevator : hasElevator;
|
|
1127
1252
|
hasIncompleteArea = hasIncompleteArea === VOID ? this.hasIncompleteArea : hasIncompleteArea;
|
|
@@ -1133,21 +1258,25 @@ function Building() {
|
|
|
1133
1258
|
id = id === VOID ? this.id : id;
|
|
1134
1259
|
isProtected = isProtected === VOID ? this.isProtected : isProtected;
|
|
1135
1260
|
kartverketId = kartverketId === VOID ? this.kartverketId : kartverketId;
|
|
1261
|
+
location = location === VOID ? this.location : location;
|
|
1136
1262
|
municipalityName = municipalityName === VOID ? this.municipalityName : municipalityName;
|
|
1137
1263
|
municipalityNumber = municipalityNumber === VOID ? this.municipalityNumber : municipalityNumber;
|
|
1138
1264
|
name = name === VOID ? this.name : name;
|
|
1139
1265
|
nonResidentialSqm = nonResidentialSqm === VOID ? this.nonResidentialSqm : nonResidentialSqm;
|
|
1140
1266
|
origin = origin === VOID ? this.origin : origin;
|
|
1141
1267
|
originCode = originCode === VOID ? this.originCode : originCode;
|
|
1268
|
+
registerState = registerState === VOID ? this.registerState : registerState;
|
|
1142
1269
|
residentialSqm = residentialSqm === VOID ? this.residentialSqm : residentialSqm;
|
|
1143
1270
|
sewer = sewer === VOID ? this.sewer : sewer;
|
|
1144
1271
|
sewerCode = sewerCode === VOID ? this.sewerCode : sewerCode;
|
|
1272
|
+
storeyCount = storeyCount === VOID ? this.storeyCount : storeyCount;
|
|
1273
|
+
usableTotalSqm = usableTotalSqm === VOID ? this.usableTotalSqm : usableTotalSqm;
|
|
1145
1274
|
waterSupply = waterSupply === VOID ? this.waterSupply : waterSupply;
|
|
1146
1275
|
waterSupplyCode = waterSupplyCode === VOID ? this.waterSupplyCode : waterSupplyCode;
|
|
1147
|
-
return $super === VOID ? this.
|
|
1276
|
+
return $super === VOID ? this.copy_h9iex0_k$(alterations, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, grossTotalSqm, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, location, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, registerState, residentialSqm, sewer, sewerCode, storeyCount, usableTotalSqm, waterSupply, waterSupplyCode) : $super.copy_h9iex0_k$.call(this, alterations, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, grossTotalSqm, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, id, isProtected, kartverketId, location, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, registerState, residentialSqm, sewer, sewerCode, storeyCount, usableTotalSqm, waterSupply, waterSupplyCode);
|
|
1148
1277
|
};
|
|
1149
1278
|
protoOf($).toString = function () {
|
|
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 + ')';
|
|
1279
|
+
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) + ', grossTotalSqm=' + this.grossTotalSqm + ', 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 + ', location=' + toString(this.location) + ', municipalityName=' + this.municipalityName + ', municipalityNumber=' + this.municipalityNumber + ', name=' + this.name + ', nonResidentialSqm=' + this.nonResidentialSqm + ', origin=' + this.origin + ', originCode=' + this.originCode + ', registerState=' + this.registerState + ', residentialSqm=' + this.residentialSqm + ', sewer=' + this.sewer + ', sewerCode=' + this.sewerCode + ', storeyCount=' + toString(this.storeyCount) + ', usableTotalSqm=' + this.usableTotalSqm + ', waterSupply=' + this.waterSupply + ', waterSupplyCode=' + this.waterSupplyCode + ')';
|
|
1151
1280
|
};
|
|
1152
1281
|
protoOf($).hashCode = function () {
|
|
1153
1282
|
var result = this.alterations == null ? 0 : hashCode(this.alterations);
|
|
@@ -1166,6 +1295,7 @@ function Building() {
|
|
|
1166
1295
|
result = imul(result, 31) + (this.energySourceCodes == null ? 0 : hashCode(this.energySourceCodes)) | 0;
|
|
1167
1296
|
result = imul(result, 31) + (this.energySources == null ? 0 : hashCode(this.energySources)) | 0;
|
|
1168
1297
|
result = imul(result, 31) + (this.floors == null ? 0 : hashCode(this.floors)) | 0;
|
|
1298
|
+
result = imul(result, 31) + (this.grossTotalSqm == null ? 0 : getNumberHashCode(this.grossTotalSqm)) | 0;
|
|
1169
1299
|
result = imul(result, 31) + (this.hasCulturalMemory == null ? 0 : getBooleanHashCode(this.hasCulturalMemory)) | 0;
|
|
1170
1300
|
result = imul(result, 31) + (this.hasElevator == null ? 0 : getBooleanHashCode(this.hasElevator)) | 0;
|
|
1171
1301
|
result = imul(result, 31) + (this.hasIncompleteArea == null ? 0 : getBooleanHashCode(this.hasIncompleteArea)) | 0;
|
|
@@ -1177,15 +1307,19 @@ function Building() {
|
|
|
1177
1307
|
result = imul(result, 31) + getBigIntHashCode(this.id) | 0;
|
|
1178
1308
|
result = imul(result, 31) + (this.isProtected == null ? 0 : getBooleanHashCode(this.isProtected)) | 0;
|
|
1179
1309
|
result = imul(result, 31) + (this.kartverketId == null ? 0 : getStringHashCode(this.kartverketId)) | 0;
|
|
1310
|
+
result = imul(result, 31) + (this.location == null ? 0 : this.location.hashCode()) | 0;
|
|
1180
1311
|
result = imul(result, 31) + (this.municipalityName == null ? 0 : getStringHashCode(this.municipalityName)) | 0;
|
|
1181
1312
|
result = imul(result, 31) + (this.municipalityNumber == null ? 0 : getStringHashCode(this.municipalityNumber)) | 0;
|
|
1182
1313
|
result = imul(result, 31) + (this.name == null ? 0 : getStringHashCode(this.name)) | 0;
|
|
1183
1314
|
result = imul(result, 31) + (this.nonResidentialSqm == null ? 0 : getNumberHashCode(this.nonResidentialSqm)) | 0;
|
|
1184
1315
|
result = imul(result, 31) + (this.origin == null ? 0 : getStringHashCode(this.origin)) | 0;
|
|
1185
1316
|
result = imul(result, 31) + (this.originCode == null ? 0 : getStringHashCode(this.originCode)) | 0;
|
|
1317
|
+
result = imul(result, 31) + (this.registerState == null ? 0 : getStringHashCode(this.registerState)) | 0;
|
|
1186
1318
|
result = imul(result, 31) + (this.residentialSqm == null ? 0 : getNumberHashCode(this.residentialSqm)) | 0;
|
|
1187
1319
|
result = imul(result, 31) + (this.sewer == null ? 0 : getStringHashCode(this.sewer)) | 0;
|
|
1188
1320
|
result = imul(result, 31) + (this.sewerCode == null ? 0 : getStringHashCode(this.sewerCode)) | 0;
|
|
1321
|
+
result = imul(result, 31) + (this.storeyCount == null ? 0 : getBigIntHashCode(this.storeyCount)) | 0;
|
|
1322
|
+
result = imul(result, 31) + (this.usableTotalSqm == null ? 0 : getNumberHashCode(this.usableTotalSqm)) | 0;
|
|
1189
1323
|
result = imul(result, 31) + (this.waterSupply == null ? 0 : getStringHashCode(this.waterSupply)) | 0;
|
|
1190
1324
|
result = imul(result, 31) + (this.waterSupplyCode == null ? 0 : getStringHashCode(this.waterSupplyCode)) | 0;
|
|
1191
1325
|
return result;
|
|
@@ -1227,6 +1361,8 @@ function Building() {
|
|
|
1227
1361
|
return false;
|
|
1228
1362
|
if (!equals(this.floors, other.floors))
|
|
1229
1363
|
return false;
|
|
1364
|
+
if (!equals(this.grossTotalSqm, other.grossTotalSqm))
|
|
1365
|
+
return false;
|
|
1230
1366
|
if (!(this.hasCulturalMemory == other.hasCulturalMemory))
|
|
1231
1367
|
return false;
|
|
1232
1368
|
if (!(this.hasElevator == other.hasElevator))
|
|
@@ -1249,6 +1385,8 @@ function Building() {
|
|
|
1249
1385
|
return false;
|
|
1250
1386
|
if (!(this.kartverketId == other.kartverketId))
|
|
1251
1387
|
return false;
|
|
1388
|
+
if (!equals(this.location, other.location))
|
|
1389
|
+
return false;
|
|
1252
1390
|
if (!(this.municipalityName == other.municipalityName))
|
|
1253
1391
|
return false;
|
|
1254
1392
|
if (!(this.municipalityNumber == other.municipalityNumber))
|
|
@@ -1261,12 +1399,18 @@ function Building() {
|
|
|
1261
1399
|
return false;
|
|
1262
1400
|
if (!(this.originCode == other.originCode))
|
|
1263
1401
|
return false;
|
|
1402
|
+
if (!(this.registerState == other.registerState))
|
|
1403
|
+
return false;
|
|
1264
1404
|
if (!equals(this.residentialSqm, other.residentialSqm))
|
|
1265
1405
|
return false;
|
|
1266
1406
|
if (!(this.sewer == other.sewer))
|
|
1267
1407
|
return false;
|
|
1268
1408
|
if (!(this.sewerCode == other.sewerCode))
|
|
1269
1409
|
return false;
|
|
1410
|
+
if (!(this.storeyCount == other.storeyCount))
|
|
1411
|
+
return false;
|
|
1412
|
+
if (!equals(this.usableTotalSqm, other.usableTotalSqm))
|
|
1413
|
+
return false;
|
|
1270
1414
|
if (!(this.waterSupply == other.waterSupply))
|
|
1271
1415
|
return false;
|
|
1272
1416
|
if (!(this.waterSupplyCode == other.waterSupplyCode))
|
|
@@ -1275,7 +1419,7 @@ function Building() {
|
|
|
1275
1419
|
};
|
|
1276
1420
|
/* Solibo boundary patches */
|
|
1277
1421
|
Object.defineProperty($, 'name', { value: "Building", configurable: true });
|
|
1278
|
-
__soliboRegisterOwnFields($, {"alterations":["list",["model","BuildingAlteration"]],"energySourceCodes":["list",null],"energySources":["list",null],"floors":["list",["model","BuildingFloor"]],"heatingSourceCodes":["list",null],"heatingSources":["list",null]});
|
|
1422
|
+
__soliboRegisterOwnFields($, {"alterations":["list",["model","BuildingAlteration"]],"energySourceCodes":["list",null],"energySources":["list",null],"floors":["list",["model","BuildingFloor"]],"heatingSourceCodes":["list",null],"heatingSources":["list",null],"location":["model","CompanyLocation"]});
|
|
1279
1423
|
__soliboRegisterLookup("Building", () => $);
|
|
1280
1424
|
BuildingClass = $;
|
|
1281
1425
|
}
|
|
@@ -1283,7 +1427,7 @@ function Building() {
|
|
|
1283
1427
|
}
|
|
1284
1428
|
//region block: exports
|
|
1285
1429
|
export {
|
|
1286
|
-
$
|
|
1430
|
+
$serializer_getInstance_2 as $serializer_getInstance3454749t3ut6q,
|
|
1287
1431
|
Building as Building1hs289e2p6983,
|
|
1288
1432
|
};
|
|
1289
1433
|
//endregion
|
|
@@ -1291,4 +1435,5 @@ export {
|
|
|
1291
1435
|
/* Solibo boundary lookups */
|
|
1292
1436
|
__soliboRegisterLookup("BuildingAlteration", () => __soliboType_BuildingAlteration());
|
|
1293
1437
|
__soliboRegisterLookup("BuildingFloor", () => __soliboType_BuildingFloor());
|
|
1438
|
+
__soliboRegisterLookup("CompanyLocation", () => __soliboType_CompanyLocation());
|
|
1294
1439
|
|