@solibo/solibo-sdk 1.43.1 → 1.44.1
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_getInstancedkgb9z0s7sk7 as $serializer_getInstance } from './CreateBuildingAlteration.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_getInstance2u72nk2l16jbn as $serializer_getInstance } from './CreateBuildingFloor.mjs';
|
|
9
|
+
import { $serializer_getInstance2u72nk2l16jbn as $serializer_getInstance_0 } from './CreateBuildingFloor.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 { CreateBuildingAlterationkd7gh6qgtzza as __soliboType_CreateBuildingAlteration } from './CreateBuildingAlteration.mjs';
|
|
40
42
|
import { CreateBuildingFloor1atdqp7lct09s as __soliboType_CreateBuildingFloor } from './CreateBuildingFloor.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 CreateBuilding$Companion$$childSerializers$_anonymous__ev9spy() {
|
|
47
|
-
return new (ArrayListSerializer())(
|
|
49
|
+
return new (ArrayListSerializer())($serializer_getInstance());
|
|
48
50
|
}
|
|
49
51
|
function CreateBuilding$Companion$$childSerializers$_anonymous__ev9spy_0() {
|
|
50
52
|
return new (ArrayListSerializer())(StringSerializer_getInstance());
|
|
51
53
|
}
|
|
52
54
|
function CreateBuilding$Companion$$childSerializers$_anonymous__ev9spy_1() {
|
|
53
|
-
return new (ArrayListSerializer())(
|
|
55
|
+
return new (ArrayListSerializer())(StringSerializer_getInstance());
|
|
54
56
|
}
|
|
55
57
|
function CreateBuilding$Companion$$childSerializers$_anonymous__ev9spy_2() {
|
|
56
|
-
return new (ArrayListSerializer())(
|
|
58
|
+
return new (ArrayListSerializer())($serializer_getInstance_0());
|
|
57
59
|
}
|
|
58
60
|
function CreateBuilding$Companion$$childSerializers$_anonymous__ev9spy_3() {
|
|
59
61
|
return new (ArrayListSerializer())(StringSerializer_getInstance());
|
|
60
62
|
}
|
|
63
|
+
function CreateBuilding$Companion$$childSerializers$_anonymous__ev9spy_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, CreateBuilding$Companion$$childSerializers$_anonymous__ev9spy_2);
|
|
76
81
|
var tmp_8 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
82
|
+
var tmp_9 = lazy(tmp_8, CreateBuilding$Companion$$childSerializers$_anonymous__ev9spy_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, CreateBuilding$Companion$$childSerializers$_anonymous__ev9spy_4), 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.CreateBuilding', this,
|
|
105
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.CreateBuilding', this, 37);
|
|
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);
|
|
@@ -138,113 +146,116 @@ function $serializer() {
|
|
|
138
146
|
var tmp0_desc = this.descriptor_1;
|
|
139
147
|
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
140
148
|
var tmp2_cached = Companion_getInstance().$childSerializers_1;
|
|
141
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.
|
|
142
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0,
|
|
149
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.alterations == null)) {
|
|
150
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.alterations);
|
|
151
|
+
}
|
|
152
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.buildingChange == null)) {
|
|
153
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, StringSerializer_getInstance(), value.buildingChange);
|
|
143
154
|
}
|
|
144
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
145
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
155
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.buildingChangeCode == null)) {
|
|
156
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, StringSerializer_getInstance(), value.buildingChangeCode);
|
|
146
157
|
}
|
|
147
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
148
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
158
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.buildingChangeCount == null)) {
|
|
159
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, LongSerializer_getInstance(), value.buildingChangeCount);
|
|
149
160
|
}
|
|
150
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
151
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
161
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.buildingStatus == null)) {
|
|
162
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, StringSerializer_getInstance(), value.buildingStatus);
|
|
152
163
|
}
|
|
153
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
154
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
164
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.buildingStatusCode == null)) {
|
|
165
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, StringSerializer_getInstance(), value.buildingStatusCode);
|
|
155
166
|
}
|
|
156
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
157
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
167
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.buildingType == null)) {
|
|
168
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, StringSerializer_getInstance(), value.buildingType);
|
|
158
169
|
}
|
|
159
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
160
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
170
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.buildingTypeCode == null)) {
|
|
171
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, StringSerializer_getInstance(), value.buildingTypeCode);
|
|
161
172
|
}
|
|
162
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
163
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
173
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.builtUpAreaSqm == null)) {
|
|
174
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, DoubleSerializer_getInstance(), value.builtUpAreaSqm);
|
|
164
175
|
}
|
|
165
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
166
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
176
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.businessGroup == null)) {
|
|
177
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, StringSerializer_getInstance(), value.businessGroup);
|
|
167
178
|
}
|
|
168
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
169
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
179
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.businessGroupCode == null)) {
|
|
180
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, StringSerializer_getInstance(), value.businessGroupCode);
|
|
170
181
|
}
|
|
171
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
172
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
182
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.bygningsNr == null)) {
|
|
183
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11, LongSerializer_getInstance(), value.bygningsNr);
|
|
173
184
|
}
|
|
174
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
175
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
185
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 12) ? true : !(value.constructionYear == null)) {
|
|
186
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 12, LongSerializer_getInstance(), value.constructionYear);
|
|
176
187
|
}
|
|
177
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
178
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
188
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 13) ? true : !(value.energySourceCodes == null)) {
|
|
189
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 13, tmp2_cached[13].get_value_j01efc_k$(), value.energySourceCodes);
|
|
179
190
|
}
|
|
180
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
181
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
191
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 14) ? true : !(value.energySources == null)) {
|
|
192
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 14, tmp2_cached[14].get_value_j01efc_k$(), value.energySources);
|
|
182
193
|
}
|
|
183
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
184
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
194
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 15) ? true : !(value.floors == null)) {
|
|
195
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 15, tmp2_cached[15].get_value_j01efc_k$(), value.floors);
|
|
185
196
|
}
|
|
186
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
187
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
197
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 16) ? true : !(value.hasCulturalMemory == null)) {
|
|
198
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 16, BooleanSerializer_getInstance(), value.hasCulturalMemory);
|
|
188
199
|
}
|
|
189
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
190
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
200
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 17) ? true : !(value.hasElevator == null)) {
|
|
201
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 17, BooleanSerializer_getInstance(), value.hasElevator);
|
|
191
202
|
}
|
|
192
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
193
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
203
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 18) ? true : !(value.hasIncompleteArea == null)) {
|
|
204
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 18, BooleanSerializer_getInstance(), value.hasIncompleteArea);
|
|
194
205
|
}
|
|
195
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
196
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
206
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 19) ? true : !(value.hasSEFRAK == null)) {
|
|
207
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 19, BooleanSerializer_getInstance(), value.hasSEFRAK);
|
|
197
208
|
}
|
|
198
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
199
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
209
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 20) ? true : !(value.heatingSourceCodes == null)) {
|
|
210
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 20, tmp2_cached[20].get_value_j01efc_k$(), value.heatingSourceCodes);
|
|
200
211
|
}
|
|
201
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
202
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
212
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 21) ? true : !(value.heatingSources == null)) {
|
|
213
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 21, tmp2_cached[21].get_value_j01efc_k$(), value.heatingSources);
|
|
203
214
|
}
|
|
204
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
205
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
215
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 22) ? true : !(value.historicId == null)) {
|
|
216
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 22, LongSerializer_getInstance(), value.historicId);
|
|
206
217
|
}
|
|
207
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
208
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
218
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 23) ? true : !(value.housingUnitCount == null)) {
|
|
219
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 23, LongSerializer_getInstance(), value.housingUnitCount);
|
|
209
220
|
}
|
|
210
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
211
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
221
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 24) ? true : !(value.isProtected == null)) {
|
|
222
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 24, BooleanSerializer_getInstance(), value.isProtected);
|
|
212
223
|
}
|
|
213
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
214
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
224
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 25) ? true : !(value.kartverketId == null)) {
|
|
225
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 25, StringSerializer_getInstance(), value.kartverketId);
|
|
215
226
|
}
|
|
216
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
217
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
227
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 26) ? true : !(value.municipalityName == null)) {
|
|
228
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 26, StringSerializer_getInstance(), value.municipalityName);
|
|
218
229
|
}
|
|
219
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
220
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
230
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 27) ? true : !(value.municipalityNumber == null)) {
|
|
231
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 27, StringSerializer_getInstance(), value.municipalityNumber);
|
|
221
232
|
}
|
|
222
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
223
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
233
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 28) ? true : !(value.name == null)) {
|
|
234
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 28, StringSerializer_getInstance(), value.name);
|
|
224
235
|
}
|
|
225
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
226
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
236
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 29) ? true : !(value.nonResidentialSqm == null)) {
|
|
237
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 29, DoubleSerializer_getInstance(), value.nonResidentialSqm);
|
|
227
238
|
}
|
|
228
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
229
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
239
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 30) ? true : !(value.origin == null)) {
|
|
240
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 30, StringSerializer_getInstance(), value.origin);
|
|
230
241
|
}
|
|
231
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
232
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
242
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 31) ? true : !(value.originCode == null)) {
|
|
243
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 31, StringSerializer_getInstance(), value.originCode);
|
|
233
244
|
}
|
|
234
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
235
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
245
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 32) ? true : !(value.residentialSqm == null)) {
|
|
246
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 32, DoubleSerializer_getInstance(), value.residentialSqm);
|
|
236
247
|
}
|
|
237
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
238
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
248
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 33) ? true : !(value.sewer == null)) {
|
|
249
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 33, StringSerializer_getInstance(), value.sewer);
|
|
239
250
|
}
|
|
240
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
241
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
251
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 34) ? true : !(value.sewerCode == null)) {
|
|
252
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 34, StringSerializer_getInstance(), value.sewerCode);
|
|
242
253
|
}
|
|
243
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
244
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
254
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 35) ? true : !(value.waterSupply == null)) {
|
|
255
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 35, StringSerializer_getInstance(), value.waterSupply);
|
|
245
256
|
}
|
|
246
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
247
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
257
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 36) ? true : !(value.waterSupplyCode == null)) {
|
|
258
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 36, StringSerializer_getInstance(), value.waterSupplyCode);
|
|
248
259
|
}
|
|
249
260
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
250
261
|
};
|
|
@@ -293,238 +304,245 @@ function $serializer() {
|
|
|
293
304
|
var tmp38_local33 = null;
|
|
294
305
|
var tmp39_local34 = null;
|
|
295
306
|
var tmp40_local35 = null;
|
|
296
|
-
var
|
|
297
|
-
var
|
|
298
|
-
|
|
299
|
-
|
|
307
|
+
var tmp41_local36 = null;
|
|
308
|
+
var tmp42_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
309
|
+
var tmp43_cached = Companion_getInstance().$childSerializers_1;
|
|
310
|
+
if (tmp42_input.decodeSequentially_xlblqy_k$()) {
|
|
311
|
+
tmp5_local0 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp43_cached[0].get_value_j01efc_k$(), tmp5_local0);
|
|
300
312
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
301
|
-
tmp6_local1 =
|
|
313
|
+
tmp6_local1 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp6_local1);
|
|
302
314
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
303
|
-
tmp7_local2 =
|
|
315
|
+
tmp7_local2 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, StringSerializer_getInstance(), tmp7_local2);
|
|
304
316
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
305
|
-
tmp8_local3 =
|
|
317
|
+
tmp8_local3 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance(), tmp8_local3);
|
|
306
318
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
307
|
-
tmp9_local4 =
|
|
319
|
+
tmp9_local4 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance(), tmp9_local4);
|
|
308
320
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
309
|
-
tmp10_local5 =
|
|
321
|
+
tmp10_local5 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance(), tmp10_local5);
|
|
310
322
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
311
|
-
tmp11_local6 =
|
|
323
|
+
tmp11_local6 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, StringSerializer_getInstance(), tmp11_local6);
|
|
312
324
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
313
|
-
tmp12_local7 =
|
|
325
|
+
tmp12_local7 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, StringSerializer_getInstance(), tmp12_local7);
|
|
314
326
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
315
|
-
tmp13_local8 =
|
|
327
|
+
tmp13_local8 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, DoubleSerializer_getInstance(), tmp13_local8);
|
|
316
328
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
317
|
-
tmp14_local9 =
|
|
329
|
+
tmp14_local9 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, StringSerializer_getInstance(), tmp14_local9);
|
|
318
330
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
319
|
-
tmp15_local10 =
|
|
331
|
+
tmp15_local10 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, StringSerializer_getInstance(), tmp15_local10);
|
|
320
332
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
321
|
-
tmp16_local11 =
|
|
333
|
+
tmp16_local11 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, LongSerializer_getInstance(), tmp16_local11);
|
|
322
334
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
323
|
-
tmp17_local12 =
|
|
335
|
+
tmp17_local12 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, LongSerializer_getInstance(), tmp17_local12);
|
|
324
336
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
325
|
-
tmp18_local13 =
|
|
337
|
+
tmp18_local13 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, tmp43_cached[13].get_value_j01efc_k$(), tmp18_local13);
|
|
326
338
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
327
|
-
tmp19_local14 =
|
|
339
|
+
tmp19_local14 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 14, tmp43_cached[14].get_value_j01efc_k$(), tmp19_local14);
|
|
328
340
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
329
|
-
tmp20_local15 =
|
|
341
|
+
tmp20_local15 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 15, tmp43_cached[15].get_value_j01efc_k$(), tmp20_local15);
|
|
330
342
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
331
|
-
tmp21_local16 =
|
|
343
|
+
tmp21_local16 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 16, BooleanSerializer_getInstance(), tmp21_local16);
|
|
332
344
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
333
|
-
tmp22_local17 =
|
|
345
|
+
tmp22_local17 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp22_local17);
|
|
334
346
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
335
|
-
tmp23_local18 =
|
|
347
|
+
tmp23_local18 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp23_local18);
|
|
336
348
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
337
|
-
tmp24_local19 =
|
|
349
|
+
tmp24_local19 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 19, BooleanSerializer_getInstance(), tmp24_local19);
|
|
338
350
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
339
|
-
tmp25_local20 =
|
|
351
|
+
tmp25_local20 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 20, tmp43_cached[20].get_value_j01efc_k$(), tmp25_local20);
|
|
340
352
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
341
|
-
tmp26_local21 =
|
|
353
|
+
tmp26_local21 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 21, tmp43_cached[21].get_value_j01efc_k$(), tmp26_local21);
|
|
342
354
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
343
|
-
tmp27_local22 =
|
|
355
|
+
tmp27_local22 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 22, LongSerializer_getInstance(), tmp27_local22);
|
|
344
356
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
345
|
-
tmp28_local23 =
|
|
357
|
+
tmp28_local23 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 23, LongSerializer_getInstance(), tmp28_local23);
|
|
346
358
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
347
|
-
tmp29_local24 =
|
|
359
|
+
tmp29_local24 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 24, BooleanSerializer_getInstance(), tmp29_local24);
|
|
348
360
|
tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
|
|
349
|
-
tmp30_local25 =
|
|
361
|
+
tmp30_local25 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 25, StringSerializer_getInstance(), tmp30_local25);
|
|
350
362
|
tmp3_bitMask0 = tmp3_bitMask0 | 33554432;
|
|
351
|
-
tmp31_local26 =
|
|
363
|
+
tmp31_local26 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 26, StringSerializer_getInstance(), tmp31_local26);
|
|
352
364
|
tmp3_bitMask0 = tmp3_bitMask0 | 67108864;
|
|
353
|
-
tmp32_local27 =
|
|
365
|
+
tmp32_local27 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 27, StringSerializer_getInstance(), tmp32_local27);
|
|
354
366
|
tmp3_bitMask0 = tmp3_bitMask0 | 134217728;
|
|
355
|
-
tmp33_local28 =
|
|
367
|
+
tmp33_local28 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 28, StringSerializer_getInstance(), tmp33_local28);
|
|
356
368
|
tmp3_bitMask0 = tmp3_bitMask0 | 268435456;
|
|
357
|
-
tmp34_local29 =
|
|
369
|
+
tmp34_local29 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 29, DoubleSerializer_getInstance(), tmp34_local29);
|
|
358
370
|
tmp3_bitMask0 = tmp3_bitMask0 | 536870912;
|
|
359
|
-
tmp35_local30 =
|
|
371
|
+
tmp35_local30 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 30, StringSerializer_getInstance(), tmp35_local30);
|
|
360
372
|
tmp3_bitMask0 = tmp3_bitMask0 | 1073741824;
|
|
361
|
-
tmp36_local31 =
|
|
373
|
+
tmp36_local31 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 31, StringSerializer_getInstance(), tmp36_local31);
|
|
362
374
|
tmp3_bitMask0 = tmp3_bitMask0 | -2147483648;
|
|
363
|
-
tmp37_local32 =
|
|
375
|
+
tmp37_local32 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 32, DoubleSerializer_getInstance(), tmp37_local32);
|
|
364
376
|
tmp4_bitMask1 = tmp4_bitMask1 | 1;
|
|
365
|
-
tmp38_local33 =
|
|
377
|
+
tmp38_local33 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 33, StringSerializer_getInstance(), tmp38_local33);
|
|
366
378
|
tmp4_bitMask1 = tmp4_bitMask1 | 2;
|
|
367
|
-
tmp39_local34 =
|
|
379
|
+
tmp39_local34 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 34, StringSerializer_getInstance(), tmp39_local34);
|
|
368
380
|
tmp4_bitMask1 = tmp4_bitMask1 | 4;
|
|
369
|
-
tmp40_local35 =
|
|
381
|
+
tmp40_local35 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 35, StringSerializer_getInstance(), tmp40_local35);
|
|
370
382
|
tmp4_bitMask1 = tmp4_bitMask1 | 8;
|
|
383
|
+
tmp41_local36 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 36, StringSerializer_getInstance(), tmp41_local36);
|
|
384
|
+
tmp4_bitMask1 = tmp4_bitMask1 | 16;
|
|
371
385
|
} else
|
|
372
386
|
while (tmp1_flag) {
|
|
373
|
-
tmp2_index =
|
|
387
|
+
tmp2_index = tmp42_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
374
388
|
switch (tmp2_index) {
|
|
375
389
|
case -1:
|
|
376
390
|
tmp1_flag = false;
|
|
377
391
|
break;
|
|
378
392
|
case 0:
|
|
379
|
-
tmp5_local0 =
|
|
393
|
+
tmp5_local0 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp43_cached[0].get_value_j01efc_k$(), tmp5_local0);
|
|
380
394
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
381
395
|
break;
|
|
382
396
|
case 1:
|
|
383
|
-
tmp6_local1 =
|
|
397
|
+
tmp6_local1 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp6_local1);
|
|
384
398
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
385
399
|
break;
|
|
386
400
|
case 2:
|
|
387
|
-
tmp7_local2 =
|
|
401
|
+
tmp7_local2 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, StringSerializer_getInstance(), tmp7_local2);
|
|
388
402
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
389
403
|
break;
|
|
390
404
|
case 3:
|
|
391
|
-
tmp8_local3 =
|
|
405
|
+
tmp8_local3 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance(), tmp8_local3);
|
|
392
406
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
393
407
|
break;
|
|
394
408
|
case 4:
|
|
395
|
-
tmp9_local4 =
|
|
409
|
+
tmp9_local4 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance(), tmp9_local4);
|
|
396
410
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
397
411
|
break;
|
|
398
412
|
case 5:
|
|
399
|
-
tmp10_local5 =
|
|
413
|
+
tmp10_local5 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance(), tmp10_local5);
|
|
400
414
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
401
415
|
break;
|
|
402
416
|
case 6:
|
|
403
|
-
tmp11_local6 =
|
|
417
|
+
tmp11_local6 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, StringSerializer_getInstance(), tmp11_local6);
|
|
404
418
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
405
419
|
break;
|
|
406
420
|
case 7:
|
|
407
|
-
tmp12_local7 =
|
|
421
|
+
tmp12_local7 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, StringSerializer_getInstance(), tmp12_local7);
|
|
408
422
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
409
423
|
break;
|
|
410
424
|
case 8:
|
|
411
|
-
tmp13_local8 =
|
|
425
|
+
tmp13_local8 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, DoubleSerializer_getInstance(), tmp13_local8);
|
|
412
426
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
413
427
|
break;
|
|
414
428
|
case 9:
|
|
415
|
-
tmp14_local9 =
|
|
429
|
+
tmp14_local9 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, StringSerializer_getInstance(), tmp14_local9);
|
|
416
430
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
417
431
|
break;
|
|
418
432
|
case 10:
|
|
419
|
-
tmp15_local10 =
|
|
433
|
+
tmp15_local10 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, StringSerializer_getInstance(), tmp15_local10);
|
|
420
434
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
421
435
|
break;
|
|
422
436
|
case 11:
|
|
423
|
-
tmp16_local11 =
|
|
437
|
+
tmp16_local11 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, LongSerializer_getInstance(), tmp16_local11);
|
|
424
438
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
425
439
|
break;
|
|
426
440
|
case 12:
|
|
427
|
-
tmp17_local12 =
|
|
441
|
+
tmp17_local12 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, LongSerializer_getInstance(), tmp17_local12);
|
|
428
442
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
429
443
|
break;
|
|
430
444
|
case 13:
|
|
431
|
-
tmp18_local13 =
|
|
445
|
+
tmp18_local13 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, tmp43_cached[13].get_value_j01efc_k$(), tmp18_local13);
|
|
432
446
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
433
447
|
break;
|
|
434
448
|
case 14:
|
|
435
|
-
tmp19_local14 =
|
|
449
|
+
tmp19_local14 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 14, tmp43_cached[14].get_value_j01efc_k$(), tmp19_local14);
|
|
436
450
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
437
451
|
break;
|
|
438
452
|
case 15:
|
|
439
|
-
tmp20_local15 =
|
|
453
|
+
tmp20_local15 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 15, tmp43_cached[15].get_value_j01efc_k$(), tmp20_local15);
|
|
440
454
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
441
455
|
break;
|
|
442
456
|
case 16:
|
|
443
|
-
tmp21_local16 =
|
|
457
|
+
tmp21_local16 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 16, BooleanSerializer_getInstance(), tmp21_local16);
|
|
444
458
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
445
459
|
break;
|
|
446
460
|
case 17:
|
|
447
|
-
tmp22_local17 =
|
|
461
|
+
tmp22_local17 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp22_local17);
|
|
448
462
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
449
463
|
break;
|
|
450
464
|
case 18:
|
|
451
|
-
tmp23_local18 =
|
|
465
|
+
tmp23_local18 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp23_local18);
|
|
452
466
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
453
467
|
break;
|
|
454
468
|
case 19:
|
|
455
|
-
tmp24_local19 =
|
|
469
|
+
tmp24_local19 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 19, BooleanSerializer_getInstance(), tmp24_local19);
|
|
456
470
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
457
471
|
break;
|
|
458
472
|
case 20:
|
|
459
|
-
tmp25_local20 =
|
|
473
|
+
tmp25_local20 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 20, tmp43_cached[20].get_value_j01efc_k$(), tmp25_local20);
|
|
460
474
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
461
475
|
break;
|
|
462
476
|
case 21:
|
|
463
|
-
tmp26_local21 =
|
|
477
|
+
tmp26_local21 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 21, tmp43_cached[21].get_value_j01efc_k$(), tmp26_local21);
|
|
464
478
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
465
479
|
break;
|
|
466
480
|
case 22:
|
|
467
|
-
tmp27_local22 =
|
|
481
|
+
tmp27_local22 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 22, LongSerializer_getInstance(), tmp27_local22);
|
|
468
482
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
469
483
|
break;
|
|
470
484
|
case 23:
|
|
471
|
-
tmp28_local23 =
|
|
485
|
+
tmp28_local23 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 23, LongSerializer_getInstance(), tmp28_local23);
|
|
472
486
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
473
487
|
break;
|
|
474
488
|
case 24:
|
|
475
|
-
tmp29_local24 =
|
|
489
|
+
tmp29_local24 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 24, BooleanSerializer_getInstance(), tmp29_local24);
|
|
476
490
|
tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
|
|
477
491
|
break;
|
|
478
492
|
case 25:
|
|
479
|
-
tmp30_local25 =
|
|
493
|
+
tmp30_local25 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 25, StringSerializer_getInstance(), tmp30_local25);
|
|
480
494
|
tmp3_bitMask0 = tmp3_bitMask0 | 33554432;
|
|
481
495
|
break;
|
|
482
496
|
case 26:
|
|
483
|
-
tmp31_local26 =
|
|
497
|
+
tmp31_local26 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 26, StringSerializer_getInstance(), tmp31_local26);
|
|
484
498
|
tmp3_bitMask0 = tmp3_bitMask0 | 67108864;
|
|
485
499
|
break;
|
|
486
500
|
case 27:
|
|
487
|
-
tmp32_local27 =
|
|
501
|
+
tmp32_local27 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 27, StringSerializer_getInstance(), tmp32_local27);
|
|
488
502
|
tmp3_bitMask0 = tmp3_bitMask0 | 134217728;
|
|
489
503
|
break;
|
|
490
504
|
case 28:
|
|
491
|
-
tmp33_local28 =
|
|
505
|
+
tmp33_local28 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 28, StringSerializer_getInstance(), tmp33_local28);
|
|
492
506
|
tmp3_bitMask0 = tmp3_bitMask0 | 268435456;
|
|
493
507
|
break;
|
|
494
508
|
case 29:
|
|
495
|
-
tmp34_local29 =
|
|
509
|
+
tmp34_local29 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 29, DoubleSerializer_getInstance(), tmp34_local29);
|
|
496
510
|
tmp3_bitMask0 = tmp3_bitMask0 | 536870912;
|
|
497
511
|
break;
|
|
498
512
|
case 30:
|
|
499
|
-
tmp35_local30 =
|
|
513
|
+
tmp35_local30 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 30, StringSerializer_getInstance(), tmp35_local30);
|
|
500
514
|
tmp3_bitMask0 = tmp3_bitMask0 | 1073741824;
|
|
501
515
|
break;
|
|
502
516
|
case 31:
|
|
503
|
-
tmp36_local31 =
|
|
517
|
+
tmp36_local31 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 31, StringSerializer_getInstance(), tmp36_local31);
|
|
504
518
|
tmp3_bitMask0 = tmp3_bitMask0 | -2147483648;
|
|
505
519
|
break;
|
|
506
520
|
case 32:
|
|
507
|
-
tmp37_local32 =
|
|
521
|
+
tmp37_local32 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 32, DoubleSerializer_getInstance(), tmp37_local32);
|
|
508
522
|
tmp4_bitMask1 = tmp4_bitMask1 | 1;
|
|
509
523
|
break;
|
|
510
524
|
case 33:
|
|
511
|
-
tmp38_local33 =
|
|
525
|
+
tmp38_local33 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 33, StringSerializer_getInstance(), tmp38_local33);
|
|
512
526
|
tmp4_bitMask1 = tmp4_bitMask1 | 2;
|
|
513
527
|
break;
|
|
514
528
|
case 34:
|
|
515
|
-
tmp39_local34 =
|
|
529
|
+
tmp39_local34 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 34, StringSerializer_getInstance(), tmp39_local34);
|
|
516
530
|
tmp4_bitMask1 = tmp4_bitMask1 | 4;
|
|
517
531
|
break;
|
|
518
532
|
case 35:
|
|
519
|
-
tmp40_local35 =
|
|
533
|
+
tmp40_local35 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 35, StringSerializer_getInstance(), tmp40_local35);
|
|
520
534
|
tmp4_bitMask1 = tmp4_bitMask1 | 8;
|
|
521
535
|
break;
|
|
536
|
+
case 36:
|
|
537
|
+
tmp41_local36 = tmp42_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 36, StringSerializer_getInstance(), tmp41_local36);
|
|
538
|
+
tmp4_bitMask1 = tmp4_bitMask1 | 16;
|
|
539
|
+
break;
|
|
522
540
|
default:
|
|
523
541
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
524
542
|
}
|
|
525
543
|
}
|
|
526
|
-
|
|
527
|
-
return CreateBuilding_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, null);
|
|
544
|
+
tmp42_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
545
|
+
return CreateBuilding_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);
|
|
528
546
|
};
|
|
529
547
|
protoOf($).get_descriptor_wjt6a0_k$ = function () {
|
|
530
548
|
return this.descriptor_1;
|
|
@@ -534,7 +552,7 @@ function $serializer() {
|
|
|
534
552
|
// Inline function 'kotlin.arrayOf' call
|
|
535
553
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
536
554
|
// Inline function 'kotlin.js.asDynamic' call
|
|
537
|
-
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[
|
|
555
|
+
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()), 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())];
|
|
538
556
|
};
|
|
539
557
|
protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
|
|
540
558
|
$serializerClass = $;
|
|
@@ -542,177 +560,182 @@ function $serializer() {
|
|
|
542
560
|
return $serializerClass;
|
|
543
561
|
}
|
|
544
562
|
var $serializer_instance;
|
|
545
|
-
function $
|
|
563
|
+
function $serializer_getInstance_1() {
|
|
546
564
|
if ($serializer_instance == null)
|
|
547
565
|
new ($serializer())();
|
|
548
566
|
return $serializer_instance;
|
|
549
567
|
}
|
|
550
|
-
function CreateBuilding_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, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode, serializationConstructorMarker, $this) {
|
|
568
|
+
function CreateBuilding_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, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode, serializationConstructorMarker, $this) {
|
|
551
569
|
if (!!(!(0 === (0 & seen0)) | !(0 === (0 & seen1)))) {
|
|
552
570
|
// Inline function 'kotlin.intArrayOf' call
|
|
553
571
|
var tmp = new Int32Array([seen0, seen1]);
|
|
554
572
|
// Inline function 'kotlin.intArrayOf' call
|
|
555
573
|
var tmp$ret$1 = new Int32Array([0, 0]);
|
|
556
|
-
throwArrayMissingFieldException(tmp, tmp$ret$1, $
|
|
574
|
+
throwArrayMissingFieldException(tmp, tmp$ret$1, $serializer_getInstance_1().descriptor_1);
|
|
557
575
|
}
|
|
558
576
|
if (0 === (seen0 & 1))
|
|
577
|
+
$this.alterations = null;
|
|
578
|
+
else
|
|
579
|
+
$this.alterations = alterations;
|
|
580
|
+
if (0 === (seen0 & 2))
|
|
559
581
|
$this.buildingChange = null;
|
|
560
582
|
else
|
|
561
583
|
$this.buildingChange = buildingChange;
|
|
562
|
-
if (0 === (seen0 &
|
|
584
|
+
if (0 === (seen0 & 4))
|
|
563
585
|
$this.buildingChangeCode = null;
|
|
564
586
|
else
|
|
565
587
|
$this.buildingChangeCode = buildingChangeCode;
|
|
566
|
-
if (0 === (seen0 &
|
|
588
|
+
if (0 === (seen0 & 8))
|
|
567
589
|
$this.buildingChangeCount = null;
|
|
568
590
|
else
|
|
569
591
|
$this.buildingChangeCount = buildingChangeCount;
|
|
570
|
-
if (0 === (seen0 &
|
|
592
|
+
if (0 === (seen0 & 16))
|
|
571
593
|
$this.buildingStatus = null;
|
|
572
594
|
else
|
|
573
595
|
$this.buildingStatus = buildingStatus;
|
|
574
|
-
if (0 === (seen0 &
|
|
596
|
+
if (0 === (seen0 & 32))
|
|
575
597
|
$this.buildingStatusCode = null;
|
|
576
598
|
else
|
|
577
599
|
$this.buildingStatusCode = buildingStatusCode;
|
|
578
|
-
if (0 === (seen0 &
|
|
600
|
+
if (0 === (seen0 & 64))
|
|
579
601
|
$this.buildingType = null;
|
|
580
602
|
else
|
|
581
603
|
$this.buildingType = buildingType;
|
|
582
|
-
if (0 === (seen0 &
|
|
604
|
+
if (0 === (seen0 & 128))
|
|
583
605
|
$this.buildingTypeCode = null;
|
|
584
606
|
else
|
|
585
607
|
$this.buildingTypeCode = buildingTypeCode;
|
|
586
|
-
if (0 === (seen0 &
|
|
608
|
+
if (0 === (seen0 & 256))
|
|
587
609
|
$this.builtUpAreaSqm = null;
|
|
588
610
|
else
|
|
589
611
|
$this.builtUpAreaSqm = builtUpAreaSqm;
|
|
590
|
-
if (0 === (seen0 &
|
|
612
|
+
if (0 === (seen0 & 512))
|
|
591
613
|
$this.businessGroup = null;
|
|
592
614
|
else
|
|
593
615
|
$this.businessGroup = businessGroup;
|
|
594
|
-
if (0 === (seen0 &
|
|
616
|
+
if (0 === (seen0 & 1024))
|
|
595
617
|
$this.businessGroupCode = null;
|
|
596
618
|
else
|
|
597
619
|
$this.businessGroupCode = businessGroupCode;
|
|
598
|
-
if (0 === (seen0 &
|
|
620
|
+
if (0 === (seen0 & 2048))
|
|
599
621
|
$this.bygningsNr = null;
|
|
600
622
|
else
|
|
601
623
|
$this.bygningsNr = bygningsNr;
|
|
602
|
-
if (0 === (seen0 &
|
|
624
|
+
if (0 === (seen0 & 4096))
|
|
603
625
|
$this.constructionYear = null;
|
|
604
626
|
else
|
|
605
627
|
$this.constructionYear = constructionYear;
|
|
606
|
-
if (0 === (seen0 &
|
|
628
|
+
if (0 === (seen0 & 8192))
|
|
607
629
|
$this.energySourceCodes = null;
|
|
608
630
|
else
|
|
609
631
|
$this.energySourceCodes = energySourceCodes;
|
|
610
|
-
if (0 === (seen0 &
|
|
632
|
+
if (0 === (seen0 & 16384))
|
|
611
633
|
$this.energySources = null;
|
|
612
634
|
else
|
|
613
635
|
$this.energySources = energySources;
|
|
614
|
-
if (0 === (seen0 &
|
|
636
|
+
if (0 === (seen0 & 32768))
|
|
615
637
|
$this.floors = null;
|
|
616
638
|
else
|
|
617
639
|
$this.floors = floors;
|
|
618
|
-
if (0 === (seen0 &
|
|
640
|
+
if (0 === (seen0 & 65536))
|
|
619
641
|
$this.hasCulturalMemory = null;
|
|
620
642
|
else
|
|
621
643
|
$this.hasCulturalMemory = hasCulturalMemory;
|
|
622
|
-
if (0 === (seen0 &
|
|
644
|
+
if (0 === (seen0 & 131072))
|
|
623
645
|
$this.hasElevator = null;
|
|
624
646
|
else
|
|
625
647
|
$this.hasElevator = hasElevator;
|
|
626
|
-
if (0 === (seen0 &
|
|
648
|
+
if (0 === (seen0 & 262144))
|
|
627
649
|
$this.hasIncompleteArea = null;
|
|
628
650
|
else
|
|
629
651
|
$this.hasIncompleteArea = hasIncompleteArea;
|
|
630
|
-
if (0 === (seen0 &
|
|
652
|
+
if (0 === (seen0 & 524288))
|
|
631
653
|
$this.hasSEFRAK = null;
|
|
632
654
|
else
|
|
633
655
|
$this.hasSEFRAK = hasSEFRAK;
|
|
634
|
-
if (0 === (seen0 &
|
|
656
|
+
if (0 === (seen0 & 1048576))
|
|
635
657
|
$this.heatingSourceCodes = null;
|
|
636
658
|
else
|
|
637
659
|
$this.heatingSourceCodes = heatingSourceCodes;
|
|
638
|
-
if (0 === (seen0 &
|
|
660
|
+
if (0 === (seen0 & 2097152))
|
|
639
661
|
$this.heatingSources = null;
|
|
640
662
|
else
|
|
641
663
|
$this.heatingSources = heatingSources;
|
|
642
|
-
if (0 === (seen0 &
|
|
664
|
+
if (0 === (seen0 & 4194304))
|
|
643
665
|
$this.historicId = null;
|
|
644
666
|
else
|
|
645
667
|
$this.historicId = historicId;
|
|
646
|
-
if (0 === (seen0 &
|
|
668
|
+
if (0 === (seen0 & 8388608))
|
|
647
669
|
$this.housingUnitCount = null;
|
|
648
670
|
else
|
|
649
671
|
$this.housingUnitCount = housingUnitCount;
|
|
650
|
-
if (0 === (seen0 &
|
|
672
|
+
if (0 === (seen0 & 16777216))
|
|
651
673
|
$this.isProtected = null;
|
|
652
674
|
else
|
|
653
675
|
$this.isProtected = isProtected;
|
|
654
|
-
if (0 === (seen0 &
|
|
676
|
+
if (0 === (seen0 & 33554432))
|
|
655
677
|
$this.kartverketId = null;
|
|
656
678
|
else
|
|
657
679
|
$this.kartverketId = kartverketId;
|
|
658
|
-
if (0 === (seen0 &
|
|
680
|
+
if (0 === (seen0 & 67108864))
|
|
659
681
|
$this.municipalityName = null;
|
|
660
682
|
else
|
|
661
683
|
$this.municipalityName = municipalityName;
|
|
662
|
-
if (0 === (seen0 &
|
|
684
|
+
if (0 === (seen0 & 134217728))
|
|
663
685
|
$this.municipalityNumber = null;
|
|
664
686
|
else
|
|
665
687
|
$this.municipalityNumber = municipalityNumber;
|
|
666
|
-
if (0 === (seen0 &
|
|
688
|
+
if (0 === (seen0 & 268435456))
|
|
667
689
|
$this.name = null;
|
|
668
690
|
else
|
|
669
691
|
$this.name = name;
|
|
670
|
-
if (0 === (seen0 &
|
|
692
|
+
if (0 === (seen0 & 536870912))
|
|
671
693
|
$this.nonResidentialSqm = null;
|
|
672
694
|
else
|
|
673
695
|
$this.nonResidentialSqm = nonResidentialSqm;
|
|
674
|
-
if (0 === (seen0 &
|
|
696
|
+
if (0 === (seen0 & 1073741824))
|
|
675
697
|
$this.origin = null;
|
|
676
698
|
else
|
|
677
699
|
$this.origin = origin;
|
|
678
|
-
if (0 === (seen0 &
|
|
700
|
+
if (0 === (seen0 & -2147483648))
|
|
679
701
|
$this.originCode = null;
|
|
680
702
|
else
|
|
681
703
|
$this.originCode = originCode;
|
|
682
|
-
if (0 === (
|
|
704
|
+
if (0 === (seen1 & 1))
|
|
683
705
|
$this.residentialSqm = null;
|
|
684
706
|
else
|
|
685
707
|
$this.residentialSqm = residentialSqm;
|
|
686
|
-
if (0 === (seen1 &
|
|
708
|
+
if (0 === (seen1 & 2))
|
|
687
709
|
$this.sewer = null;
|
|
688
710
|
else
|
|
689
711
|
$this.sewer = sewer;
|
|
690
|
-
if (0 === (seen1 &
|
|
712
|
+
if (0 === (seen1 & 4))
|
|
691
713
|
$this.sewerCode = null;
|
|
692
714
|
else
|
|
693
715
|
$this.sewerCode = sewerCode;
|
|
694
|
-
if (0 === (seen1 &
|
|
716
|
+
if (0 === (seen1 & 8))
|
|
695
717
|
$this.waterSupply = null;
|
|
696
718
|
else
|
|
697
719
|
$this.waterSupply = waterSupply;
|
|
698
|
-
if (0 === (seen1 &
|
|
720
|
+
if (0 === (seen1 & 16))
|
|
699
721
|
$this.waterSupplyCode = null;
|
|
700
722
|
else
|
|
701
723
|
$this.waterSupplyCode = waterSupplyCode;
|
|
702
724
|
return $this;
|
|
703
725
|
}
|
|
704
|
-
function CreateBuilding_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, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode, serializationConstructorMarker) {
|
|
705
|
-
return CreateBuilding_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, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode, serializationConstructorMarker, objectCreate(protoOf(CreateBuilding())));
|
|
726
|
+
function CreateBuilding_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, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode, serializationConstructorMarker) {
|
|
727
|
+
return CreateBuilding_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, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode, serializationConstructorMarker, objectCreate(protoOf(CreateBuilding())));
|
|
706
728
|
}
|
|
707
729
|
var CreateBuildingClass;
|
|
708
730
|
function CreateBuilding() {
|
|
709
731
|
if (CreateBuildingClass === VOID) {
|
|
710
|
-
initMetadataForClass($, 'CreateBuilding', CreateBuilding, VOID, VOID, VOID, VOID, {0: $
|
|
711
|
-
function $(buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode) {
|
|
712
|
-
var __soliboProps = arguments.length === 1 && typeof
|
|
732
|
+
initMetadataForClass($, 'CreateBuilding', CreateBuilding, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_1});
|
|
733
|
+
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, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode) {
|
|
734
|
+
var __soliboProps = arguments.length === 1 && typeof alterations === 'object' && alterations !== null && alterations.constructor === Object;
|
|
713
735
|
var __soliboTmp, __soliboConverted = false;
|
|
714
736
|
if (__soliboProps) {
|
|
715
|
-
const props =
|
|
737
|
+
const props = alterations;
|
|
738
|
+
alterations = ('alterations' in props ? props.alterations : VOID);
|
|
716
739
|
buildingChange = ('buildingChange' in props ? props.buildingChange : VOID);
|
|
717
740
|
buildingChangeCode = ('buildingChangeCode' in props ? props.buildingChangeCode : VOID);
|
|
718
741
|
buildingChangeCount = ('buildingChangeCount' in props ? props.buildingChangeCount : VOID);
|
|
@@ -750,6 +773,7 @@ function CreateBuilding() {
|
|
|
750
773
|
waterSupply = ('waterSupply' in props ? props.waterSupply : VOID);
|
|
751
774
|
waterSupplyCode = ('waterSupplyCode' in props ? props.waterSupplyCode : VOID);
|
|
752
775
|
}
|
|
776
|
+
if ((__soliboTmp = __soliboToKt(alterations, ["list",["model","CreateBuildingAlteration"]])) !== alterations) { alterations = __soliboTmp; __soliboConverted = true; }
|
|
753
777
|
if ((__soliboTmp = __soliboToKt(buildingChangeCount, ["bigint"])) !== buildingChangeCount) { buildingChangeCount = __soliboTmp; __soliboConverted = true; }
|
|
754
778
|
if ((__soliboTmp = __soliboToKt(bygningsNr, ["bigint"])) !== bygningsNr) { bygningsNr = __soliboTmp; __soliboConverted = true; }
|
|
755
779
|
if ((__soliboTmp = __soliboToKt(constructionYear, ["bigint"])) !== constructionYear) { constructionYear = __soliboTmp; __soliboConverted = true; }
|
|
@@ -761,6 +785,7 @@ function CreateBuilding() {
|
|
|
761
785
|
if ((__soliboTmp = __soliboToKt(historicId, ["bigint"])) !== historicId) { historicId = __soliboTmp; __soliboConverted = true; }
|
|
762
786
|
if ((__soliboTmp = __soliboToKt(housingUnitCount, ["bigint"])) !== housingUnitCount) { housingUnitCount = __soliboTmp; __soliboConverted = true; }
|
|
763
787
|
Companion_getInstance();
|
|
788
|
+
alterations = alterations === VOID ? null : alterations;
|
|
764
789
|
buildingChange = buildingChange === VOID ? null : buildingChange;
|
|
765
790
|
buildingChangeCode = buildingChangeCode === VOID ? null : buildingChangeCode;
|
|
766
791
|
buildingChangeCount = buildingChangeCount === VOID ? null : buildingChangeCount;
|
|
@@ -797,6 +822,7 @@ function CreateBuilding() {
|
|
|
797
822
|
sewerCode = sewerCode === VOID ? null : sewerCode;
|
|
798
823
|
waterSupply = waterSupply === VOID ? null : waterSupply;
|
|
799
824
|
waterSupplyCode = waterSupplyCode === VOID ? null : waterSupplyCode;
|
|
825
|
+
this.alterations = alterations;
|
|
800
826
|
this.buildingChange = buildingChange;
|
|
801
827
|
this.buildingChangeCode = buildingChangeCode;
|
|
802
828
|
this.buildingChangeCount = buildingChangeCount;
|
|
@@ -835,6 +861,9 @@ function CreateBuilding() {
|
|
|
835
861
|
this.waterSupplyCode = waterSupplyCode;
|
|
836
862
|
if (__soliboConverted && !__soliboBoundaryState.internalConstruction) return __soliboToJs(this);
|
|
837
863
|
}
|
|
864
|
+
protoOf($).get_alterations_4rpcuj_k$ = function () {
|
|
865
|
+
return this.alterations;
|
|
866
|
+
};
|
|
838
867
|
protoOf($).get_buildingChange_wt94kz_k$ = function () {
|
|
839
868
|
return this.buildingChange;
|
|
840
869
|
};
|
|
@@ -944,117 +973,121 @@ function CreateBuilding() {
|
|
|
944
973
|
return this.waterSupplyCode;
|
|
945
974
|
};
|
|
946
975
|
protoOf($).component1_7eebsc_k$ = function () {
|
|
947
|
-
return this.
|
|
976
|
+
return this.alterations;
|
|
948
977
|
};
|
|
949
978
|
protoOf($).component2_7eebsb_k$ = function () {
|
|
950
|
-
return this.
|
|
979
|
+
return this.buildingChange;
|
|
951
980
|
};
|
|
952
981
|
protoOf($).component3_7eebsa_k$ = function () {
|
|
953
|
-
return this.
|
|
982
|
+
return this.buildingChangeCode;
|
|
954
983
|
};
|
|
955
984
|
protoOf($).component4_7eebs9_k$ = function () {
|
|
956
|
-
return this.
|
|
985
|
+
return this.buildingChangeCount;
|
|
957
986
|
};
|
|
958
987
|
protoOf($).component5_7eebs8_k$ = function () {
|
|
959
|
-
return this.
|
|
988
|
+
return this.buildingStatus;
|
|
960
989
|
};
|
|
961
990
|
protoOf($).component6_7eebs7_k$ = function () {
|
|
962
|
-
return this.
|
|
991
|
+
return this.buildingStatusCode;
|
|
963
992
|
};
|
|
964
993
|
protoOf($).component7_7eebs6_k$ = function () {
|
|
965
|
-
return this.
|
|
994
|
+
return this.buildingType;
|
|
966
995
|
};
|
|
967
996
|
protoOf($).component8_7eebs5_k$ = function () {
|
|
968
|
-
return this.
|
|
997
|
+
return this.buildingTypeCode;
|
|
969
998
|
};
|
|
970
999
|
protoOf($).component9_7eebs4_k$ = function () {
|
|
971
|
-
return this.
|
|
1000
|
+
return this.builtUpAreaSqm;
|
|
972
1001
|
};
|
|
973
1002
|
protoOf($).component10_gazzfo_k$ = function () {
|
|
974
|
-
return this.
|
|
1003
|
+
return this.businessGroup;
|
|
975
1004
|
};
|
|
976
1005
|
protoOf($).component11_gazzfn_k$ = function () {
|
|
977
|
-
return this.
|
|
1006
|
+
return this.businessGroupCode;
|
|
978
1007
|
};
|
|
979
1008
|
protoOf($).component12_gazzfm_k$ = function () {
|
|
980
|
-
return this.
|
|
1009
|
+
return this.bygningsNr;
|
|
981
1010
|
};
|
|
982
1011
|
protoOf($).component13_gazzfl_k$ = function () {
|
|
983
|
-
return this.
|
|
1012
|
+
return this.constructionYear;
|
|
984
1013
|
};
|
|
985
1014
|
protoOf($).component14_gazzfk_k$ = function () {
|
|
986
|
-
return this.
|
|
1015
|
+
return this.energySourceCodes;
|
|
987
1016
|
};
|
|
988
1017
|
protoOf($).component15_gazzfj_k$ = function () {
|
|
989
|
-
return this.
|
|
1018
|
+
return this.energySources;
|
|
990
1019
|
};
|
|
991
1020
|
protoOf($).component16_gazzfi_k$ = function () {
|
|
992
|
-
return this.
|
|
1021
|
+
return this.floors;
|
|
993
1022
|
};
|
|
994
1023
|
protoOf($).component17_gazzfh_k$ = function () {
|
|
995
|
-
return this.
|
|
1024
|
+
return this.hasCulturalMemory;
|
|
996
1025
|
};
|
|
997
1026
|
protoOf($).component18_gazzfg_k$ = function () {
|
|
998
|
-
return this.
|
|
1027
|
+
return this.hasElevator;
|
|
999
1028
|
};
|
|
1000
1029
|
protoOf($).component19_gazzff_k$ = function () {
|
|
1001
|
-
return this.
|
|
1030
|
+
return this.hasIncompleteArea;
|
|
1002
1031
|
};
|
|
1003
1032
|
protoOf($).component20_gazzet_k$ = function () {
|
|
1004
|
-
return this.
|
|
1033
|
+
return this.hasSEFRAK;
|
|
1005
1034
|
};
|
|
1006
1035
|
protoOf($).component21_gazzes_k$ = function () {
|
|
1007
|
-
return this.
|
|
1036
|
+
return this.heatingSourceCodes;
|
|
1008
1037
|
};
|
|
1009
1038
|
protoOf($).component22_gazzer_k$ = function () {
|
|
1010
|
-
return this.
|
|
1039
|
+
return this.heatingSources;
|
|
1011
1040
|
};
|
|
1012
1041
|
protoOf($).component23_gazzeq_k$ = function () {
|
|
1013
|
-
return this.
|
|
1042
|
+
return this.historicId;
|
|
1014
1043
|
};
|
|
1015
1044
|
protoOf($).component24_gazzep_k$ = function () {
|
|
1016
|
-
return this.
|
|
1045
|
+
return this.housingUnitCount;
|
|
1017
1046
|
};
|
|
1018
1047
|
protoOf($).component25_gazzeo_k$ = function () {
|
|
1019
|
-
return this.
|
|
1048
|
+
return this.isProtected;
|
|
1020
1049
|
};
|
|
1021
1050
|
protoOf($).component26_gazzen_k$ = function () {
|
|
1022
|
-
return this.
|
|
1051
|
+
return this.kartverketId;
|
|
1023
1052
|
};
|
|
1024
1053
|
protoOf($).component27_gazzem_k$ = function () {
|
|
1025
|
-
return this.
|
|
1054
|
+
return this.municipalityName;
|
|
1026
1055
|
};
|
|
1027
1056
|
protoOf($).component28_gazzel_k$ = function () {
|
|
1028
|
-
return this.
|
|
1057
|
+
return this.municipalityNumber;
|
|
1029
1058
|
};
|
|
1030
1059
|
protoOf($).component29_gazzek_k$ = function () {
|
|
1031
|
-
return this.
|
|
1060
|
+
return this.name;
|
|
1032
1061
|
};
|
|
1033
1062
|
protoOf($).component30_gazzdy_k$ = function () {
|
|
1034
|
-
return this.
|
|
1063
|
+
return this.nonResidentialSqm;
|
|
1035
1064
|
};
|
|
1036
1065
|
protoOf($).component31_gazzdx_k$ = function () {
|
|
1037
|
-
return this.
|
|
1066
|
+
return this.origin;
|
|
1038
1067
|
};
|
|
1039
1068
|
protoOf($).component32_gazzdw_k$ = function () {
|
|
1040
|
-
return this.
|
|
1069
|
+
return this.originCode;
|
|
1041
1070
|
};
|
|
1042
1071
|
protoOf($).component33_gazzdv_k$ = function () {
|
|
1043
|
-
return this.
|
|
1072
|
+
return this.residentialSqm;
|
|
1044
1073
|
};
|
|
1045
1074
|
protoOf($).component34_gazzdu_k$ = function () {
|
|
1046
|
-
return this.
|
|
1075
|
+
return this.sewer;
|
|
1047
1076
|
};
|
|
1048
1077
|
protoOf($).component35_gazzdt_k$ = function () {
|
|
1049
|
-
return this.
|
|
1078
|
+
return this.sewerCode;
|
|
1050
1079
|
};
|
|
1051
1080
|
protoOf($).component36_gazzds_k$ = function () {
|
|
1081
|
+
return this.waterSupply;
|
|
1082
|
+
};
|
|
1083
|
+
protoOf($).component37_gazzdr_k$ = function () {
|
|
1052
1084
|
return this.waterSupplyCode;
|
|
1053
1085
|
};
|
|
1054
|
-
protoOf($).
|
|
1055
|
-
return new (CreateBuilding())(buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode);
|
|
1086
|
+
protoOf($).copy_tooqco_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, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode) {
|
|
1087
|
+
return new (CreateBuilding())(alterations, buildingChange, buildingChangeCode, buildingChangeCount, buildingStatus, buildingStatusCode, buildingType, buildingTypeCode, builtUpAreaSqm, businessGroup, businessGroupCode, bygningsNr, constructionYear, energySourceCodes, energySources, floors, hasCulturalMemory, hasElevator, hasIncompleteArea, hasSEFRAK, heatingSourceCodes, heatingSources, historicId, housingUnitCount, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode);
|
|
1056
1088
|
};
|
|
1057
|
-
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, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode, $super) {
|
|
1089
|
+
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, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode, $super) {
|
|
1090
|
+
alterations = alterations === VOID ? this.alterations : alterations;
|
|
1058
1091
|
buildingChange = buildingChange === VOID ? this.buildingChange : buildingChange;
|
|
1059
1092
|
buildingChangeCode = buildingChangeCode === VOID ? this.buildingChangeCode : buildingChangeCode;
|
|
1060
1093
|
buildingChangeCount = buildingChangeCount === VOID ? this.buildingChangeCount : buildingChangeCount;
|
|
@@ -1091,13 +1124,14 @@ function CreateBuilding() {
|
|
|
1091
1124
|
sewerCode = sewerCode === VOID ? this.sewerCode : sewerCode;
|
|
1092
1125
|
waterSupply = waterSupply === VOID ? this.waterSupply : waterSupply;
|
|
1093
1126
|
waterSupplyCode = waterSupplyCode === VOID ? this.waterSupplyCode : waterSupplyCode;
|
|
1094
|
-
return $super === VOID ? this.
|
|
1127
|
+
return $super === VOID ? this.copy_tooqco_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, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode) : $super.copy_tooqco_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, isProtected, kartverketId, municipalityName, municipalityNumber, name, nonResidentialSqm, origin, originCode, residentialSqm, sewer, sewerCode, waterSupply, waterSupplyCode);
|
|
1095
1128
|
};
|
|
1096
1129
|
protoOf($).toString = function () {
|
|
1097
|
-
return 'CreateBuilding(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) + ', 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 + ')';
|
|
1130
|
+
return 'CreateBuilding(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) + ', 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 + ')';
|
|
1098
1131
|
};
|
|
1099
1132
|
protoOf($).hashCode = function () {
|
|
1100
|
-
var result = this.
|
|
1133
|
+
var result = this.alterations == null ? 0 : hashCode(this.alterations);
|
|
1134
|
+
result = imul(result, 31) + (this.buildingChange == null ? 0 : getStringHashCode(this.buildingChange)) | 0;
|
|
1101
1135
|
result = imul(result, 31) + (this.buildingChangeCode == null ? 0 : getStringHashCode(this.buildingChangeCode)) | 0;
|
|
1102
1136
|
result = imul(result, 31) + (this.buildingChangeCount == null ? 0 : getBigIntHashCode(this.buildingChangeCount)) | 0;
|
|
1103
1137
|
result = imul(result, 31) + (this.buildingStatus == null ? 0 : getStringHashCode(this.buildingStatus)) | 0;
|
|
@@ -1140,6 +1174,8 @@ function CreateBuilding() {
|
|
|
1140
1174
|
return true;
|
|
1141
1175
|
if (!(other instanceof CreateBuilding()))
|
|
1142
1176
|
return false;
|
|
1177
|
+
if (!equals(this.alterations, other.alterations))
|
|
1178
|
+
return false;
|
|
1143
1179
|
if (!(this.buildingChange == other.buildingChange))
|
|
1144
1180
|
return false;
|
|
1145
1181
|
if (!(this.buildingChangeCode == other.buildingChangeCode))
|
|
@@ -1216,7 +1252,7 @@ function CreateBuilding() {
|
|
|
1216
1252
|
};
|
|
1217
1253
|
/* Solibo boundary patches */
|
|
1218
1254
|
Object.defineProperty($, 'name', { value: "CreateBuilding", configurable: true });
|
|
1219
|
-
__soliboRegisterOwnFields($, {"energySourceCodes":["list",null],"energySources":["list",null],"floors":["list",["model","CreateBuildingFloor"]],"heatingSourceCodes":["list",null],"heatingSources":["list",null]});
|
|
1255
|
+
__soliboRegisterOwnFields($, {"alterations":["list",["model","CreateBuildingAlteration"]],"energySourceCodes":["list",null],"energySources":["list",null],"floors":["list",["model","CreateBuildingFloor"]],"heatingSourceCodes":["list",null],"heatingSources":["list",null]});
|
|
1220
1256
|
__soliboRegisterLookup("CreateBuilding", () => $);
|
|
1221
1257
|
CreateBuildingClass = $;
|
|
1222
1258
|
}
|
|
@@ -1224,11 +1260,12 @@ function CreateBuilding() {
|
|
|
1224
1260
|
}
|
|
1225
1261
|
//region block: exports
|
|
1226
1262
|
export {
|
|
1227
|
-
$
|
|
1263
|
+
$serializer_getInstance_1 as $serializer_getInstance20y1vt52brz0y,
|
|
1228
1264
|
CreateBuilding as CreateBuildingnnfhbafc6hr9,
|
|
1229
1265
|
};
|
|
1230
1266
|
//endregion
|
|
1231
1267
|
|
|
1232
1268
|
/* Solibo boundary lookups */
|
|
1269
|
+
__soliboRegisterLookup("CreateBuildingAlteration", () => __soliboType_CreateBuildingAlteration());
|
|
1233
1270
|
__soliboRegisterLookup("CreateBuildingFloor", () => __soliboType_CreateBuildingFloor());
|
|
1234
1271
|
|