@blueid/access-proto 12.27.0 → 12.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,11 @@
8
8
  // For information on using the generated types, please see the documentation:
9
9
  // https://github.com/apple/swift-protobuf/
10
10
 
11
+ #if canImport(FoundationEssentials)
12
+ import FoundationEssentials
13
+ #else
11
14
  import Foundation
15
+ #endif
12
16
  import SwiftProtobuf
13
17
 
14
18
  // If the compiler emits an error on this type, it is because this file
@@ -27,29 +31,29 @@ public struct BlueBaseConfig: Sendable {
27
31
  // methods supported on all messages.
28
32
 
29
33
  public var isoCountry: String {
30
- get {return _isoCountry ?? String()}
34
+ get {_isoCountry ?? String()}
31
35
  set {_isoCountry = newValue}
32
36
  }
33
37
  /// Returns true if `isoCountry` has been explicitly set.
34
- public var hasIsoCountry: Bool {return self._isoCountry != nil}
38
+ public var hasIsoCountry: Bool {self._isoCountry != nil}
35
39
  /// Clears the value of `isoCountry`. Subsequent reads from it will return its default value.
36
40
  public mutating func clearIsoCountry() {self._isoCountry = nil}
37
41
 
38
42
  public var isoState: String {
39
- get {return _isoState ?? String()}
43
+ get {_isoState ?? String()}
40
44
  set {_isoState = newValue}
41
45
  }
42
46
  /// Returns true if `isoState` has been explicitly set.
43
- public var hasIsoState: Bool {return self._isoState != nil}
47
+ public var hasIsoState: Bool {self._isoState != nil}
44
48
  /// Clears the value of `isoState`. Subsequent reads from it will return its default value.
45
49
  public mutating func clearIsoState() {self._isoState = nil}
46
50
 
47
51
  public var utcOffsetMinutes: Int32 {
48
- get {return _utcOffsetMinutes ?? 0}
52
+ get {_utcOffsetMinutes ?? 0}
49
53
  set {_utcOffsetMinutes = newValue}
50
54
  }
51
55
  /// Returns true if `utcOffsetMinutes` has been explicitly set.
52
- public var hasUtcOffsetMinutes: Bool {return self._utcOffsetMinutes != nil}
56
+ public var hasUtcOffsetMinutes: Bool {self._utcOffsetMinutes != nil}
53
57
  /// Clears the value of `utcOffsetMinutes`. Subsequent reads from it will return its default value.
54
58
  public mutating func clearUtcOffsetMinutes() {self._utcOffsetMinutes = nil}
55
59
 
@@ -57,11 +61,11 @@ public struct BlueBaseConfig: Sendable {
57
61
  /// react accordingly ie like when battery is running low opening the lock
58
62
  /// and logging accordingly etc
59
63
  public var autoCheckSystemStatus: Bool {
60
- get {return _autoCheckSystemStatus ?? false}
64
+ get {_autoCheckSystemStatus ?? false}
61
65
  set {_autoCheckSystemStatus = newValue}
62
66
  }
63
67
  /// Returns true if `autoCheckSystemStatus` has been explicitly set.
64
- public var hasAutoCheckSystemStatus: Bool {return self._autoCheckSystemStatus != nil}
68
+ public var hasAutoCheckSystemStatus: Bool {self._autoCheckSystemStatus != nil}
65
69
  /// Clears the value of `autoCheckSystemStatus`. Subsequent reads from it will return its default value.
66
70
  public mutating func clearAutoCheckSystemStatus() {self._autoCheckSystemStatus = nil}
67
71
 
@@ -82,11 +86,11 @@ public struct BlueBleConfig: Sendable {
82
86
 
83
87
  /// Whether ble is enabled or not
84
88
  public var isAdvertising: Bool {
85
- get {return _isAdvertising ?? true}
89
+ get {_isAdvertising ?? true}
86
90
  set {_isAdvertising = newValue}
87
91
  }
88
92
  /// Returns true if `isAdvertising` has been explicitly set.
89
- public var hasIsAdvertising: Bool {return self._isAdvertising != nil}
93
+ public var hasIsAdvertising: Bool {self._isAdvertising != nil}
90
94
  /// Clears the value of `isAdvertising`. Subsequent reads from it will return its default value.
91
95
  public mutating func clearIsAdvertising() {self._isAdvertising = nil}
92
96
 
@@ -100,52 +104,52 @@ public struct BlueBleConfig: Sendable {
100
104
 
101
105
  /// The desired advertising interval in ms
102
106
  public var advertisingIntervalMs: UInt32 {
103
- get {return _advertisingIntervalMs ?? 500}
107
+ get {_advertisingIntervalMs ?? 500}
104
108
  set {_advertisingIntervalMs = newValue}
105
109
  }
106
110
  /// Returns true if `advertisingIntervalMs` has been explicitly set.
107
- public var hasAdvertisingIntervalMs: Bool {return self._advertisingIntervalMs != nil}
111
+ public var hasAdvertisingIntervalMs: Bool {self._advertisingIntervalMs != nil}
108
112
  /// Clears the value of `advertisingIntervalMs`. Subsequent reads from it will return its default value.
109
113
  public mutating func clearAdvertisingIntervalMs() {self._advertisingIntervalMs = nil}
110
114
 
111
115
  /// The maximal connection timeout per connection in milliseconds
112
116
  public var maxConnectionTimeoutMs: UInt32 {
113
- get {return _maxConnectionTimeoutMs ?? 3000}
117
+ get {_maxConnectionTimeoutMs ?? 3000}
114
118
  set {_maxConnectionTimeoutMs = newValue}
115
119
  }
116
120
  /// Returns true if `maxConnectionTimeoutMs` has been explicitly set.
117
- public var hasMaxConnectionTimeoutMs: Bool {return self._maxConnectionTimeoutMs != nil}
121
+ public var hasMaxConnectionTimeoutMs: Bool {self._maxConnectionTimeoutMs != nil}
118
122
  /// Clears the value of `maxConnectionTimeoutMs`. Subsequent reads from it will return its default value.
119
123
  public mutating func clearMaxConnectionTimeoutMs() {self._maxConnectionTimeoutMs = nil}
120
124
 
121
125
  /// The actual tx power level used for bluetooth from (0 - lowest) to 7
122
126
  /// (highest)
123
127
  public var txPowerLevel: UInt32 {
124
- get {return _txPowerLevel ?? 3}
128
+ get {_txPowerLevel ?? 3}
125
129
  set {_txPowerLevel = newValue}
126
130
  }
127
131
  /// Returns true if `txPowerLevel` has been explicitly set.
128
- public var hasTxPowerLevel: Bool {return self._txPowerLevel != nil}
132
+ public var hasTxPowerLevel: Bool {self._txPowerLevel != nil}
129
133
  /// Clears the value of `txPowerLevel`. Subsequent reads from it will return its default value.
130
134
  public mutating func clearTxPowerLevel() {self._txPowerLevel = nil}
131
135
 
132
136
  /// The advertised tx power level at 1 meter in decibel (-XX - +XX)
133
137
  public var advertisedTxPower1Meter: Int32 {
134
- get {return _advertisedTxPower1Meter ?? -77}
138
+ get {_advertisedTxPower1Meter ?? -77}
135
139
  set {_advertisedTxPower1Meter = newValue}
136
140
  }
137
141
  /// Returns true if `advertisedTxPower1Meter` has been explicitly set.
138
- public var hasAdvertisedTxPower1Meter: Bool {return self._advertisedTxPower1Meter != nil}
142
+ public var hasAdvertisedTxPower1Meter: Bool {self._advertisedTxPower1Meter != nil}
139
143
  /// Clears the value of `advertisedTxPower1Meter`. Subsequent reads from it will return its default value.
140
144
  public mutating func clearAdvertisedTxPower1Meter() {self._advertisedTxPower1Meter = nil}
141
145
 
142
146
  /// If set then advertises as IBeacon otherwise uses regular advertising
143
147
  public var isIbeaconAdvertisement: Bool {
144
- get {return _isIbeaconAdvertisement ?? false}
148
+ get {_isIbeaconAdvertisement ?? false}
145
149
  set {_isIbeaconAdvertisement = newValue}
146
150
  }
147
151
  /// Returns true if `isIbeaconAdvertisement` has been explicitly set.
148
- public var hasIsIbeaconAdvertisement: Bool {return self._isIbeaconAdvertisement != nil}
152
+ public var hasIsIbeaconAdvertisement: Bool {self._isIbeaconAdvertisement != nil}
149
153
  /// Clears the value of `isIbeaconAdvertisement`. Subsequent reads from it will return its default value.
150
154
  public mutating func clearIsIbeaconAdvertisement() {self._isIbeaconAdvertisement = nil}
151
155
 
@@ -173,31 +177,31 @@ public struct BlueOnlineConfig: Sendable {
173
177
 
174
178
  /// The SSID of the wifi network
175
179
  public var wifiSsid: String {
176
- get {return _wifiSsid ?? String()}
180
+ get {_wifiSsid ?? String()}
177
181
  set {_wifiSsid = newValue}
178
182
  }
179
183
  /// Returns true if `wifiSsid` has been explicitly set.
180
- public var hasWifiSsid: Bool {return self._wifiSsid != nil}
184
+ public var hasWifiSsid: Bool {self._wifiSsid != nil}
181
185
  /// Clears the value of `wifiSsid`. Subsequent reads from it will return its default value.
182
186
  public mutating func clearWifiSsid() {self._wifiSsid = nil}
183
187
 
184
188
  /// The wifi password
185
189
  public var wifiPassword: String {
186
- get {return _wifiPassword ?? String()}
190
+ get {_wifiPassword ?? String()}
187
191
  set {_wifiPassword = newValue}
188
192
  }
189
193
  /// Returns true if `wifiPassword` has been explicitly set.
190
- public var hasWifiPassword: Bool {return self._wifiPassword != nil}
194
+ public var hasWifiPassword: Bool {self._wifiPassword != nil}
191
195
  /// Clears the value of `wifiPassword`. Subsequent reads from it will return its default value.
192
196
  public mutating func clearWifiPassword() {self._wifiPassword = nil}
193
197
 
194
198
  /// Default timeout for online connections
195
199
  public var timeoutSec: UInt32 {
196
- get {return _timeoutSec ?? 30}
200
+ get {_timeoutSec ?? 30}
197
201
  set {_timeoutSec = newValue}
198
202
  }
199
203
  /// Returns true if `timeoutSec` has been explicitly set.
200
- public var hasTimeoutSec: Bool {return self._timeoutSec != nil}
204
+ public var hasTimeoutSec: Bool {self._timeoutSec != nil}
201
205
  /// Clears the value of `timeoutSec`. Subsequent reads from it will return its default value.
202
206
  public mutating func clearTimeoutSec() {self._timeoutSec = nil}
203
207
 
@@ -216,11 +220,11 @@ public struct BlueAccessConfigGroup: Sendable {
216
220
  // methods supported on all messages.
217
221
 
218
222
  public var groupID: UInt32 {
219
- get {return _groupID ?? 0}
223
+ get {_groupID ?? 0}
220
224
  set {_groupID = newValue}
221
225
  }
222
226
  /// Returns true if `groupID` has been explicitly set.
223
- public var hasGroupID: Bool {return self._groupID != nil}
227
+ public var hasGroupID: Bool {self._groupID != nil}
224
228
  /// Clears the value of `groupID`. Subsequent reads from it will return its default value.
225
229
  public mutating func clearGroupID() {self._groupID = nil}
226
230
 
@@ -240,21 +244,21 @@ public struct BlueAccessConfig: Sendable {
240
244
 
241
245
  /// The device's unique access id
242
246
  public var id: UInt32 {
243
- get {return _id ?? 1}
247
+ get {_id ?? 1}
244
248
  set {_id = newValue}
245
249
  }
246
250
  /// Returns true if `id` has been explicitly set.
247
- public var hasID: Bool {return self._id != nil}
251
+ public var hasID: Bool {self._id != nil}
248
252
  /// Clears the value of `id`. Subsequent reads from it will return its default value.
249
253
  public mutating func clearID() {self._id = nil}
250
254
 
251
255
  /// The site id bound to this device
252
256
  public var siteID: UInt32 {
253
- get {return _siteID ?? 1}
257
+ get {_siteID ?? 1}
254
258
  set {_siteID = newValue}
255
259
  }
256
260
  /// Returns true if `siteID` has been explicitly set.
257
- public var hasSiteID: Bool {return self._siteID != nil}
261
+ public var hasSiteID: Bool {self._siteID != nil}
258
262
  /// Clears the value of `siteID`. Subsequent reads from it will return its default value.
259
263
  public mutating func clearSiteID() {self._siteID = nil}
260
264
 
@@ -263,11 +267,11 @@ public struct BlueAccessConfig: Sendable {
263
267
 
264
268
  /// The device's unique access id (16-bit)
265
269
  public var extendedID: UInt32 {
266
- get {return _extendedID ?? 1}
270
+ get {_extendedID ?? 1}
267
271
  set {_extendedID = newValue}
268
272
  }
269
273
  /// Returns true if `extendedID` has been explicitly set.
270
- public var hasExtendedID: Bool {return self._extendedID != nil}
274
+ public var hasExtendedID: Bool {self._extendedID != nil}
271
275
  /// Clears the value of `extendedID`. Subsequent reads from it will return its default value.
272
276
  public mutating func clearExtendedID() {self._extendedID = nil}
273
277
 
@@ -290,22 +294,22 @@ public struct BlueOssConfig: Sendable {
290
294
  /// The mifare aes-key for reading the oss secure id application, default is
291
295
  /// the oss sid demo key
292
296
  public var sidMifareAesKey: Data {
293
- get {return _sidMifareAesKey ?? Data([255, 238, 221, 204, 187, 170, 153, 136, 119, 102, 85, 68, 51, 34, 17, 0])}
297
+ get {_sidMifareAesKey ?? Data([255, 238, 221, 204, 187, 170, 153, 136, 119, 102, 85, 68, 51, 34, 17, 0])}
294
298
  set {_sidMifareAesKey = newValue}
295
299
  }
296
300
  /// Returns true if `sidMifareAesKey` has been explicitly set.
297
- public var hasSidMifareAesKey: Bool {return self._sidMifareAesKey != nil}
301
+ public var hasSidMifareAesKey: Bool {self._sidMifareAesKey != nil}
298
302
  /// Clears the value of `sidMifareAesKey`. Subsequent reads from it will return its default value.
299
303
  public mutating func clearSidMifareAesKey() {self._sidMifareAesKey = nil}
300
304
 
301
305
  /// The mifare application id for the oss secure id application, default is the
302
306
  /// oss sid default aid. A value of 0 disables Oss Sid Mifare support.
303
307
  public var sidMifareAid: UInt32 {
304
- get {return _sidMifareAid ?? 16076801}
308
+ get {_sidMifareAid ?? 16076801}
305
309
  set {_sidMifareAid = newValue}
306
310
  }
307
311
  /// Returns true if `sidMifareAid` has been explicitly set.
308
- public var hasSidMifareAid: Bool {return self._sidMifareAid != nil}
312
+ public var hasSidMifareAid: Bool {self._sidMifareAid != nil}
309
313
  /// Clears the value of `sidMifareAid`. Subsequent reads from it will return its default value.
310
314
  public mutating func clearSidMifareAid() {self._sidMifareAid = nil}
311
315
 
@@ -313,64 +317,64 @@ public struct BlueOssConfig: Sendable {
313
317
  /// offline card if required as well as it will try to get and put the latest
314
318
  /// blacklist on the card
315
319
  public var soUpdater: Bool {
316
- get {return _soUpdater ?? false}
320
+ get {_soUpdater ?? false}
317
321
  set {_soUpdater = newValue}
318
322
  }
319
323
  /// Returns true if `soUpdater` has been explicitly set.
320
- public var hasSoUpdater: Bool {return self._soUpdater != nil}
324
+ public var hasSoUpdater: Bool {self._soUpdater != nil}
321
325
  /// Clears the value of `soUpdater`. Subsequent reads from it will return its default value.
322
326
  public mutating func clearSoUpdater() {self._soUpdater = nil}
323
327
 
324
328
  /// If set the system will try to connect online if there are any events on a
325
329
  /// presented card and transfer all events online
326
330
  public var soPushEvents: Bool {
327
- get {return _soPushEvents ?? false}
331
+ get {_soPushEvents ?? false}
328
332
  set {_soPushEvents = newValue}
329
333
  }
330
334
  /// Returns true if `soPushEvents` has been explicitly set.
331
- public var hasSoPushEvents: Bool {return self._soPushEvents != nil}
335
+ public var hasSoPushEvents: Bool {self._soPushEvents != nil}
332
336
  /// Clears the value of `soPushEvents`. Subsequent reads from it will return its default value.
333
337
  public mutating func clearSoPushEvents() {self._soPushEvents = nil}
334
338
 
335
339
  /// If set the system will transfer pending events to an offline card
336
340
  public var soWritePendingEvents: Bool {
337
- get {return _soWritePendingEvents ?? true}
341
+ get {_soWritePendingEvents ?? true}
338
342
  set {_soWritePendingEvents = newValue}
339
343
  }
340
344
  /// Returns true if `soWritePendingEvents` has been explicitly set.
341
- public var hasSoWritePendingEvents: Bool {return self._soWritePendingEvents != nil}
345
+ public var hasSoWritePendingEvents: Bool {self._soWritePendingEvents != nil}
342
346
  /// Clears the value of `soWritePendingEvents`. Subsequent reads from it will return its default value.
343
347
  public mutating func clearSoWritePendingEvents() {self._soWritePendingEvents = nil}
344
348
 
345
349
  /// If set the system will update from the blacklist of an offline card
346
350
  public var soUpdateFromBlacklist: Bool {
347
- get {return _soUpdateFromBlacklist ?? true}
351
+ get {_soUpdateFromBlacklist ?? true}
348
352
  set {_soUpdateFromBlacklist = newValue}
349
353
  }
350
354
  /// Returns true if `soUpdateFromBlacklist` has been explicitly set.
351
- public var hasSoUpdateFromBlacklist: Bool {return self._soUpdateFromBlacklist != nil}
355
+ public var hasSoUpdateFromBlacklist: Bool {self._soUpdateFromBlacklist != nil}
352
356
  /// Clears the value of `soUpdateFromBlacklist`. Subsequent reads from it will return its default value.
353
357
  public mutating func clearSoUpdateFromBlacklist() {self._soUpdateFromBlacklist = nil}
354
358
 
355
359
  /// The mifare aes-key for reading/writing the oss offline application, default
356
360
  /// is the oss so demo key
357
361
  public var soMifareAesKey: Data {
358
- get {return _soMifareAesKey ?? Data([16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31])}
362
+ get {_soMifareAesKey ?? Data([16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31])}
359
363
  set {_soMifareAesKey = newValue}
360
364
  }
361
365
  /// Returns true if `soMifareAesKey` has been explicitly set.
362
- public var hasSoMifareAesKey: Bool {return self._soMifareAesKey != nil}
366
+ public var hasSoMifareAesKey: Bool {self._soMifareAesKey != nil}
363
367
  /// Clears the value of `soMifareAesKey`. Subsequent reads from it will return its default value.
364
368
  public mutating func clearSoMifareAesKey() {self._soMifareAesKey = nil}
365
369
 
366
370
  /// The mifare application id for the oss offline application, default is the
367
371
  /// oss so default aid. A value of 0 disables Oss So Mifare support.
368
372
  public var soMifareAid: UInt32 {
369
- get {return _soMifareAid ?? 16076800}
373
+ get {_soMifareAid ?? 16076800}
370
374
  set {_soMifareAid = newValue}
371
375
  }
372
376
  /// Returns true if `soMifareAid` has been explicitly set.
373
- public var hasSoMifareAid: Bool {return self._soMifareAid != nil}
377
+ public var hasSoMifareAid: Bool {self._soMifareAid != nil}
374
378
  /// Clears the value of `soMifareAid`. Subsequent reads from it will return its default value.
375
379
  public mutating func clearSoMifareAid() {self._soMifareAid = nil}
376
380
 
@@ -394,39 +398,39 @@ public struct BlueSystemAVRInfo: Sendable {
394
398
  // methods supported on all messages.
395
399
 
396
400
  public var vermaj: UInt32 {
397
- get {return _vermaj ?? 0}
401
+ get {_vermaj ?? 0}
398
402
  set {_vermaj = newValue}
399
403
  }
400
404
  /// Returns true if `vermaj` has been explicitly set.
401
- public var hasVermaj: Bool {return self._vermaj != nil}
405
+ public var hasVermaj: Bool {self._vermaj != nil}
402
406
  /// Clears the value of `vermaj`. Subsequent reads from it will return its default value.
403
407
  public mutating func clearVermaj() {self._vermaj = nil}
404
408
 
405
409
  public var vermin: UInt32 {
406
- get {return _vermin ?? 0}
410
+ get {_vermin ?? 0}
407
411
  set {_vermin = newValue}
408
412
  }
409
413
  /// Returns true if `vermin` has been explicitly set.
410
- public var hasVermin: Bool {return self._vermin != nil}
414
+ public var hasVermin: Bool {self._vermin != nil}
411
415
  /// Clears the value of `vermin`. Subsequent reads from it will return its default value.
412
416
  public mutating func clearVermin() {self._vermin = nil}
413
417
 
414
418
  public var buildnr: UInt32 {
415
- get {return _buildnr ?? 0}
419
+ get {_buildnr ?? 0}
416
420
  set {_buildnr = newValue}
417
421
  }
418
422
  /// Returns true if `buildnr` has been explicitly set.
419
- public var hasBuildnr: Bool {return self._buildnr != nil}
423
+ public var hasBuildnr: Bool {self._buildnr != nil}
420
424
  /// Clears the value of `buildnr`. Subsequent reads from it will return its default value.
421
425
  public mutating func clearBuildnr() {self._buildnr = nil}
422
426
 
423
427
  /// For an ongoing upgrade, this field shows the total bytes written up to this point.
424
428
  public var bytesWritten: UInt32 {
425
- get {return _bytesWritten ?? 0}
429
+ get {_bytesWritten ?? 0}
426
430
  set {_bytesWritten = newValue}
427
431
  }
428
432
  /// Returns true if `bytesWritten` has been explicitly set.
429
- public var hasBytesWritten: Bool {return self._bytesWritten != nil}
433
+ public var hasBytesWritten: Bool {self._bytesWritten != nil}
430
434
  /// Clears the value of `bytesWritten`. Subsequent reads from it will return its default value.
431
435
  public mutating func clearBytesWritten() {self._bytesWritten = nil}
432
436
 
@@ -446,67 +450,67 @@ public struct BlueSystemConfig: @unchecked Sendable {
446
450
  // methods supported on all messages.
447
451
 
448
452
  public var configID: String {
449
- get {return _storage._configID ?? String()}
453
+ get {_storage._configID ?? String()}
450
454
  set {_uniqueStorage()._configID = newValue}
451
455
  }
452
456
  /// Returns true if `configID` has been explicitly set.
453
- public var hasConfigID: Bool {return _storage._configID != nil}
457
+ public var hasConfigID: Bool {_storage._configID != nil}
454
458
  /// Clears the value of `configID`. Subsequent reads from it will return its default value.
455
459
  public mutating func clearConfigID() {_uniqueStorage()._configID = nil}
456
460
 
457
461
  /// -- Base
458
462
  public var base: BlueBaseConfig {
459
- get {return _storage._base ?? BlueBaseConfig()}
463
+ get {_storage._base ?? BlueBaseConfig()}
460
464
  set {_uniqueStorage()._base = newValue}
461
465
  }
462
466
  /// Returns true if `base` has been explicitly set.
463
- public var hasBase: Bool {return _storage._base != nil}
467
+ public var hasBase: Bool {_storage._base != nil}
464
468
  /// Clears the value of `base`. Subsequent reads from it will return its default value.
465
469
  public mutating func clearBase() {_uniqueStorage()._base = nil}
466
470
 
467
471
  public var ble: BlueBleConfig {
468
- get {return _storage._ble ?? BlueBleConfig()}
472
+ get {_storage._ble ?? BlueBleConfig()}
469
473
  set {_uniqueStorage()._ble = newValue}
470
474
  }
471
475
  /// Returns true if `ble` has been explicitly set.
472
- public var hasBle: Bool {return _storage._ble != nil}
476
+ public var hasBle: Bool {_storage._ble != nil}
473
477
  /// Clears the value of `ble`. Subsequent reads from it will return its default value.
474
478
  public mutating func clearBle() {_uniqueStorage()._ble = nil}
475
479
 
476
480
  public var online: BlueOnlineConfig {
477
- get {return _storage._online ?? BlueOnlineConfig()}
481
+ get {_storage._online ?? BlueOnlineConfig()}
478
482
  set {_uniqueStorage()._online = newValue}
479
483
  }
480
484
  /// Returns true if `online` has been explicitly set.
481
- public var hasOnline: Bool {return _storage._online != nil}
485
+ public var hasOnline: Bool {_storage._online != nil}
482
486
  /// Clears the value of `online`. Subsequent reads from it will return its default value.
483
487
  public mutating func clearOnline() {_uniqueStorage()._online = nil}
484
488
 
485
489
  public var access: BlueAccessConfig {
486
- get {return _storage._access ?? BlueAccessConfig()}
490
+ get {_storage._access ?? BlueAccessConfig()}
487
491
  set {_uniqueStorage()._access = newValue}
488
492
  }
489
493
  /// Returns true if `access` has been explicitly set.
490
- public var hasAccess: Bool {return _storage._access != nil}
494
+ public var hasAccess: Bool {_storage._access != nil}
491
495
  /// Clears the value of `access`. Subsequent reads from it will return its default value.
492
496
  public mutating func clearAccess() {_uniqueStorage()._access = nil}
493
497
 
494
498
  public var oss: BlueOssConfig {
495
- get {return _storage._oss ?? BlueOssConfig()}
499
+ get {_storage._oss ?? BlueOssConfig()}
496
500
  set {_uniqueStorage()._oss = newValue}
497
501
  }
498
502
  /// Returns true if `oss` has been explicitly set.
499
- public var hasOss: Bool {return _storage._oss != nil}
503
+ public var hasOss: Bool {_storage._oss != nil}
500
504
  /// Clears the value of `oss`. Subsequent reads from it will return its default value.
501
505
  public mutating func clearOss() {_uniqueStorage()._oss = nil}
502
506
 
503
507
  /// -- Custom
504
508
  public var lock: BlueLockConfig {
505
- get {return _storage._lock ?? BlueLockConfig()}
509
+ get {_storage._lock ?? BlueLockConfig()}
506
510
  set {_uniqueStorage()._lock = newValue}
507
511
  }
508
512
  /// Returns true if `lock` has been explicitly set.
509
- public var hasLock: Bool {return _storage._lock != nil}
513
+ public var hasLock: Bool {_storage._lock != nil}
510
514
  /// Clears the value of `lock`. Subsequent reads from it will return its default value.
511
515
  public mutating func clearLock() {_uniqueStorage()._lock = nil}
512
516
 
@@ -523,11 +527,11 @@ public struct BlueSystemTimeUnix: Sendable {
523
527
  // methods supported on all messages.
524
528
 
525
529
  public var epoch: UInt32 {
526
- get {return _epoch ?? 0}
530
+ get {_epoch ?? 0}
527
531
  set {_epoch = newValue}
528
532
  }
529
533
  /// Returns true if `epoch` has been explicitly set.
530
- public var hasEpoch: Bool {return self._epoch != nil}
534
+ public var hasEpoch: Bool {self._epoch != nil}
531
535
  /// Clears the value of `epoch`. Subsequent reads from it will return its default value.
532
536
  public mutating func clearEpoch() {self._epoch = nil}
533
537
 
@@ -544,20 +548,20 @@ public struct BlueSystemUpdate: Sendable {
544
548
  // methods supported on all messages.
545
549
 
546
550
  public var config: BlueSystemConfig {
547
- get {return _config ?? BlueSystemConfig()}
551
+ get {_config ?? BlueSystemConfig()}
548
552
  set {_config = newValue}
549
553
  }
550
554
  /// Returns true if `config` has been explicitly set.
551
- public var hasConfig: Bool {return self._config != nil}
555
+ public var hasConfig: Bool {self._config != nil}
552
556
  /// Clears the value of `config`. Subsequent reads from it will return its default value.
553
557
  public mutating func clearConfig() {self._config = nil}
554
558
 
555
559
  public var timeUnix: BlueSystemTimeUnix {
556
- get {return _timeUnix ?? BlueSystemTimeUnix()}
560
+ get {_timeUnix ?? BlueSystemTimeUnix()}
557
561
  set {_timeUnix = newValue}
558
562
  }
559
563
  /// Returns true if `timeUnix` has been explicitly set.
560
- public var hasTimeUnix: Bool {return self._timeUnix != nil}
564
+ public var hasTimeUnix: Bool {self._timeUnix != nil}
561
565
  /// Clears the value of `timeUnix`. Subsequent reads from it will return its default value.
562
566
  public mutating func clearTimeUnix() {self._timeUnix = nil}
563
567
 
@@ -575,110 +579,110 @@ public struct BlueSystemSettings: Sendable {
575
579
  // methods supported on all messages.
576
580
 
577
581
  public var blacklistMaxEntriesCount: UInt32 {
578
- get {return _blacklistMaxEntriesCount ?? 0}
582
+ get {_blacklistMaxEntriesCount ?? 0}
579
583
  set {_blacklistMaxEntriesCount = newValue}
580
584
  }
581
585
  /// Returns true if `blacklistMaxEntriesCount` has been explicitly set.
582
- public var hasBlacklistMaxEntriesCount: Bool {return self._blacklistMaxEntriesCount != nil}
586
+ public var hasBlacklistMaxEntriesCount: Bool {self._blacklistMaxEntriesCount != nil}
583
587
  /// Clears the value of `blacklistMaxEntriesCount`. Subsequent reads from it will return its default value.
584
588
  public mutating func clearBlacklistMaxEntriesCount() {self._blacklistMaxEntriesCount = nil}
585
589
 
586
590
  public var blacklistEntriesCount: UInt32 {
587
- get {return _blacklistEntriesCount ?? 0}
591
+ get {_blacklistEntriesCount ?? 0}
588
592
  set {_blacklistEntriesCount = newValue}
589
593
  }
590
594
  /// Returns true if `blacklistEntriesCount` has been explicitly set.
591
- public var hasBlacklistEntriesCount: Bool {return self._blacklistEntriesCount != nil}
595
+ public var hasBlacklistEntriesCount: Bool {self._blacklistEntriesCount != nil}
592
596
  /// Clears the value of `blacklistEntriesCount`. Subsequent reads from it will return its default value.
593
597
  public mutating func clearBlacklistEntriesCount() {self._blacklistEntriesCount = nil}
594
598
 
595
599
  public var eventLogMaxEntriesCount: UInt32 {
596
- get {return _eventLogMaxEntriesCount ?? 0}
600
+ get {_eventLogMaxEntriesCount ?? 0}
597
601
  set {_eventLogMaxEntriesCount = newValue}
598
602
  }
599
603
  /// Returns true if `eventLogMaxEntriesCount` has been explicitly set.
600
- public var hasEventLogMaxEntriesCount: Bool {return self._eventLogMaxEntriesCount != nil}
604
+ public var hasEventLogMaxEntriesCount: Bool {self._eventLogMaxEntriesCount != nil}
601
605
  /// Clears the value of `eventLogMaxEntriesCount`. Subsequent reads from it will return its default value.
602
606
  public mutating func clearEventLogMaxEntriesCount() {self._eventLogMaxEntriesCount = nil}
603
607
 
604
608
  public var eventLogEntriesCount: UInt32 {
605
- get {return _eventLogEntriesCount ?? 0}
609
+ get {_eventLogEntriesCount ?? 0}
606
610
  set {_eventLogEntriesCount = newValue}
607
611
  }
608
612
  /// Returns true if `eventLogEntriesCount` has been explicitly set.
609
- public var hasEventLogEntriesCount: Bool {return self._eventLogEntriesCount != nil}
613
+ public var hasEventLogEntriesCount: Bool {self._eventLogEntriesCount != nil}
610
614
  /// Clears the value of `eventLogEntriesCount`. Subsequent reads from it will return its default value.
611
615
  public mutating func clearEventLogEntriesCount() {self._eventLogEntriesCount = nil}
612
616
 
613
617
  public var eventLogSequenceID: UInt32 {
614
- get {return _eventLogSequenceID ?? 0}
618
+ get {_eventLogSequenceID ?? 0}
615
619
  set {_eventLogSequenceID = newValue}
616
620
  }
617
621
  /// Returns true if `eventLogSequenceID` has been explicitly set.
618
- public var hasEventLogSequenceID: Bool {return self._eventLogSequenceID != nil}
622
+ public var hasEventLogSequenceID: Bool {self._eventLogSequenceID != nil}
619
623
  /// Clears the value of `eventLogSequenceID`. Subsequent reads from it will return its default value.
620
624
  public mutating func clearEventLogSequenceID() {self._eventLogSequenceID = nil}
621
625
 
622
626
  public var eventLogIndex: UInt32 {
623
- get {return _eventLogIndex ?? 0}
627
+ get {_eventLogIndex ?? 0}
624
628
  set {_eventLogIndex = newValue}
625
629
  }
626
630
  /// Returns true if `eventLogIndex` has been explicitly set.
627
- public var hasEventLogIndex: Bool {return self._eventLogIndex != nil}
631
+ public var hasEventLogIndex: Bool {self._eventLogIndex != nil}
628
632
  /// Clears the value of `eventLogIndex`. Subsequent reads from it will return its default value.
629
633
  public mutating func clearEventLogIndex() {self._eventLogIndex = nil}
630
634
 
631
635
  public var systemLogMaxEntriesCount: UInt32 {
632
- get {return _systemLogMaxEntriesCount ?? 0}
636
+ get {_systemLogMaxEntriesCount ?? 0}
633
637
  set {_systemLogMaxEntriesCount = newValue}
634
638
  }
635
639
  /// Returns true if `systemLogMaxEntriesCount` has been explicitly set.
636
- public var hasSystemLogMaxEntriesCount: Bool {return self._systemLogMaxEntriesCount != nil}
640
+ public var hasSystemLogMaxEntriesCount: Bool {self._systemLogMaxEntriesCount != nil}
637
641
  /// Clears the value of `systemLogMaxEntriesCount`. Subsequent reads from it will return its default value.
638
642
  public mutating func clearSystemLogMaxEntriesCount() {self._systemLogMaxEntriesCount = nil}
639
643
 
640
644
  public var systemLogEntriesCount: UInt32 {
641
- get {return _systemLogEntriesCount ?? 0}
645
+ get {_systemLogEntriesCount ?? 0}
642
646
  set {_systemLogEntriesCount = newValue}
643
647
  }
644
648
  /// Returns true if `systemLogEntriesCount` has been explicitly set.
645
- public var hasSystemLogEntriesCount: Bool {return self._systemLogEntriesCount != nil}
649
+ public var hasSystemLogEntriesCount: Bool {self._systemLogEntriesCount != nil}
646
650
  /// Clears the value of `systemLogEntriesCount`. Subsequent reads from it will return its default value.
647
651
  public mutating func clearSystemLogEntriesCount() {self._systemLogEntriesCount = nil}
648
652
 
649
653
  public var systemLogSequenceID: UInt32 {
650
- get {return _systemLogSequenceID ?? 0}
654
+ get {_systemLogSequenceID ?? 0}
651
655
  set {_systemLogSequenceID = newValue}
652
656
  }
653
657
  /// Returns true if `systemLogSequenceID` has been explicitly set.
654
- public var hasSystemLogSequenceID: Bool {return self._systemLogSequenceID != nil}
658
+ public var hasSystemLogSequenceID: Bool {self._systemLogSequenceID != nil}
655
659
  /// Clears the value of `systemLogSequenceID`. Subsequent reads from it will return its default value.
656
660
  public mutating func clearSystemLogSequenceID() {self._systemLogSequenceID = nil}
657
661
 
658
662
  public var systemLogIndex: UInt32 {
659
- get {return _systemLogIndex ?? 0}
663
+ get {_systemLogIndex ?? 0}
660
664
  set {_systemLogIndex = newValue}
661
665
  }
662
666
  /// Returns true if `systemLogIndex` has been explicitly set.
663
- public var hasSystemLogIndex: Bool {return self._systemLogIndex != nil}
667
+ public var hasSystemLogIndex: Bool {self._systemLogIndex != nil}
664
668
  /// Clears the value of `systemLogIndex`. Subsequent reads from it will return its default value.
665
669
  public mutating func clearSystemLogIndex() {self._systemLogIndex = nil}
666
670
 
667
671
  public var timeWasSet: Bool {
668
- get {return _timeWasSet ?? false}
672
+ get {_timeWasSet ?? false}
669
673
  set {_timeWasSet = newValue}
670
674
  }
671
675
  /// Returns true if `timeWasSet` has been explicitly set.
672
- public var hasTimeWasSet: Bool {return self._timeWasSet != nil}
676
+ public var hasTimeWasSet: Bool {self._timeWasSet != nil}
673
677
  /// Clears the value of `timeWasSet`. Subsequent reads from it will return its default value.
674
678
  public mutating func clearTimeWasSet() {self._timeWasSet = nil}
675
679
 
676
680
  public var isBatteryLow: Bool {
677
- get {return _isBatteryLow ?? false}
681
+ get {_isBatteryLow ?? false}
678
682
  set {_isBatteryLow = newValue}
679
683
  }
680
684
  /// Returns true if `isBatteryLow` has been explicitly set.
681
- public var hasIsBatteryLow: Bool {return self._isBatteryLow != nil}
685
+ public var hasIsBatteryLow: Bool {self._isBatteryLow != nil}
682
686
  /// Clears the value of `isBatteryLow`. Subsequent reads from it will return its default value.
683
687
  public mutating func clearIsBatteryLow() {self._isBatteryLow = nil}
684
688
 
@@ -706,54 +710,54 @@ public struct BlueSystemProvisioning: Sendable {
706
710
  // methods supported on all messages.
707
711
 
708
712
  public var hardwareType: BlueHardwareType {
709
- get {return _hardwareType ?? .testHardware}
713
+ get {_hardwareType ?? .testHardware}
710
714
  set {_hardwareType = newValue}
711
715
  }
712
716
  /// Returns true if `hardwareType` has been explicitly set.
713
- public var hasHardwareType: Bool {return self._hardwareType != nil}
717
+ public var hasHardwareType: Bool {self._hardwareType != nil}
714
718
  /// Clears the value of `hardwareType`. Subsequent reads from it will return its default value.
715
719
  public mutating func clearHardwareType() {self._hardwareType = nil}
716
720
 
717
721
  /// Unique id generated by blueid which identitifies this device (default set
718
722
  /// from BlueSharedDemoKeys)
719
723
  public var deviceID: String {
720
- get {return _deviceID ?? String()}
724
+ get {_deviceID ?? String()}
721
725
  set {_deviceID = newValue}
722
726
  }
723
727
  /// Returns true if `deviceID` has been explicitly set.
724
- public var hasDeviceID: Bool {return self._deviceID != nil}
728
+ public var hasDeviceID: Bool {self._deviceID != nil}
725
729
  /// Clears the value of `deviceID`. Subsequent reads from it will return its default value.
726
730
  public mutating func clearDeviceID() {self._deviceID = nil}
727
731
 
728
732
  /// Serial-number which is vendor specific stored as hex
729
733
  public var serialNumber: String {
730
- get {return _serialNumber ?? "00000000000000000000"}
734
+ get {_serialNumber ?? "00000000000000000000"}
731
735
  set {_serialNumber = newValue}
732
736
  }
733
737
  /// Returns true if `serialNumber` has been explicitly set.
734
- public var hasSerialNumber: Bool {return self._serialNumber != nil}
738
+ public var hasSerialNumber: Bool {self._serialNumber != nil}
735
739
  /// Clears the value of `serialNumber`. Subsequent reads from it will return its default value.
736
740
  public mutating func clearSerialNumber() {self._serialNumber = nil}
737
741
 
738
742
  /// Private key used for signing to proof authenticity of this device (default
739
743
  /// set from BlueSharedDemoKeys)
740
744
  public var terminalPrivateKey: Data {
741
- get {return _terminalPrivateKey ?? Data()}
745
+ get {_terminalPrivateKey ?? Data()}
742
746
  set {_terminalPrivateKey = newValue}
743
747
  }
744
748
  /// Returns true if `terminalPrivateKey` has been explicitly set.
745
- public var hasTerminalPrivateKey: Bool {return self._terminalPrivateKey != nil}
749
+ public var hasTerminalPrivateKey: Bool {self._terminalPrivateKey != nil}
746
750
  /// Clears the value of `terminalPrivateKey`. Subsequent reads from it will return its default value.
747
751
  public mutating func clearTerminalPrivateKey() {self._terminalPrivateKey = nil}
748
752
 
749
753
  /// Public key used for verifying signatures being valid on this device
750
754
  /// (default set from BlueSharedDemoKeys)
751
755
  public var signaturePublicKey: Data {
752
- get {return _signaturePublicKey ?? Data()}
756
+ get {_signaturePublicKey ?? Data()}
753
757
  set {_signaturePublicKey = newValue}
754
758
  }
755
759
  /// Returns true if `signaturePublicKey` has been explicitly set.
756
- public var hasSignaturePublicKey: Bool {return self._signaturePublicKey != nil}
760
+ public var hasSignaturePublicKey: Bool {self._signaturePublicKey != nil}
757
761
  /// Clears the value of `signaturePublicKey`. Subsequent reads from it will return its default value.
758
762
  public mutating func clearSignaturePublicKey() {self._signaturePublicKey = nil}
759
763
 
@@ -774,93 +778,93 @@ public struct BlueSystemStatus: @unchecked Sendable {
774
778
  // methods supported on all messages.
775
779
 
776
780
  public var configID: String {
777
- get {return _storage._configID ?? String()}
781
+ get {_storage._configID ?? String()}
778
782
  set {_uniqueStorage()._configID = newValue}
779
783
  }
780
784
  /// Returns true if `configID` has been explicitly set.
781
- public var hasConfigID: Bool {return _storage._configID != nil}
785
+ public var hasConfigID: Bool {_storage._configID != nil}
782
786
  /// Clears the value of `configID`. Subsequent reads from it will return its default value.
783
787
  public mutating func clearConfigID() {_uniqueStorage()._configID = nil}
784
788
 
785
789
  public var deviceID: String {
786
- get {return _storage._deviceID ?? String()}
790
+ get {_storage._deviceID ?? String()}
787
791
  set {_uniqueStorage()._deviceID = newValue}
788
792
  }
789
793
  /// Returns true if `deviceID` has been explicitly set.
790
- public var hasDeviceID: Bool {return _storage._deviceID != nil}
794
+ public var hasDeviceID: Bool {_storage._deviceID != nil}
791
795
  /// Clears the value of `deviceID`. Subsequent reads from it will return its default value.
792
796
  public mutating func clearDeviceID() {_uniqueStorage()._deviceID = nil}
793
797
 
794
798
  public var serialNumber: String {
795
- get {return _storage._serialNumber ?? String()}
799
+ get {_storage._serialNumber ?? String()}
796
800
  set {_uniqueStorage()._serialNumber = newValue}
797
801
  }
798
802
  /// Returns true if `serialNumber` has been explicitly set.
799
- public var hasSerialNumber: Bool {return _storage._serialNumber != nil}
803
+ public var hasSerialNumber: Bool {_storage._serialNumber != nil}
800
804
  /// Clears the value of `serialNumber`. Subsequent reads from it will return its default value.
801
805
  public mutating func clearSerialNumber() {_uniqueStorage()._serialNumber = nil}
802
806
 
803
807
  public var hardwareType: BlueHardwareType {
804
- get {return _storage._hardwareType ?? .unknownHardware}
808
+ get {_storage._hardwareType ?? .unknownHardware}
805
809
  set {_uniqueStorage()._hardwareType = newValue}
806
810
  }
807
811
  /// Returns true if `hardwareType` has been explicitly set.
808
- public var hasHardwareType: Bool {return _storage._hardwareType != nil}
812
+ public var hasHardwareType: Bool {_storage._hardwareType != nil}
809
813
  /// Clears the value of `hardwareType`. Subsequent reads from it will return its default value.
810
814
  public mutating func clearHardwareType() {_uniqueStorage()._hardwareType = nil}
811
815
 
812
816
  public var batteryLevel: BlueBatteryLevel {
813
- get {return _storage._batteryLevel ?? .unknownBattery}
817
+ get {_storage._batteryLevel ?? .unknownBattery}
814
818
  set {_uniqueStorage()._batteryLevel = newValue}
815
819
  }
816
820
  /// Returns true if `batteryLevel` has been explicitly set.
817
- public var hasBatteryLevel: Bool {return _storage._batteryLevel != nil}
821
+ public var hasBatteryLevel: Bool {_storage._batteryLevel != nil}
818
822
  /// Clears the value of `batteryLevel`. Subsequent reads from it will return its default value.
819
823
  public mutating func clearBatteryLevel() {_uniqueStorage()._batteryLevel = nil}
820
824
 
821
825
  public var applicationVersion: UInt32 {
822
- get {return _storage._applicationVersion ?? 0}
826
+ get {_storage._applicationVersion ?? 0}
823
827
  set {_uniqueStorage()._applicationVersion = newValue}
824
828
  }
825
829
  /// Returns true if `applicationVersion` has been explicitly set.
826
- public var hasApplicationVersion: Bool {return _storage._applicationVersion != nil}
830
+ public var hasApplicationVersion: Bool {_storage._applicationVersion != nil}
827
831
  /// Clears the value of `applicationVersion`. Subsequent reads from it will return its default value.
828
832
  public mutating func clearApplicationVersion() {_uniqueStorage()._applicationVersion = nil}
829
833
 
830
834
  public var localTime: BlueLocalTimestamp {
831
- get {return _storage._localTime ?? BlueLocalTimestamp()}
835
+ get {_storage._localTime ?? BlueLocalTimestamp()}
832
836
  set {_uniqueStorage()._localTime = newValue}
833
837
  }
834
838
  /// Returns true if `localTime` has been explicitly set.
835
- public var hasLocalTime: Bool {return _storage._localTime != nil}
839
+ public var hasLocalTime: Bool {_storage._localTime != nil}
836
840
  /// Clears the value of `localTime`. Subsequent reads from it will return its default value.
837
841
  public mutating func clearLocalTime() {_uniqueStorage()._localTime = nil}
838
842
 
839
843
  public var settings: BlueSystemSettings {
840
- get {return _storage._settings ?? BlueSystemSettings()}
844
+ get {_storage._settings ?? BlueSystemSettings()}
841
845
  set {_uniqueStorage()._settings = newValue}
842
846
  }
843
847
  /// Returns true if `settings` has been explicitly set.
844
- public var hasSettings: Bool {return _storage._settings != nil}
848
+ public var hasSettings: Bool {_storage._settings != nil}
845
849
  /// Clears the value of `settings`. Subsequent reads from it will return its default value.
846
850
  public mutating func clearSettings() {_uniqueStorage()._settings = nil}
847
851
 
848
852
  /// -- Custom
849
853
  public var lock: BlueLockStatus {
850
- get {return _storage._lock ?? BlueLockStatus()}
854
+ get {_storage._lock ?? BlueLockStatus()}
851
855
  set {_uniqueStorage()._lock = newValue}
852
856
  }
853
857
  /// Returns true if `lock` has been explicitly set.
854
- public var hasLock: Bool {return _storage._lock != nil}
858
+ public var hasLock: Bool {_storage._lock != nil}
855
859
  /// Clears the value of `lock`. Subsequent reads from it will return its default value.
856
860
  public mutating func clearLock() {_uniqueStorage()._lock = nil}
857
861
 
858
862
  public var applicationVersionTest: UInt32 {
859
- get {return _storage._applicationVersionTest ?? 0}
863
+ get {_storage._applicationVersionTest ?? 0}
860
864
  set {_uniqueStorage()._applicationVersionTest = newValue}
861
865
  }
862
866
  /// Returns true if `applicationVersionTest` has been explicitly set.
863
- public var hasApplicationVersionTest: Bool {return _storage._applicationVersionTest != nil}
867
+ public var hasApplicationVersionTest: Bool {_storage._applicationVersionTest != nil}
864
868
  /// Clears the value of `applicationVersionTest`. Subsequent reads from it will return its default value.
865
869
  public mutating func clearApplicationVersionTest() {_uniqueStorage()._applicationVersionTest = nil}
866
870
 
@@ -877,11 +881,11 @@ public struct BlueSystemLogQuery: Sendable {
877
881
  // methods supported on all messages.
878
882
 
879
883
  public var maxCount: UInt32 {
880
- get {return _maxCount ?? 0}
884
+ get {_maxCount ?? 0}
881
885
  set {_maxCount = newValue}
882
886
  }
883
887
  /// Returns true if `maxCount` has been explicitly set.
884
- public var hasMaxCount: Bool {return self._maxCount != nil}
888
+ public var hasMaxCount: Bool {self._maxCount != nil}
885
889
  /// Clears the value of `maxCount`. Subsequent reads from it will return its default value.
886
890
  public mutating func clearMaxCount() {self._maxCount = nil}
887
891
 
@@ -924,56 +928,56 @@ public struct BlueSystemLogEntry: Sendable {
924
928
  // methods supported on all messages.
925
929
 
926
930
  public var sequenceID: UInt32 {
927
- get {return _sequenceID ?? 0}
931
+ get {_sequenceID ?? 0}
928
932
  set {_sequenceID = newValue}
929
933
  }
930
934
  /// Returns true if `sequenceID` has been explicitly set.
931
- public var hasSequenceID: Bool {return self._sequenceID != nil}
935
+ public var hasSequenceID: Bool {self._sequenceID != nil}
932
936
  /// Clears the value of `sequenceID`. Subsequent reads from it will return its default value.
933
937
  public mutating func clearSequenceID() {self._sequenceID = nil}
934
938
 
935
939
  public var time: BlueLocalTimestamp {
936
- get {return _time ?? BlueLocalTimestamp()}
940
+ get {_time ?? BlueLocalTimestamp()}
937
941
  set {_time = newValue}
938
942
  }
939
943
  /// Returns true if `time` has been explicitly set.
940
- public var hasTime: Bool {return self._time != nil}
944
+ public var hasTime: Bool {self._time != nil}
941
945
  /// Clears the value of `time`. Subsequent reads from it will return its default value.
942
946
  public mutating func clearTime() {self._time = nil}
943
947
 
944
948
  public var severity: UInt32 {
945
- get {return _severity ?? 0}
949
+ get {_severity ?? 0}
946
950
  set {_severity = newValue}
947
951
  }
948
952
  /// Returns true if `severity` has been explicitly set.
949
- public var hasSeverity: Bool {return self._severity != nil}
953
+ public var hasSeverity: Bool {self._severity != nil}
950
954
  /// Clears the value of `severity`. Subsequent reads from it will return its default value.
951
955
  public mutating func clearSeverity() {self._severity = nil}
952
956
 
953
957
  public var line: UInt32 {
954
- get {return _line ?? 0}
958
+ get {_line ?? 0}
955
959
  set {_line = newValue}
956
960
  }
957
961
  /// Returns true if `line` has been explicitly set.
958
- public var hasLine: Bool {return self._line != nil}
962
+ public var hasLine: Bool {self._line != nil}
959
963
  /// Clears the value of `line`. Subsequent reads from it will return its default value.
960
964
  public mutating func clearLine() {self._line = nil}
961
965
 
962
966
  public var file: String {
963
- get {return _file ?? String()}
967
+ get {_file ?? String()}
964
968
  set {_file = newValue}
965
969
  }
966
970
  /// Returns true if `file` has been explicitly set.
967
- public var hasFile: Bool {return self._file != nil}
971
+ public var hasFile: Bool {self._file != nil}
968
972
  /// Clears the value of `file`. Subsequent reads from it will return its default value.
969
973
  public mutating func clearFile() {self._file = nil}
970
974
 
971
975
  public var message: String {
972
- get {return _message ?? String()}
976
+ get {_message ?? String()}
973
977
  set {_message = newValue}
974
978
  }
975
979
  /// Returns true if `message` has been explicitly set.
976
- public var hasMessage: Bool {return self._message != nil}
980
+ public var hasMessage: Bool {self._message != nil}
977
981
  /// Clears the value of `message`. Subsequent reads from it will return its default value.
978
982
  public mutating func clearMessage() {self._message = nil}
979
983
 
@@ -1007,11 +1011,11 @@ public struct BlueEventLogQuery: Sendable {
1007
1011
  // methods supported on all messages.
1008
1012
 
1009
1013
  public var maxCount: UInt32 {
1010
- get {return _maxCount ?? 0}
1014
+ get {_maxCount ?? 0}
1011
1015
  set {_maxCount = newValue}
1012
1016
  }
1013
1017
  /// Returns true if `maxCount` has been explicitly set.
1014
- public var hasMaxCount: Bool {return self._maxCount != nil}
1018
+ public var hasMaxCount: Bool {self._maxCount != nil}
1015
1019
  /// Clears the value of `maxCount`. Subsequent reads from it will return its default value.
1016
1020
  public mutating func clearMaxCount() {self._maxCount = nil}
1017
1021