@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.
- package/package.json +1 -1
- package/swift/BlueCore.pb.swift +376 -372
- package/swift/BlueLock.pb.swift +12 -12
- package/swift/BlueSDK.pb.swift +300 -296
- package/swift/BlueSystem.pb.swift +152 -148
package/swift/BlueSDK.pb.swift
CHANGED
|
@@ -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
|
|
@@ -49,650 +53,650 @@ public struct BlueI18n: @unchecked Sendable {
|
|
|
49
53
|
// methods supported on all messages.
|
|
50
54
|
|
|
51
55
|
public var nfcWaitMessage: String {
|
|
52
|
-
get {
|
|
56
|
+
get {_storage._nfcWaitMessage ?? "Waiting for transponder..."}
|
|
53
57
|
set {_uniqueStorage()._nfcWaitMessage = newValue}
|
|
54
58
|
}
|
|
55
59
|
/// Returns true if `nfcWaitMessage` has been explicitly set.
|
|
56
|
-
public var hasNfcWaitMessage: Bool {
|
|
60
|
+
public var hasNfcWaitMessage: Bool {_storage._nfcWaitMessage != nil}
|
|
57
61
|
/// Clears the value of `nfcWaitMessage`. Subsequent reads from it will return its default value.
|
|
58
62
|
public mutating func clearNfcWaitMessage() {_uniqueStorage()._nfcWaitMessage = nil}
|
|
59
63
|
|
|
60
64
|
public var nfcOssSuccessReadConfigurationMessage: String {
|
|
61
|
-
get {
|
|
65
|
+
get {_storage._nfcOssSuccessReadConfigurationMessage ?? "Credentials read successfully"}
|
|
62
66
|
set {_uniqueStorage()._nfcOssSuccessReadConfigurationMessage = newValue}
|
|
63
67
|
}
|
|
64
68
|
/// Returns true if `nfcOssSuccessReadConfigurationMessage` has been explicitly set.
|
|
65
|
-
public var hasNfcOssSuccessReadConfigurationMessage: Bool {
|
|
69
|
+
public var hasNfcOssSuccessReadConfigurationMessage: Bool {_storage._nfcOssSuccessReadConfigurationMessage != nil}
|
|
66
70
|
/// Clears the value of `nfcOssSuccessReadConfigurationMessage`. Subsequent reads from it will return its default value.
|
|
67
71
|
public mutating func clearNfcOssSuccessReadConfigurationMessage() {_uniqueStorage()._nfcOssSuccessReadConfigurationMessage = nil}
|
|
68
72
|
|
|
69
73
|
public var nfcOssSuccessUpdateConfigurationMessage: String {
|
|
70
|
-
get {
|
|
74
|
+
get {_storage._nfcOssSuccessUpdateConfigurationMessage ?? "Credentials successfully updated"}
|
|
71
75
|
set {_uniqueStorage()._nfcOssSuccessUpdateConfigurationMessage = newValue}
|
|
72
76
|
}
|
|
73
77
|
/// Returns true if `nfcOssSuccessUpdateConfigurationMessage` has been explicitly set.
|
|
74
|
-
public var hasNfcOssSuccessUpdateConfigurationMessage: Bool {
|
|
78
|
+
public var hasNfcOssSuccessUpdateConfigurationMessage: Bool {_storage._nfcOssSuccessUpdateConfigurationMessage != nil}
|
|
75
79
|
/// Clears the value of `nfcOssSuccessUpdateConfigurationMessage`. Subsequent reads from it will return its default value.
|
|
76
80
|
public mutating func clearNfcOssSuccessUpdateConfigurationMessage() {_uniqueStorage()._nfcOssSuccessUpdateConfigurationMessage = nil}
|
|
77
81
|
|
|
78
82
|
public var nfcOssSuccessClearEventsMessage: String {
|
|
79
|
-
get {
|
|
83
|
+
get {_storage._nfcOssSuccessClearEventsMessage ?? "Events successfully cleared"}
|
|
80
84
|
set {_uniqueStorage()._nfcOssSuccessClearEventsMessage = newValue}
|
|
81
85
|
}
|
|
82
86
|
/// Returns true if `nfcOssSuccessClearEventsMessage` has been explicitly set.
|
|
83
|
-
public var hasNfcOssSuccessClearEventsMessage: Bool {
|
|
87
|
+
public var hasNfcOssSuccessClearEventsMessage: Bool {_storage._nfcOssSuccessClearEventsMessage != nil}
|
|
84
88
|
/// Clears the value of `nfcOssSuccessClearEventsMessage`. Subsequent reads from it will return its default value.
|
|
85
89
|
public mutating func clearNfcOssSuccessClearEventsMessage() {_uniqueStorage()._nfcOssSuccessClearEventsMessage = nil}
|
|
86
90
|
|
|
87
91
|
public var nfcOssSuccessIsProvisionedMessage: String {
|
|
88
|
-
get {
|
|
92
|
+
get {_storage._nfcOssSuccessIsProvisionedMessage ?? "Is already provisioned"}
|
|
89
93
|
set {_uniqueStorage()._nfcOssSuccessIsProvisionedMessage = newValue}
|
|
90
94
|
}
|
|
91
95
|
/// Returns true if `nfcOssSuccessIsProvisionedMessage` has been explicitly set.
|
|
92
|
-
public var hasNfcOssSuccessIsProvisionedMessage: Bool {
|
|
96
|
+
public var hasNfcOssSuccessIsProvisionedMessage: Bool {_storage._nfcOssSuccessIsProvisionedMessage != nil}
|
|
93
97
|
/// Clears the value of `nfcOssSuccessIsProvisionedMessage`. Subsequent reads from it will return its default value.
|
|
94
98
|
public mutating func clearNfcOssSuccessIsProvisionedMessage() {_uniqueStorage()._nfcOssSuccessIsProvisionedMessage = nil}
|
|
95
99
|
|
|
96
100
|
public var nfcOssSuccessProvisionMessage: String {
|
|
97
|
-
get {
|
|
101
|
+
get {_storage._nfcOssSuccessProvisionMessage ?? "Successfully provisioned"}
|
|
98
102
|
set {_uniqueStorage()._nfcOssSuccessProvisionMessage = newValue}
|
|
99
103
|
}
|
|
100
104
|
/// Returns true if `nfcOssSuccessProvisionMessage` has been explicitly set.
|
|
101
|
-
public var hasNfcOssSuccessProvisionMessage: Bool {
|
|
105
|
+
public var hasNfcOssSuccessProvisionMessage: Bool {_storage._nfcOssSuccessProvisionMessage != nil}
|
|
102
106
|
/// Clears the value of `nfcOssSuccessProvisionMessage`. Subsequent reads from it will return its default value.
|
|
103
107
|
public mutating func clearNfcOssSuccessProvisionMessage() {_uniqueStorage()._nfcOssSuccessProvisionMessage = nil}
|
|
104
108
|
|
|
105
109
|
public var nfcOssSuccessUnprovisionMessage: String {
|
|
106
|
-
get {
|
|
110
|
+
get {_storage._nfcOssSuccessUnprovisionMessage ?? "Successfully unprovisioned"}
|
|
107
111
|
set {_uniqueStorage()._nfcOssSuccessUnprovisionMessage = newValue}
|
|
108
112
|
}
|
|
109
113
|
/// Returns true if `nfcOssSuccessUnprovisionMessage` has been explicitly set.
|
|
110
|
-
public var hasNfcOssSuccessUnprovisionMessage: Bool {
|
|
114
|
+
public var hasNfcOssSuccessUnprovisionMessage: Bool {_storage._nfcOssSuccessUnprovisionMessage != nil}
|
|
111
115
|
/// Clears the value of `nfcOssSuccessUnprovisionMessage`. Subsequent reads from it will return its default value.
|
|
112
116
|
public mutating func clearNfcOssSuccessUnprovisionMessage() {_uniqueStorage()._nfcOssSuccessUnprovisionMessage = nil}
|
|
113
117
|
|
|
114
118
|
public var nfcOssSuccessFormatMessage: String {
|
|
115
|
-
get {
|
|
119
|
+
get {_storage._nfcOssSuccessFormatMessage ?? "Transponder was successfully formatted"}
|
|
116
120
|
set {_uniqueStorage()._nfcOssSuccessFormatMessage = newValue}
|
|
117
121
|
}
|
|
118
122
|
/// Returns true if `nfcOssSuccessFormatMessage` has been explicitly set.
|
|
119
|
-
public var hasNfcOssSuccessFormatMessage: Bool {
|
|
123
|
+
public var hasNfcOssSuccessFormatMessage: Bool {_storage._nfcOssSuccessFormatMessage != nil}
|
|
120
124
|
/// Clears the value of `nfcOssSuccessFormatMessage`. Subsequent reads from it will return its default value.
|
|
121
125
|
public mutating func clearNfcOssSuccessFormatMessage() {_uniqueStorage()._nfcOssSuccessFormatMessage = nil}
|
|
122
126
|
|
|
123
127
|
public var nfcInitializingWritingProcess: String {
|
|
124
|
-
get {
|
|
128
|
+
get {_storage._nfcInitializingWritingProcess ?? "Initializing writing process"}
|
|
125
129
|
set {_uniqueStorage()._nfcInitializingWritingProcess = newValue}
|
|
126
130
|
}
|
|
127
131
|
/// Returns true if `nfcInitializingWritingProcess` has been explicitly set.
|
|
128
|
-
public var hasNfcInitializingWritingProcess: Bool {
|
|
132
|
+
public var hasNfcInitializingWritingProcess: Bool {_storage._nfcInitializingWritingProcess != nil}
|
|
129
133
|
/// Clears the value of `nfcInitializingWritingProcess`. Subsequent reads from it will return its default value.
|
|
130
134
|
public mutating func clearNfcInitializingWritingProcess() {_uniqueStorage()._nfcInitializingWritingProcess = nil}
|
|
131
135
|
|
|
132
136
|
public var nfcTransponderConnected: String {
|
|
133
|
-
get {
|
|
137
|
+
get {_storage._nfcTransponderConnected ?? "Transponder Connected"}
|
|
134
138
|
set {_uniqueStorage()._nfcTransponderConnected = newValue}
|
|
135
139
|
}
|
|
136
140
|
/// Returns true if `nfcTransponderConnected` has been explicitly set.
|
|
137
|
-
public var hasNfcTransponderConnected: Bool {
|
|
141
|
+
public var hasNfcTransponderConnected: Bool {_storage._nfcTransponderConnected != nil}
|
|
138
142
|
/// Clears the value of `nfcTransponderConnected`. Subsequent reads from it will return its default value.
|
|
139
143
|
public mutating func clearNfcTransponderConnected() {_uniqueStorage()._nfcTransponderConnected = nil}
|
|
140
144
|
|
|
141
145
|
public var nfcTransponderDisconnected: String {
|
|
142
|
-
get {
|
|
146
|
+
get {_storage._nfcTransponderDisconnected ?? "Transponder was disconnected"}
|
|
143
147
|
set {_uniqueStorage()._nfcTransponderDisconnected = newValue}
|
|
144
148
|
}
|
|
145
149
|
/// Returns true if `nfcTransponderDisconnected` has been explicitly set.
|
|
146
|
-
public var hasNfcTransponderDisconnected: Bool {
|
|
150
|
+
public var hasNfcTransponderDisconnected: Bool {_storage._nfcTransponderDisconnected != nil}
|
|
147
151
|
/// Clears the value of `nfcTransponderDisconnected`. Subsequent reads from it will return its default value.
|
|
148
152
|
public mutating func clearNfcTransponderDisconnected() {_uniqueStorage()._nfcTransponderDisconnected = nil}
|
|
149
153
|
|
|
150
154
|
public var nfcTransponderSuccessReadMessage: String {
|
|
151
|
-
get {
|
|
155
|
+
get {_storage._nfcTransponderSuccessReadMessage ?? "Transponder was successfully read"}
|
|
152
156
|
set {_uniqueStorage()._nfcTransponderSuccessReadMessage = newValue}
|
|
153
157
|
}
|
|
154
158
|
/// Returns true if `nfcTransponderSuccessReadMessage` has been explicitly set.
|
|
155
|
-
public var hasNfcTransponderSuccessReadMessage: Bool {
|
|
159
|
+
public var hasNfcTransponderSuccessReadMessage: Bool {_storage._nfcTransponderSuccessReadMessage != nil}
|
|
156
160
|
/// Clears the value of `nfcTransponderSuccessReadMessage`. Subsequent reads from it will return its default value.
|
|
157
161
|
public mutating func clearNfcTransponderSuccessReadMessage() {_uniqueStorage()._nfcTransponderSuccessReadMessage = nil}
|
|
158
162
|
|
|
159
163
|
public var nfcKioskRefreshTransponderNoRefreshNeededMessage: String {
|
|
160
|
-
get {
|
|
164
|
+
get {_storage._nfcKioskRefreshTransponderNoRefreshNeededMessage ?? "Credentials are valid — no refresh needed"}
|
|
161
165
|
set {_uniqueStorage()._nfcKioskRefreshTransponderNoRefreshNeededMessage = newValue}
|
|
162
166
|
}
|
|
163
167
|
/// Returns true if `nfcKioskRefreshTransponderNoRefreshNeededMessage` has been explicitly set.
|
|
164
|
-
public var hasNfcKioskRefreshTransponderNoRefreshNeededMessage: Bool {
|
|
168
|
+
public var hasNfcKioskRefreshTransponderNoRefreshNeededMessage: Bool {_storage._nfcKioskRefreshTransponderNoRefreshNeededMessage != nil}
|
|
165
169
|
/// Clears the value of `nfcKioskRefreshTransponderNoRefreshNeededMessage`. Subsequent reads from it will return its default value.
|
|
166
170
|
public mutating func clearNfcKioskRefreshTransponderNoRefreshNeededMessage() {_uniqueStorage()._nfcKioskRefreshTransponderNoRefreshNeededMessage = nil}
|
|
167
171
|
|
|
168
172
|
public var nfcKioskRefreshTransponderPartialRefreshMessage: String {
|
|
169
|
-
get {
|
|
173
|
+
get {_storage._nfcKioskRefreshTransponderPartialRefreshMessage ?? "%d out of %d credentials have been refreshed"}
|
|
170
174
|
set {_uniqueStorage()._nfcKioskRefreshTransponderPartialRefreshMessage = newValue}
|
|
171
175
|
}
|
|
172
176
|
/// Returns true if `nfcKioskRefreshTransponderPartialRefreshMessage` has been explicitly set.
|
|
173
|
-
public var hasNfcKioskRefreshTransponderPartialRefreshMessage: Bool {
|
|
177
|
+
public var hasNfcKioskRefreshTransponderPartialRefreshMessage: Bool {_storage._nfcKioskRefreshTransponderPartialRefreshMessage != nil}
|
|
174
178
|
/// Clears the value of `nfcKioskRefreshTransponderPartialRefreshMessage`. Subsequent reads from it will return its default value.
|
|
175
179
|
public mutating func clearNfcKioskRefreshTransponderPartialRefreshMessage() {_uniqueStorage()._nfcKioskRefreshTransponderPartialRefreshMessage = nil}
|
|
176
180
|
|
|
177
181
|
public var nfcKioskRefreshTransponderHoldYourCardSteadyMessage: String {
|
|
178
|
-
get {
|
|
182
|
+
get {_storage._nfcKioskRefreshTransponderHoldYourCardSteadyMessage ?? "Please hold your card steady until the process is done"}
|
|
179
183
|
set {_uniqueStorage()._nfcKioskRefreshTransponderHoldYourCardSteadyMessage = newValue}
|
|
180
184
|
}
|
|
181
185
|
/// Returns true if `nfcKioskRefreshTransponderHoldYourCardSteadyMessage` has been explicitly set.
|
|
182
|
-
public var hasNfcKioskRefreshTransponderHoldYourCardSteadyMessage: Bool {
|
|
186
|
+
public var hasNfcKioskRefreshTransponderHoldYourCardSteadyMessage: Bool {_storage._nfcKioskRefreshTransponderHoldYourCardSteadyMessage != nil}
|
|
183
187
|
/// Clears the value of `nfcKioskRefreshTransponderHoldYourCardSteadyMessage`. Subsequent reads from it will return its default value.
|
|
184
188
|
public mutating func clearNfcKioskRefreshTransponderHoldYourCardSteadyMessage() {_uniqueStorage()._nfcKioskRefreshTransponderHoldYourCardSteadyMessage = nil}
|
|
185
189
|
|
|
186
190
|
public var openViaOssTitle: String {
|
|
187
|
-
get {
|
|
191
|
+
get {_storage._openViaOssTitle ?? "Unlocking in Progress"}
|
|
188
192
|
set {_uniqueStorage()._openViaOssTitle = newValue}
|
|
189
193
|
}
|
|
190
194
|
/// Returns true if `openViaOssTitle` has been explicitly set.
|
|
191
|
-
public var hasOpenViaOssTitle: Bool {
|
|
195
|
+
public var hasOpenViaOssTitle: Bool {_storage._openViaOssTitle != nil}
|
|
192
196
|
/// Clears the value of `openViaOssTitle`. Subsequent reads from it will return its default value.
|
|
193
197
|
public mutating func clearOpenViaOssTitle() {_uniqueStorage()._openViaOssTitle = nil}
|
|
194
198
|
|
|
195
199
|
public var openViaOssWaitMessage: String {
|
|
196
|
-
get {
|
|
200
|
+
get {_storage._openViaOssWaitMessage ?? "Establishing secure connection..."}
|
|
197
201
|
set {_uniqueStorage()._openViaOssWaitMessage = newValue}
|
|
198
202
|
}
|
|
199
203
|
/// Returns true if `openViaOssWaitMessage` has been explicitly set.
|
|
200
|
-
public var hasOpenViaOssWaitMessage: Bool {
|
|
204
|
+
public var hasOpenViaOssWaitMessage: Bool {_storage._openViaOssWaitMessage != nil}
|
|
201
205
|
/// Clears the value of `openViaOssWaitMessage`. Subsequent reads from it will return its default value.
|
|
202
206
|
public mutating func clearOpenViaOssWaitMessage() {_uniqueStorage()._openViaOssWaitMessage = nil}
|
|
203
207
|
|
|
204
208
|
public var openViaOssAccessGrantedTitle: String {
|
|
205
|
-
get {
|
|
209
|
+
get {_storage._openViaOssAccessGrantedTitle ?? "Access Granted"}
|
|
206
210
|
set {_uniqueStorage()._openViaOssAccessGrantedTitle = newValue}
|
|
207
211
|
}
|
|
208
212
|
/// Returns true if `openViaOssAccessGrantedTitle` has been explicitly set.
|
|
209
|
-
public var hasOpenViaOssAccessGrantedTitle: Bool {
|
|
213
|
+
public var hasOpenViaOssAccessGrantedTitle: Bool {_storage._openViaOssAccessGrantedTitle != nil}
|
|
210
214
|
/// Clears the value of `openViaOssAccessGrantedTitle`. Subsequent reads from it will return its default value.
|
|
211
215
|
public mutating func clearOpenViaOssAccessGrantedTitle() {_uniqueStorage()._openViaOssAccessGrantedTitle = nil}
|
|
212
216
|
|
|
213
217
|
public var openViaOssAccessGrantedMessage: String {
|
|
214
|
-
get {
|
|
218
|
+
get {_storage._openViaOssAccessGrantedMessage ?? "Please proceed."}
|
|
215
219
|
set {_uniqueStorage()._openViaOssAccessGrantedMessage = newValue}
|
|
216
220
|
}
|
|
217
221
|
/// Returns true if `openViaOssAccessGrantedMessage` has been explicitly set.
|
|
218
|
-
public var hasOpenViaOssAccessGrantedMessage: Bool {
|
|
222
|
+
public var hasOpenViaOssAccessGrantedMessage: Bool {_storage._openViaOssAccessGrantedMessage != nil}
|
|
219
223
|
/// Clears the value of `openViaOssAccessGrantedMessage`. Subsequent reads from it will return its default value.
|
|
220
224
|
public mutating func clearOpenViaOssAccessGrantedMessage() {_uniqueStorage()._openViaOssAccessGrantedMessage = nil}
|
|
221
225
|
|
|
222
226
|
public var openViaOssAccessGrantedLockEngagedTitle: String {
|
|
223
|
-
get {
|
|
227
|
+
get {_storage._openViaOssAccessGrantedLockEngagedTitle ?? "Lock engaged"}
|
|
224
228
|
set {_uniqueStorage()._openViaOssAccessGrantedLockEngagedTitle = newValue}
|
|
225
229
|
}
|
|
226
230
|
/// Returns true if `openViaOssAccessGrantedLockEngagedTitle` has been explicitly set.
|
|
227
|
-
public var hasOpenViaOssAccessGrantedLockEngagedTitle: Bool {
|
|
231
|
+
public var hasOpenViaOssAccessGrantedLockEngagedTitle: Bool {_storage._openViaOssAccessGrantedLockEngagedTitle != nil}
|
|
228
232
|
/// Clears the value of `openViaOssAccessGrantedLockEngagedTitle`. Subsequent reads from it will return its default value.
|
|
229
233
|
public mutating func clearOpenViaOssAccessGrantedLockEngagedTitle() {_uniqueStorage()._openViaOssAccessGrantedLockEngagedTitle = nil}
|
|
230
234
|
|
|
231
235
|
public var openViaOssAccessGrantedLockEngagedMessage: String {
|
|
232
|
-
get {
|
|
236
|
+
get {_storage._openViaOssAccessGrantedLockEngagedMessage ?? "Lock permanently closed."}
|
|
233
237
|
set {_uniqueStorage()._openViaOssAccessGrantedLockEngagedMessage = newValue}
|
|
234
238
|
}
|
|
235
239
|
/// Returns true if `openViaOssAccessGrantedLockEngagedMessage` has been explicitly set.
|
|
236
|
-
public var hasOpenViaOssAccessGrantedLockEngagedMessage: Bool {
|
|
240
|
+
public var hasOpenViaOssAccessGrantedLockEngagedMessage: Bool {_storage._openViaOssAccessGrantedLockEngagedMessage != nil}
|
|
237
241
|
/// Clears the value of `openViaOssAccessGrantedLockEngagedMessage`. Subsequent reads from it will return its default value.
|
|
238
242
|
public mutating func clearOpenViaOssAccessGrantedLockEngagedMessage() {_uniqueStorage()._openViaOssAccessGrantedLockEngagedMessage = nil}
|
|
239
243
|
|
|
240
244
|
public var openViaOssAccessGrantedLockDisengagedTitle: String {
|
|
241
|
-
get {
|
|
245
|
+
get {_storage._openViaOssAccessGrantedLockDisengagedTitle ?? "Lock disengaged"}
|
|
242
246
|
set {_uniqueStorage()._openViaOssAccessGrantedLockDisengagedTitle = newValue}
|
|
243
247
|
}
|
|
244
248
|
/// Returns true if `openViaOssAccessGrantedLockDisengagedTitle` has been explicitly set.
|
|
245
|
-
public var hasOpenViaOssAccessGrantedLockDisengagedTitle: Bool {
|
|
249
|
+
public var hasOpenViaOssAccessGrantedLockDisengagedTitle: Bool {_storage._openViaOssAccessGrantedLockDisengagedTitle != nil}
|
|
246
250
|
/// Clears the value of `openViaOssAccessGrantedLockDisengagedTitle`. Subsequent reads from it will return its default value.
|
|
247
251
|
public mutating func clearOpenViaOssAccessGrantedLockDisengagedTitle() {_uniqueStorage()._openViaOssAccessGrantedLockDisengagedTitle = nil}
|
|
248
252
|
|
|
249
253
|
public var openViaOssAccessGrantedLockDisengagedMessage: String {
|
|
250
|
-
get {
|
|
254
|
+
get {_storage._openViaOssAccessGrantedLockDisengagedMessage ?? "Lock permanently opened."}
|
|
251
255
|
set {_uniqueStorage()._openViaOssAccessGrantedLockDisengagedMessage = newValue}
|
|
252
256
|
}
|
|
253
257
|
/// Returns true if `openViaOssAccessGrantedLockDisengagedMessage` has been explicitly set.
|
|
254
|
-
public var hasOpenViaOssAccessGrantedLockDisengagedMessage: Bool {
|
|
258
|
+
public var hasOpenViaOssAccessGrantedLockDisengagedMessage: Bool {_storage._openViaOssAccessGrantedLockDisengagedMessage != nil}
|
|
255
259
|
/// Clears the value of `openViaOssAccessGrantedLockDisengagedMessage`. Subsequent reads from it will return its default value.
|
|
256
260
|
public mutating func clearOpenViaOssAccessGrantedLockDisengagedMessage() {_uniqueStorage()._openViaOssAccessGrantedLockDisengagedMessage = nil}
|
|
257
261
|
|
|
258
262
|
public var openViaOssAccessGrantedExtendedTimeMessage: String {
|
|
259
|
-
get {
|
|
263
|
+
get {_storage._openViaOssAccessGrantedExtendedTimeMessage ?? "Lock will remain disengaged for %d seconds."}
|
|
260
264
|
set {_uniqueStorage()._openViaOssAccessGrantedExtendedTimeMessage = newValue}
|
|
261
265
|
}
|
|
262
266
|
/// Returns true if `openViaOssAccessGrantedExtendedTimeMessage` has been explicitly set.
|
|
263
|
-
public var hasOpenViaOssAccessGrantedExtendedTimeMessage: Bool {
|
|
267
|
+
public var hasOpenViaOssAccessGrantedExtendedTimeMessage: Bool {_storage._openViaOssAccessGrantedExtendedTimeMessage != nil}
|
|
264
268
|
/// Clears the value of `openViaOssAccessGrantedExtendedTimeMessage`. Subsequent reads from it will return its default value.
|
|
265
269
|
public mutating func clearOpenViaOssAccessGrantedExtendedTimeMessage() {_uniqueStorage()._openViaOssAccessGrantedExtendedTimeMessage = nil}
|
|
266
270
|
|
|
267
271
|
public var openViaOssAccessDeniedTitle: String {
|
|
268
|
-
get {
|
|
272
|
+
get {_storage._openViaOssAccessDeniedTitle ?? "Access Denied"}
|
|
269
273
|
set {_uniqueStorage()._openViaOssAccessDeniedTitle = newValue}
|
|
270
274
|
}
|
|
271
275
|
/// Returns true if `openViaOssAccessDeniedTitle` has been explicitly set.
|
|
272
|
-
public var hasOpenViaOssAccessDeniedTitle: Bool {
|
|
276
|
+
public var hasOpenViaOssAccessDeniedTitle: Bool {_storage._openViaOssAccessDeniedTitle != nil}
|
|
273
277
|
/// Clears the value of `openViaOssAccessDeniedTitle`. Subsequent reads from it will return its default value.
|
|
274
278
|
public mutating func clearOpenViaOssAccessDeniedTitle() {_uniqueStorage()._openViaOssAccessDeniedTitle = nil}
|
|
275
279
|
|
|
276
280
|
public var openViaOssAccessDeniedMessage: String {
|
|
277
|
-
get {
|
|
281
|
+
get {_storage._openViaOssAccessDeniedMessage ?? "Credentials are invalid or outdated."}
|
|
278
282
|
set {_uniqueStorage()._openViaOssAccessDeniedMessage = newValue}
|
|
279
283
|
}
|
|
280
284
|
/// Returns true if `openViaOssAccessDeniedMessage` has been explicitly set.
|
|
281
|
-
public var hasOpenViaOssAccessDeniedMessage: Bool {
|
|
285
|
+
public var hasOpenViaOssAccessDeniedMessage: Bool {_storage._openViaOssAccessDeniedMessage != nil}
|
|
282
286
|
/// Clears the value of `openViaOssAccessDeniedMessage`. Subsequent reads from it will return its default value.
|
|
283
287
|
public mutating func clearOpenViaOssAccessDeniedMessage() {_uniqueStorage()._openViaOssAccessDeniedMessage = nil}
|
|
284
288
|
|
|
285
289
|
public var openViaOssAccessDeniedScheduleMismatchMessage: String {
|
|
286
|
-
get {
|
|
290
|
+
get {_storage._openViaOssAccessDeniedScheduleMismatchMessage ?? "Credentials are not valid at this time and/or day of the week."}
|
|
287
291
|
set {_uniqueStorage()._openViaOssAccessDeniedScheduleMismatchMessage = newValue}
|
|
288
292
|
}
|
|
289
293
|
/// Returns true if `openViaOssAccessDeniedScheduleMismatchMessage` has been explicitly set.
|
|
290
|
-
public var hasOpenViaOssAccessDeniedScheduleMismatchMessage: Bool {
|
|
294
|
+
public var hasOpenViaOssAccessDeniedScheduleMismatchMessage: Bool {_storage._openViaOssAccessDeniedScheduleMismatchMessage != nil}
|
|
291
295
|
/// Clears the value of `openViaOssAccessDeniedScheduleMismatchMessage`. Subsequent reads from it will return its default value.
|
|
292
296
|
public mutating func clearOpenViaOssAccessDeniedScheduleMismatchMessage() {_uniqueStorage()._openViaOssAccessDeniedScheduleMismatchMessage = nil}
|
|
293
297
|
|
|
294
298
|
public var openViaOssErrorTitle: String {
|
|
295
|
-
get {
|
|
299
|
+
get {_storage._openViaOssErrorTitle ?? "Error"}
|
|
296
300
|
set {_uniqueStorage()._openViaOssErrorTitle = newValue}
|
|
297
301
|
}
|
|
298
302
|
/// Returns true if `openViaOssErrorTitle` has been explicitly set.
|
|
299
|
-
public var hasOpenViaOssErrorTitle: Bool {
|
|
303
|
+
public var hasOpenViaOssErrorTitle: Bool {_storage._openViaOssErrorTitle != nil}
|
|
300
304
|
/// Clears the value of `openViaOssErrorTitle`. Subsequent reads from it will return its default value.
|
|
301
305
|
public mutating func clearOpenViaOssErrorTitle() {_uniqueStorage()._openViaOssErrorTitle = nil}
|
|
302
306
|
|
|
303
307
|
public var cmnCancelLabel: String {
|
|
304
|
-
get {
|
|
308
|
+
get {_storage._cmnCancelLabel ?? "Cancel"}
|
|
305
309
|
set {_uniqueStorage()._cmnCancelLabel = newValue}
|
|
306
310
|
}
|
|
307
311
|
/// Returns true if `cmnCancelLabel` has been explicitly set.
|
|
308
|
-
public var hasCmnCancelLabel: Bool {
|
|
312
|
+
public var hasCmnCancelLabel: Bool {_storage._cmnCancelLabel != nil}
|
|
309
313
|
/// Clears the value of `cmnCancelLabel`. Subsequent reads from it will return its default value.
|
|
310
314
|
public mutating func clearCmnCancelLabel() {_uniqueStorage()._cmnCancelLabel = nil}
|
|
311
315
|
|
|
312
316
|
public var cmnCloseLabel: String {
|
|
313
|
-
get {
|
|
317
|
+
get {_storage._cmnCloseLabel ?? "Close"}
|
|
314
318
|
set {_uniqueStorage()._cmnCloseLabel = newValue}
|
|
315
319
|
}
|
|
316
320
|
/// Returns true if `cmnCloseLabel` has been explicitly set.
|
|
317
|
-
public var hasCmnCloseLabel: Bool {
|
|
321
|
+
public var hasCmnCloseLabel: Bool {_storage._cmnCloseLabel != nil}
|
|
318
322
|
/// Clears the value of `cmnCloseLabel`. Subsequent reads from it will return its default value.
|
|
319
323
|
public mutating func clearCmnCloseLabel() {_uniqueStorage()._cmnCloseLabel = nil}
|
|
320
324
|
|
|
321
325
|
public var syncDeviceInProgressTitle: String {
|
|
322
|
-
get {
|
|
326
|
+
get {_storage._syncDeviceInProgressTitle ?? "Synchronization in Progress"}
|
|
323
327
|
set {_uniqueStorage()._syncDeviceInProgressTitle = newValue}
|
|
324
328
|
}
|
|
325
329
|
/// Returns true if `syncDeviceInProgressTitle` has been explicitly set.
|
|
326
|
-
public var hasSyncDeviceInProgressTitle: Bool {
|
|
330
|
+
public var hasSyncDeviceInProgressTitle: Bool {_storage._syncDeviceInProgressTitle != nil}
|
|
327
331
|
/// Clears the value of `syncDeviceInProgressTitle`. Subsequent reads from it will return its default value.
|
|
328
332
|
public mutating func clearSyncDeviceInProgressTitle() {_uniqueStorage()._syncDeviceInProgressTitle = nil}
|
|
329
333
|
|
|
330
334
|
public var syncDeviceFailedTitle: String {
|
|
331
|
-
get {
|
|
335
|
+
get {_storage._syncDeviceFailedTitle ?? "Synchronization has failed"}
|
|
332
336
|
set {_uniqueStorage()._syncDeviceFailedTitle = newValue}
|
|
333
337
|
}
|
|
334
338
|
/// Returns true if `syncDeviceFailedTitle` has been explicitly set.
|
|
335
|
-
public var hasSyncDeviceFailedTitle: Bool {
|
|
339
|
+
public var hasSyncDeviceFailedTitle: Bool {_storage._syncDeviceFailedTitle != nil}
|
|
336
340
|
/// Clears the value of `syncDeviceFailedTitle`. Subsequent reads from it will return its default value.
|
|
337
341
|
public mutating func clearSyncDeviceFailedTitle() {_uniqueStorage()._syncDeviceFailedTitle = nil}
|
|
338
342
|
|
|
339
343
|
public var syncDeviceCancellingTitle: String {
|
|
340
|
-
get {
|
|
344
|
+
get {_storage._syncDeviceCancellingTitle ?? "Cancelling..."}
|
|
341
345
|
set {_uniqueStorage()._syncDeviceCancellingTitle = newValue}
|
|
342
346
|
}
|
|
343
347
|
/// Returns true if `syncDeviceCancellingTitle` has been explicitly set.
|
|
344
|
-
public var hasSyncDeviceCancellingTitle: Bool {
|
|
348
|
+
public var hasSyncDeviceCancellingTitle: Bool {_storage._syncDeviceCancellingTitle != nil}
|
|
345
349
|
/// Clears the value of `syncDeviceCancellingTitle`. Subsequent reads from it will return its default value.
|
|
346
350
|
public mutating func clearSyncDeviceCancellingTitle() {_uniqueStorage()._syncDeviceCancellingTitle = nil}
|
|
347
351
|
|
|
348
352
|
public var syncDeviceCompletedTitle: String {
|
|
349
|
-
get {
|
|
353
|
+
get {_storage._syncDeviceCompletedTitle ?? "Synchronization has been completed"}
|
|
350
354
|
set {_uniqueStorage()._syncDeviceCompletedTitle = newValue}
|
|
351
355
|
}
|
|
352
356
|
/// Returns true if `syncDeviceCompletedTitle` has been explicitly set.
|
|
353
|
-
public var hasSyncDeviceCompletedTitle: Bool {
|
|
357
|
+
public var hasSyncDeviceCompletedTitle: Bool {_storage._syncDeviceCompletedTitle != nil}
|
|
354
358
|
/// Clears the value of `syncDeviceCompletedTitle`. Subsequent reads from it will return its default value.
|
|
355
359
|
public mutating func clearSyncDeviceCompletedTitle() {_uniqueStorage()._syncDeviceCompletedTitle = nil}
|
|
356
360
|
|
|
357
361
|
public var syncDeviceGetAuthenticationTokenTaskLabel: String {
|
|
358
|
-
get {
|
|
362
|
+
get {_storage._syncDeviceGetAuthenticationTokenTaskLabel ?? "Issue authentication token"}
|
|
359
363
|
set {_uniqueStorage()._syncDeviceGetAuthenticationTokenTaskLabel = newValue}
|
|
360
364
|
}
|
|
361
365
|
/// Returns true if `syncDeviceGetAuthenticationTokenTaskLabel` has been explicitly set.
|
|
362
|
-
public var hasSyncDeviceGetAuthenticationTokenTaskLabel: Bool {
|
|
366
|
+
public var hasSyncDeviceGetAuthenticationTokenTaskLabel: Bool {_storage._syncDeviceGetAuthenticationTokenTaskLabel != nil}
|
|
363
367
|
/// Clears the value of `syncDeviceGetAuthenticationTokenTaskLabel`. Subsequent reads from it will return its default value.
|
|
364
368
|
public mutating func clearSyncDeviceGetAuthenticationTokenTaskLabel() {_uniqueStorage()._syncDeviceGetAuthenticationTokenTaskLabel = nil}
|
|
365
369
|
|
|
366
370
|
public var syncDeviceRetrieveDeviceConfigurationTaskLabel: String {
|
|
367
|
-
get {
|
|
371
|
+
get {_storage._syncDeviceRetrieveDeviceConfigurationTaskLabel ?? "Retrieve device configuration"}
|
|
368
372
|
set {_uniqueStorage()._syncDeviceRetrieveDeviceConfigurationTaskLabel = newValue}
|
|
369
373
|
}
|
|
370
374
|
/// Returns true if `syncDeviceRetrieveDeviceConfigurationTaskLabel` has been explicitly set.
|
|
371
|
-
public var hasSyncDeviceRetrieveDeviceConfigurationTaskLabel: Bool {
|
|
375
|
+
public var hasSyncDeviceRetrieveDeviceConfigurationTaskLabel: Bool {_storage._syncDeviceRetrieveDeviceConfigurationTaskLabel != nil}
|
|
372
376
|
/// Clears the value of `syncDeviceRetrieveDeviceConfigurationTaskLabel`. Subsequent reads from it will return its default value.
|
|
373
377
|
public mutating func clearSyncDeviceRetrieveDeviceConfigurationTaskLabel() {_uniqueStorage()._syncDeviceRetrieveDeviceConfigurationTaskLabel = nil}
|
|
374
378
|
|
|
375
379
|
public var syncDeviceUpdateDeviceConfigurationTaskLabel: String {
|
|
376
|
-
get {
|
|
380
|
+
get {_storage._syncDeviceUpdateDeviceConfigurationTaskLabel ?? "Update device configuration"}
|
|
377
381
|
set {_uniqueStorage()._syncDeviceUpdateDeviceConfigurationTaskLabel = newValue}
|
|
378
382
|
}
|
|
379
383
|
/// Returns true if `syncDeviceUpdateDeviceConfigurationTaskLabel` has been explicitly set.
|
|
380
|
-
public var hasSyncDeviceUpdateDeviceConfigurationTaskLabel: Bool {
|
|
384
|
+
public var hasSyncDeviceUpdateDeviceConfigurationTaskLabel: Bool {_storage._syncDeviceUpdateDeviceConfigurationTaskLabel != nil}
|
|
381
385
|
/// Clears the value of `syncDeviceUpdateDeviceConfigurationTaskLabel`. Subsequent reads from it will return its default value.
|
|
382
386
|
public mutating func clearSyncDeviceUpdateDeviceConfigurationTaskLabel() {_uniqueStorage()._syncDeviceUpdateDeviceConfigurationTaskLabel = nil}
|
|
383
387
|
|
|
384
388
|
public var syncDeviceUpdateDeviceTimeTaskLabel: String {
|
|
385
|
-
get {
|
|
389
|
+
get {_storage._syncDeviceUpdateDeviceTimeTaskLabel ?? "Update device time"}
|
|
386
390
|
set {_uniqueStorage()._syncDeviceUpdateDeviceTimeTaskLabel = newValue}
|
|
387
391
|
}
|
|
388
392
|
/// Returns true if `syncDeviceUpdateDeviceTimeTaskLabel` has been explicitly set.
|
|
389
|
-
public var hasSyncDeviceUpdateDeviceTimeTaskLabel: Bool {
|
|
393
|
+
public var hasSyncDeviceUpdateDeviceTimeTaskLabel: Bool {_storage._syncDeviceUpdateDeviceTimeTaskLabel != nil}
|
|
390
394
|
/// Clears the value of `syncDeviceUpdateDeviceTimeTaskLabel`. Subsequent reads from it will return its default value.
|
|
391
395
|
public mutating func clearSyncDeviceUpdateDeviceTimeTaskLabel() {_uniqueStorage()._syncDeviceUpdateDeviceTimeTaskLabel = nil}
|
|
392
396
|
|
|
393
397
|
public var syncDeviceWaitForDeviceToRestartTaskLabel: String {
|
|
394
|
-
get {
|
|
398
|
+
get {_storage._syncDeviceWaitForDeviceToRestartTaskLabel ?? "Wait for device to restart"}
|
|
395
399
|
set {_uniqueStorage()._syncDeviceWaitForDeviceToRestartTaskLabel = newValue}
|
|
396
400
|
}
|
|
397
401
|
/// Returns true if `syncDeviceWaitForDeviceToRestartTaskLabel` has been explicitly set.
|
|
398
|
-
public var hasSyncDeviceWaitForDeviceToRestartTaskLabel: Bool {
|
|
402
|
+
public var hasSyncDeviceWaitForDeviceToRestartTaskLabel: Bool {_storage._syncDeviceWaitForDeviceToRestartTaskLabel != nil}
|
|
399
403
|
/// Clears the value of `syncDeviceWaitForDeviceToRestartTaskLabel`. Subsequent reads from it will return its default value.
|
|
400
404
|
public mutating func clearSyncDeviceWaitForDeviceToRestartTaskLabel() {_uniqueStorage()._syncDeviceWaitForDeviceToRestartTaskLabel = nil}
|
|
401
405
|
|
|
402
406
|
public var syncDevicePushEventLogsTaskLabel: String {
|
|
403
|
-
get {
|
|
407
|
+
get {_storage._syncDevicePushEventLogsTaskLabel ?? "Push event logs"}
|
|
404
408
|
set {_uniqueStorage()._syncDevicePushEventLogsTaskLabel = newValue}
|
|
405
409
|
}
|
|
406
410
|
/// Returns true if `syncDevicePushEventLogsTaskLabel` has been explicitly set.
|
|
407
|
-
public var hasSyncDevicePushEventLogsTaskLabel: Bool {
|
|
411
|
+
public var hasSyncDevicePushEventLogsTaskLabel: Bool {_storage._syncDevicePushEventLogsTaskLabel != nil}
|
|
408
412
|
/// Clears the value of `syncDevicePushEventLogsTaskLabel`. Subsequent reads from it will return its default value.
|
|
409
413
|
public mutating func clearSyncDevicePushEventLogsTaskLabel() {_uniqueStorage()._syncDevicePushEventLogsTaskLabel = nil}
|
|
410
414
|
|
|
411
415
|
public var syncDevicePushSystemLogsTaskLabel: String {
|
|
412
|
-
get {
|
|
416
|
+
get {_storage._syncDevicePushSystemLogsTaskLabel ?? "Push system logs"}
|
|
413
417
|
set {_uniqueStorage()._syncDevicePushSystemLogsTaskLabel = newValue}
|
|
414
418
|
}
|
|
415
419
|
/// Returns true if `syncDevicePushSystemLogsTaskLabel` has been explicitly set.
|
|
416
|
-
public var hasSyncDevicePushSystemLogsTaskLabel: Bool {
|
|
420
|
+
public var hasSyncDevicePushSystemLogsTaskLabel: Bool {_storage._syncDevicePushSystemLogsTaskLabel != nil}
|
|
417
421
|
/// Clears the value of `syncDevicePushSystemLogsTaskLabel`. Subsequent reads from it will return its default value.
|
|
418
422
|
public mutating func clearSyncDevicePushSystemLogsTaskLabel() {_uniqueStorage()._syncDevicePushSystemLogsTaskLabel = nil}
|
|
419
423
|
|
|
420
424
|
public var syncDeviceRetrieveBlacklistEntriesTaskLabel: String {
|
|
421
|
-
get {
|
|
425
|
+
get {_storage._syncDeviceRetrieveBlacklistEntriesTaskLabel ?? "Retrieve blacklist entries"}
|
|
422
426
|
set {_uniqueStorage()._syncDeviceRetrieveBlacklistEntriesTaskLabel = newValue}
|
|
423
427
|
}
|
|
424
428
|
/// Returns true if `syncDeviceRetrieveBlacklistEntriesTaskLabel` has been explicitly set.
|
|
425
|
-
public var hasSyncDeviceRetrieveBlacklistEntriesTaskLabel: Bool {
|
|
429
|
+
public var hasSyncDeviceRetrieveBlacklistEntriesTaskLabel: Bool {_storage._syncDeviceRetrieveBlacklistEntriesTaskLabel != nil}
|
|
426
430
|
/// Clears the value of `syncDeviceRetrieveBlacklistEntriesTaskLabel`. Subsequent reads from it will return its default value.
|
|
427
431
|
public mutating func clearSyncDeviceRetrieveBlacklistEntriesTaskLabel() {_uniqueStorage()._syncDeviceRetrieveBlacklistEntriesTaskLabel = nil}
|
|
428
432
|
|
|
429
433
|
public var syncDeviceDeployBlacklistEntriesTaskLabel: String {
|
|
430
|
-
get {
|
|
434
|
+
get {_storage._syncDeviceDeployBlacklistEntriesTaskLabel ?? "Deploy blacklist entries"}
|
|
431
435
|
set {_uniqueStorage()._syncDeviceDeployBlacklistEntriesTaskLabel = newValue}
|
|
432
436
|
}
|
|
433
437
|
/// Returns true if `syncDeviceDeployBlacklistEntriesTaskLabel` has been explicitly set.
|
|
434
|
-
public var hasSyncDeviceDeployBlacklistEntriesTaskLabel: Bool {
|
|
438
|
+
public var hasSyncDeviceDeployBlacklistEntriesTaskLabel: Bool {_storage._syncDeviceDeployBlacklistEntriesTaskLabel != nil}
|
|
435
439
|
/// Clears the value of `syncDeviceDeployBlacklistEntriesTaskLabel`. Subsequent reads from it will return its default value.
|
|
436
440
|
public mutating func clearSyncDeviceDeployBlacklistEntriesTaskLabel() {_uniqueStorage()._syncDeviceDeployBlacklistEntriesTaskLabel = nil}
|
|
437
441
|
|
|
438
442
|
public var syncDeviceRetrieveSystemStatusTaskLabel: String {
|
|
439
|
-
get {
|
|
443
|
+
get {_storage._syncDeviceRetrieveSystemStatusTaskLabel ?? "Retrieve system status"}
|
|
440
444
|
set {_uniqueStorage()._syncDeviceRetrieveSystemStatusTaskLabel = newValue}
|
|
441
445
|
}
|
|
442
446
|
/// Returns true if `syncDeviceRetrieveSystemStatusTaskLabel` has been explicitly set.
|
|
443
|
-
public var hasSyncDeviceRetrieveSystemStatusTaskLabel: Bool {
|
|
447
|
+
public var hasSyncDeviceRetrieveSystemStatusTaskLabel: Bool {_storage._syncDeviceRetrieveSystemStatusTaskLabel != nil}
|
|
444
448
|
/// Clears the value of `syncDeviceRetrieveSystemStatusTaskLabel`. Subsequent reads from it will return its default value.
|
|
445
449
|
public mutating func clearSyncDeviceRetrieveSystemStatusTaskLabel() {_uniqueStorage()._syncDeviceRetrieveSystemStatusTaskLabel = nil}
|
|
446
450
|
|
|
447
451
|
public var syncDevicePushSystemStatusTaskLabel: String {
|
|
448
|
-
get {
|
|
452
|
+
get {_storage._syncDevicePushSystemStatusTaskLabel ?? "Push system status"}
|
|
449
453
|
set {_uniqueStorage()._syncDevicePushSystemStatusTaskLabel = newValue}
|
|
450
454
|
}
|
|
451
455
|
/// Returns true if `syncDevicePushSystemStatusTaskLabel` has been explicitly set.
|
|
452
|
-
public var hasSyncDevicePushSystemStatusTaskLabel: Bool {
|
|
456
|
+
public var hasSyncDevicePushSystemStatusTaskLabel: Bool {_storage._syncDevicePushSystemStatusTaskLabel != nil}
|
|
453
457
|
/// Clears the value of `syncDevicePushSystemStatusTaskLabel`. Subsequent reads from it will return its default value.
|
|
454
458
|
public mutating func clearSyncDevicePushSystemStatusTaskLabel() {_uniqueStorage()._syncDevicePushSystemStatusTaskLabel = nil}
|
|
455
459
|
|
|
456
460
|
public var syncDeviceCheckLatestFwlabel: String {
|
|
457
|
-
get {
|
|
461
|
+
get {_storage._syncDeviceCheckLatestFwlabel ?? "Check latest firmware"}
|
|
458
462
|
set {_uniqueStorage()._syncDeviceCheckLatestFwlabel = newValue}
|
|
459
463
|
}
|
|
460
464
|
/// Returns true if `syncDeviceCheckLatestFwlabel` has been explicitly set.
|
|
461
|
-
public var hasSyncDeviceCheckLatestFwlabel: Bool {
|
|
465
|
+
public var hasSyncDeviceCheckLatestFwlabel: Bool {_storage._syncDeviceCheckLatestFwlabel != nil}
|
|
462
466
|
/// Clears the value of `syncDeviceCheckLatestFwlabel`. Subsequent reads from it will return its default value.
|
|
463
467
|
public mutating func clearSyncDeviceCheckLatestFwlabel() {_uniqueStorage()._syncDeviceCheckLatestFwlabel = nil}
|
|
464
468
|
|
|
465
469
|
public var dfuInProgressTitle: String {
|
|
466
|
-
get {
|
|
470
|
+
get {_storage._dfuInProgressTitle ?? "Update in Progress"}
|
|
467
471
|
set {_uniqueStorage()._dfuInProgressTitle = newValue}
|
|
468
472
|
}
|
|
469
473
|
/// Returns true if `dfuInProgressTitle` has been explicitly set.
|
|
470
|
-
public var hasDfuInProgressTitle: Bool {
|
|
474
|
+
public var hasDfuInProgressTitle: Bool {_storage._dfuInProgressTitle != nil}
|
|
471
475
|
/// Clears the value of `dfuInProgressTitle`. Subsequent reads from it will return its default value.
|
|
472
476
|
public mutating func clearDfuInProgressTitle() {_uniqueStorage()._dfuInProgressTitle = nil}
|
|
473
477
|
|
|
474
478
|
public var dfuFailedTitle: String {
|
|
475
|
-
get {
|
|
479
|
+
get {_storage._dfuFailedTitle ?? "Update has failed"}
|
|
476
480
|
set {_uniqueStorage()._dfuFailedTitle = newValue}
|
|
477
481
|
}
|
|
478
482
|
/// Returns true if `dfuFailedTitle` has been explicitly set.
|
|
479
|
-
public var hasDfuFailedTitle: Bool {
|
|
483
|
+
public var hasDfuFailedTitle: Bool {_storage._dfuFailedTitle != nil}
|
|
480
484
|
/// Clears the value of `dfuFailedTitle`. Subsequent reads from it will return its default value.
|
|
481
485
|
public mutating func clearDfuFailedTitle() {_uniqueStorage()._dfuFailedTitle = nil}
|
|
482
486
|
|
|
483
487
|
public var dfuCancellingTitle: String {
|
|
484
|
-
get {
|
|
488
|
+
get {_storage._dfuCancellingTitle ?? "Cancelling..."}
|
|
485
489
|
set {_uniqueStorage()._dfuCancellingTitle = newValue}
|
|
486
490
|
}
|
|
487
491
|
/// Returns true if `dfuCancellingTitle` has been explicitly set.
|
|
488
|
-
public var hasDfuCancellingTitle: Bool {
|
|
492
|
+
public var hasDfuCancellingTitle: Bool {_storage._dfuCancellingTitle != nil}
|
|
489
493
|
/// Clears the value of `dfuCancellingTitle`. Subsequent reads from it will return its default value.
|
|
490
494
|
public mutating func clearDfuCancellingTitle() {_uniqueStorage()._dfuCancellingTitle = nil}
|
|
491
495
|
|
|
492
496
|
public var dfuCompletedTitle: String {
|
|
493
|
-
get {
|
|
497
|
+
get {_storage._dfuCompletedTitle ?? "Update has been completed"}
|
|
494
498
|
set {_uniqueStorage()._dfuCompletedTitle = newValue}
|
|
495
499
|
}
|
|
496
500
|
/// Returns true if `dfuCompletedTitle` has been explicitly set.
|
|
497
|
-
public var hasDfuCompletedTitle: Bool {
|
|
501
|
+
public var hasDfuCompletedTitle: Bool {_storage._dfuCompletedTitle != nil}
|
|
498
502
|
/// Clears the value of `dfuCompletedTitle`. Subsequent reads from it will return its default value.
|
|
499
503
|
public mutating func clearDfuCompletedTitle() {_uniqueStorage()._dfuCompletedTitle = nil}
|
|
500
504
|
|
|
501
505
|
public var getAuthenticationTokenTaskLabel: String {
|
|
502
|
-
get {
|
|
506
|
+
get {_storage._getAuthenticationTokenTaskLabel ?? "Issue authentication token"}
|
|
503
507
|
set {_uniqueStorage()._getAuthenticationTokenTaskLabel = newValue}
|
|
504
508
|
}
|
|
505
509
|
/// Returns true if `getAuthenticationTokenTaskLabel` has been explicitly set.
|
|
506
|
-
public var hasGetAuthenticationTokenTaskLabel: Bool {
|
|
510
|
+
public var hasGetAuthenticationTokenTaskLabel: Bool {_storage._getAuthenticationTokenTaskLabel != nil}
|
|
507
511
|
/// Clears the value of `getAuthenticationTokenTaskLabel`. Subsequent reads from it will return its default value.
|
|
508
512
|
public mutating func clearGetAuthenticationTokenTaskLabel() {_uniqueStorage()._getAuthenticationTokenTaskLabel = nil}
|
|
509
513
|
|
|
510
514
|
public var dfuCheckLatestFwlabel: String {
|
|
511
|
-
get {
|
|
515
|
+
get {_storage._dfuCheckLatestFwlabel ?? "Check latest firmware"}
|
|
512
516
|
set {_uniqueStorage()._dfuCheckLatestFwlabel = newValue}
|
|
513
517
|
}
|
|
514
518
|
/// Returns true if `dfuCheckLatestFwlabel` has been explicitly set.
|
|
515
|
-
public var hasDfuCheckLatestFwlabel: Bool {
|
|
519
|
+
public var hasDfuCheckLatestFwlabel: Bool {_storage._dfuCheckLatestFwlabel != nil}
|
|
516
520
|
/// Clears the value of `dfuCheckLatestFwlabel`. Subsequent reads from it will return its default value.
|
|
517
521
|
public mutating func clearDfuCheckLatestFwlabel() {_uniqueStorage()._dfuCheckLatestFwlabel = nil}
|
|
518
522
|
|
|
519
523
|
public var dfuDownloadLatestFwlabel: String {
|
|
520
|
-
get {
|
|
524
|
+
get {_storage._dfuDownloadLatestFwlabel ?? "Download latest firmware"}
|
|
521
525
|
set {_uniqueStorage()._dfuDownloadLatestFwlabel = newValue}
|
|
522
526
|
}
|
|
523
527
|
/// Returns true if `dfuDownloadLatestFwlabel` has been explicitly set.
|
|
524
|
-
public var hasDfuDownloadLatestFwlabel: Bool {
|
|
528
|
+
public var hasDfuDownloadLatestFwlabel: Bool {_storage._dfuDownloadLatestFwlabel != nil}
|
|
525
529
|
/// Clears the value of `dfuDownloadLatestFwlabel`. Subsequent reads from it will return its default value.
|
|
526
530
|
public mutating func clearDfuDownloadLatestFwlabel() {_uniqueStorage()._dfuDownloadLatestFwlabel = nil}
|
|
527
531
|
|
|
528
532
|
public var dfuPrepareUpdateLabel: String {
|
|
529
|
-
get {
|
|
533
|
+
get {_storage._dfuPrepareUpdateLabel ?? "Prepare Update"}
|
|
530
534
|
set {_uniqueStorage()._dfuPrepareUpdateLabel = newValue}
|
|
531
535
|
}
|
|
532
536
|
/// Returns true if `dfuPrepareUpdateLabel` has been explicitly set.
|
|
533
|
-
public var hasDfuPrepareUpdateLabel: Bool {
|
|
537
|
+
public var hasDfuPrepareUpdateLabel: Bool {_storage._dfuPrepareUpdateLabel != nil}
|
|
534
538
|
/// Clears the value of `dfuPrepareUpdateLabel`. Subsequent reads from it will return its default value.
|
|
535
539
|
public mutating func clearDfuPrepareUpdateLabel() {_uniqueStorage()._dfuPrepareUpdateLabel = nil}
|
|
536
540
|
|
|
537
541
|
public var dfuStartBootloaderLabel: String {
|
|
538
|
-
get {
|
|
542
|
+
get {_storage._dfuStartBootloaderLabel ?? "Start Bootloader"}
|
|
539
543
|
set {_uniqueStorage()._dfuStartBootloaderLabel = newValue}
|
|
540
544
|
}
|
|
541
545
|
/// Returns true if `dfuStartBootloaderLabel` has been explicitly set.
|
|
542
|
-
public var hasDfuStartBootloaderLabel: Bool {
|
|
546
|
+
public var hasDfuStartBootloaderLabel: Bool {_storage._dfuStartBootloaderLabel != nil}
|
|
543
547
|
/// Clears the value of `dfuStartBootloaderLabel`. Subsequent reads from it will return its default value.
|
|
544
548
|
public mutating func clearDfuStartBootloaderLabel() {_uniqueStorage()._dfuStartBootloaderLabel = nil}
|
|
545
549
|
|
|
546
550
|
public var dfuInitializationLabel: String {
|
|
547
|
-
get {
|
|
551
|
+
get {_storage._dfuInitializationLabel ?? "DFU initialization"}
|
|
548
552
|
set {_uniqueStorage()._dfuInitializationLabel = newValue}
|
|
549
553
|
}
|
|
550
554
|
/// Returns true if `dfuInitializationLabel` has been explicitly set.
|
|
551
|
-
public var hasDfuInitializationLabel: Bool {
|
|
555
|
+
public var hasDfuInitializationLabel: Bool {_storage._dfuInitializationLabel != nil}
|
|
552
556
|
/// Clears the value of `dfuInitializationLabel`. Subsequent reads from it will return its default value.
|
|
553
557
|
public mutating func clearDfuInitializationLabel() {_uniqueStorage()._dfuInitializationLabel = nil}
|
|
554
558
|
|
|
555
559
|
public var dfuUpdateFwlabel: String {
|
|
556
|
-
get {
|
|
560
|
+
get {_storage._dfuUpdateFwlabel ?? "Update firmware"}
|
|
557
561
|
set {_uniqueStorage()._dfuUpdateFwlabel = newValue}
|
|
558
562
|
}
|
|
559
563
|
/// Returns true if `dfuUpdateFwlabel` has been explicitly set.
|
|
560
|
-
public var hasDfuUpdateFwlabel: Bool {
|
|
564
|
+
public var hasDfuUpdateFwlabel: Bool {_storage._dfuUpdateFwlabel != nil}
|
|
561
565
|
/// Clears the value of `dfuUpdateFwlabel`. Subsequent reads from it will return its default value.
|
|
562
566
|
public mutating func clearDfuUpdateFwlabel() {_uniqueStorage()._dfuUpdateFwlabel = nil}
|
|
563
567
|
|
|
564
568
|
public var waitForDeviceToRestartTaskLabel: String {
|
|
565
|
-
get {
|
|
569
|
+
get {_storage._waitForDeviceToRestartTaskLabel ?? "Wait for device to restart"}
|
|
566
570
|
set {_uniqueStorage()._waitForDeviceToRestartTaskLabel = newValue}
|
|
567
571
|
}
|
|
568
572
|
/// Returns true if `waitForDeviceToRestartTaskLabel` has been explicitly set.
|
|
569
|
-
public var hasWaitForDeviceToRestartTaskLabel: Bool {
|
|
573
|
+
public var hasWaitForDeviceToRestartTaskLabel: Bool {_storage._waitForDeviceToRestartTaskLabel != nil}
|
|
570
574
|
/// Clears the value of `waitForDeviceToRestartTaskLabel`. Subsequent reads from it will return its default value.
|
|
571
575
|
public mutating func clearWaitForDeviceToRestartTaskLabel() {_uniqueStorage()._waitForDeviceToRestartTaskLabel = nil}
|
|
572
576
|
|
|
573
577
|
public var accessTypeDefaultTime: String {
|
|
574
|
-
get {
|
|
578
|
+
get {_storage._accessTypeDefaultTime ?? "Default"}
|
|
575
579
|
set {_uniqueStorage()._accessTypeDefaultTime = newValue}
|
|
576
580
|
}
|
|
577
581
|
/// Returns true if `accessTypeDefaultTime` has been explicitly set.
|
|
578
|
-
public var hasAccessTypeDefaultTime: Bool {
|
|
582
|
+
public var hasAccessTypeDefaultTime: Bool {_storage._accessTypeDefaultTime != nil}
|
|
579
583
|
/// Clears the value of `accessTypeDefaultTime`. Subsequent reads from it will return its default value.
|
|
580
584
|
public mutating func clearAccessTypeDefaultTime() {_uniqueStorage()._accessTypeDefaultTime = nil}
|
|
581
585
|
|
|
582
586
|
public var accessTypeExtendedTime: String {
|
|
583
|
-
get {
|
|
587
|
+
get {_storage._accessTypeExtendedTime ?? "Extended"}
|
|
584
588
|
set {_uniqueStorage()._accessTypeExtendedTime = newValue}
|
|
585
589
|
}
|
|
586
590
|
/// Returns true if `accessTypeExtendedTime` has been explicitly set.
|
|
587
|
-
public var hasAccessTypeExtendedTime: Bool {
|
|
591
|
+
public var hasAccessTypeExtendedTime: Bool {_storage._accessTypeExtendedTime != nil}
|
|
588
592
|
/// Clears the value of `accessTypeExtendedTime`. Subsequent reads from it will return its default value.
|
|
589
593
|
public mutating func clearAccessTypeExtendedTime() {_uniqueStorage()._accessTypeExtendedTime = nil}
|
|
590
594
|
|
|
591
595
|
public var accessTypeToggle: String {
|
|
592
|
-
get {
|
|
596
|
+
get {_storage._accessTypeToggle ?? "Toggle"}
|
|
593
597
|
set {_uniqueStorage()._accessTypeToggle = newValue}
|
|
594
598
|
}
|
|
595
599
|
/// Returns true if `accessTypeToggle` has been explicitly set.
|
|
596
|
-
public var hasAccessTypeToggle: Bool {
|
|
600
|
+
public var hasAccessTypeToggle: Bool {_storage._accessTypeToggle != nil}
|
|
597
601
|
/// Clears the value of `accessTypeToggle`. Subsequent reads from it will return its default value.
|
|
598
602
|
public mutating func clearAccessTypeToggle() {_uniqueStorage()._accessTypeToggle = nil}
|
|
599
603
|
|
|
600
604
|
public var accessTypeClose: String {
|
|
601
|
-
get {
|
|
605
|
+
get {_storage._accessTypeClose ?? "Close"}
|
|
602
606
|
set {_uniqueStorage()._accessTypeClose = newValue}
|
|
603
607
|
}
|
|
604
608
|
/// Returns true if `accessTypeClose` has been explicitly set.
|
|
605
|
-
public var hasAccessTypeClose: Bool {
|
|
609
|
+
public var hasAccessTypeClose: Bool {_storage._accessTypeClose != nil}
|
|
606
610
|
/// Clears the value of `accessTypeClose`. Subsequent reads from it will return its default value.
|
|
607
611
|
public mutating func clearAccessTypeClose() {_uniqueStorage()._accessTypeClose = nil}
|
|
608
612
|
|
|
609
613
|
public var accessTypeCustomTime: String {
|
|
610
|
-
get {
|
|
614
|
+
get {_storage._accessTypeCustomTime ?? "Custom"}
|
|
611
615
|
set {_uniqueStorage()._accessTypeCustomTime = newValue}
|
|
612
616
|
}
|
|
613
617
|
/// Returns true if `accessTypeCustomTime` has been explicitly set.
|
|
614
|
-
public var hasAccessTypeCustomTime: Bool {
|
|
618
|
+
public var hasAccessTypeCustomTime: Bool {_storage._accessTypeCustomTime != nil}
|
|
615
619
|
/// Clears the value of `accessTypeCustomTime`. Subsequent reads from it will return its default value.
|
|
616
620
|
public mutating func clearAccessTypeCustomTime() {_uniqueStorage()._accessTypeCustomTime = nil}
|
|
617
621
|
|
|
618
622
|
public var openViaOssSoSelectAccessTypeTitle: String {
|
|
619
|
-
get {
|
|
623
|
+
get {_storage._openViaOssSoSelectAccessTypeTitle ?? "Select an access type"}
|
|
620
624
|
set {_uniqueStorage()._openViaOssSoSelectAccessTypeTitle = newValue}
|
|
621
625
|
}
|
|
622
626
|
/// Returns true if `openViaOssSoSelectAccessTypeTitle` has been explicitly set.
|
|
623
|
-
public var hasOpenViaOssSoSelectAccessTypeTitle: Bool {
|
|
627
|
+
public var hasOpenViaOssSoSelectAccessTypeTitle: Bool {_storage._openViaOssSoSelectAccessTypeTitle != nil}
|
|
624
628
|
/// Clears the value of `openViaOssSoSelectAccessTypeTitle`. Subsequent reads from it will return its default value.
|
|
625
629
|
public mutating func clearOpenViaOssSoSelectAccessTypeTitle() {_uniqueStorage()._openViaOssSoSelectAccessTypeTitle = nil}
|
|
626
630
|
|
|
627
631
|
public var openViaOssSoSelectAccessTypeMessage: String {
|
|
628
|
-
get {
|
|
632
|
+
get {_storage._openViaOssSoSelectAccessTypeMessage ?? "You have multiple access types available."}
|
|
629
633
|
set {_uniqueStorage()._openViaOssSoSelectAccessTypeMessage = newValue}
|
|
630
634
|
}
|
|
631
635
|
/// Returns true if `openViaOssSoSelectAccessTypeMessage` has been explicitly set.
|
|
632
|
-
public var hasOpenViaOssSoSelectAccessTypeMessage: Bool {
|
|
636
|
+
public var hasOpenViaOssSoSelectAccessTypeMessage: Bool {_storage._openViaOssSoSelectAccessTypeMessage != nil}
|
|
633
637
|
/// Clears the value of `openViaOssSoSelectAccessTypeMessage`. Subsequent reads from it will return its default value.
|
|
634
638
|
public mutating func clearOpenViaOssSoSelectAccessTypeMessage() {_uniqueStorage()._openViaOssSoSelectAccessTypeMessage = nil}
|
|
635
639
|
|
|
636
640
|
public var provisioningDone: String {
|
|
637
|
-
get {
|
|
641
|
+
get {_storage._provisioningDone ?? "Device %s has been provisioned. Please wait a few seconds for it to be ready for setup. If it doesn’t discover, try removing the batteries and restarting the lock."}
|
|
638
642
|
set {_uniqueStorage()._provisioningDone = newValue}
|
|
639
643
|
}
|
|
640
644
|
/// Returns true if `provisioningDone` has been explicitly set.
|
|
641
|
-
public var hasProvisioningDone: Bool {
|
|
645
|
+
public var hasProvisioningDone: Bool {_storage._provisioningDone != nil}
|
|
642
646
|
/// Clears the value of `provisioningDone`. Subsequent reads from it will return its default value.
|
|
643
647
|
public mutating func clearProvisioningDone() {_uniqueStorage()._provisioningDone = nil}
|
|
644
648
|
|
|
645
649
|
public var checkCurrentAvr: String {
|
|
646
|
-
get {
|
|
650
|
+
get {_storage._checkCurrentAvr ?? "Check current AVR"}
|
|
647
651
|
set {_uniqueStorage()._checkCurrentAvr = newValue}
|
|
648
652
|
}
|
|
649
653
|
/// Returns true if `checkCurrentAvr` has been explicitly set.
|
|
650
|
-
public var hasCheckCurrentAvr: Bool {
|
|
654
|
+
public var hasCheckCurrentAvr: Bool {_storage._checkCurrentAvr != nil}
|
|
651
655
|
/// Clears the value of `checkCurrentAvr`. Subsequent reads from it will return its default value.
|
|
652
656
|
public mutating func clearCheckCurrentAvr() {_uniqueStorage()._checkCurrentAvr = nil}
|
|
653
657
|
|
|
654
658
|
public var checkIfAvrupdateNedded: String {
|
|
655
|
-
get {
|
|
659
|
+
get {_storage._checkIfAvrupdateNedded ?? "Check If AVR needs to update"}
|
|
656
660
|
set {_uniqueStorage()._checkIfAvrupdateNedded = newValue}
|
|
657
661
|
}
|
|
658
662
|
/// Returns true if `checkIfAvrupdateNedded` has been explicitly set.
|
|
659
|
-
public var hasCheckIfAvrupdateNedded: Bool {
|
|
663
|
+
public var hasCheckIfAvrupdateNedded: Bool {_storage._checkIfAvrupdateNedded != nil}
|
|
660
664
|
/// Clears the value of `checkIfAvrupdateNedded`. Subsequent reads from it will return its default value.
|
|
661
665
|
public mutating func clearCheckIfAvrupdateNedded() {_uniqueStorage()._checkIfAvrupdateNedded = nil}
|
|
662
666
|
|
|
663
667
|
public var downloadAvr: String {
|
|
664
|
-
get {
|
|
668
|
+
get {_storage._downloadAvr ?? "Download AVR"}
|
|
665
669
|
set {_uniqueStorage()._downloadAvr = newValue}
|
|
666
670
|
}
|
|
667
671
|
/// Returns true if `downloadAvr` has been explicitly set.
|
|
668
|
-
public var hasDownloadAvr: Bool {
|
|
672
|
+
public var hasDownloadAvr: Bool {_storage._downloadAvr != nil}
|
|
669
673
|
/// Clears the value of `downloadAvr`. Subsequent reads from it will return its default value.
|
|
670
674
|
public mutating func clearDownloadAvr() {_uniqueStorage()._downloadAvr = nil}
|
|
671
675
|
|
|
672
676
|
public var downloadingAvr: String {
|
|
673
|
-
get {
|
|
677
|
+
get {_storage._downloadingAvr ?? "Downloading AVR %d.%d.%d"}
|
|
674
678
|
set {_uniqueStorage()._downloadingAvr = newValue}
|
|
675
679
|
}
|
|
676
680
|
/// Returns true if `downloadingAvr` has been explicitly set.
|
|
677
|
-
public var hasDownloadingAvr: Bool {
|
|
681
|
+
public var hasDownloadingAvr: Bool {_storage._downloadingAvr != nil}
|
|
678
682
|
/// Clears the value of `downloadingAvr`. Subsequent reads from it will return its default value.
|
|
679
683
|
public mutating func clearDownloadingAvr() {_uniqueStorage()._downloadingAvr = nil}
|
|
680
684
|
|
|
681
685
|
public var updateAvr: String {
|
|
682
|
-
get {
|
|
686
|
+
get {_storage._updateAvr ?? "Update AVR"}
|
|
683
687
|
set {_uniqueStorage()._updateAvr = newValue}
|
|
684
688
|
}
|
|
685
689
|
/// Returns true if `updateAvr` has been explicitly set.
|
|
686
|
-
public var hasUpdateAvr: Bool {
|
|
690
|
+
public var hasUpdateAvr: Bool {_storage._updateAvr != nil}
|
|
687
691
|
/// Clears the value of `updateAvr`. Subsequent reads from it will return its default value.
|
|
688
692
|
public mutating func clearUpdateAvr() {_uniqueStorage()._updateAvr = nil}
|
|
689
693
|
|
|
690
694
|
public var avrIsAlreadyUpToDate: String {
|
|
691
|
-
get {
|
|
695
|
+
get {_storage._avrIsAlreadyUpToDate ?? "AVR is already up to date"}
|
|
692
696
|
set {_uniqueStorage()._avrIsAlreadyUpToDate = newValue}
|
|
693
697
|
}
|
|
694
698
|
/// Returns true if `avrIsAlreadyUpToDate` has been explicitly set.
|
|
695
|
-
public var hasAvrIsAlreadyUpToDate: Bool {
|
|
699
|
+
public var hasAvrIsAlreadyUpToDate: Bool {_storage._avrIsAlreadyUpToDate != nil}
|
|
696
700
|
/// Clears the value of `avrIsAlreadyUpToDate`. Subsequent reads from it will return its default value.
|
|
697
701
|
public mutating func clearAvrIsAlreadyUpToDate() {_uniqueStorage()._avrIsAlreadyUpToDate = nil}
|
|
698
702
|
|
|
@@ -709,29 +713,29 @@ public struct BlueDeviceDetailsBluetooth: Sendable {
|
|
|
709
713
|
// methods supported on all messages.
|
|
710
714
|
|
|
711
715
|
public var rssi: Int32 {
|
|
712
|
-
get {
|
|
716
|
+
get {_rssi ?? 0}
|
|
713
717
|
set {_rssi = newValue}
|
|
714
718
|
}
|
|
715
719
|
/// Returns true if `rssi` has been explicitly set.
|
|
716
|
-
public var hasRssi: Bool {
|
|
720
|
+
public var hasRssi: Bool {self._rssi != nil}
|
|
717
721
|
/// Clears the value of `rssi`. Subsequent reads from it will return its default value.
|
|
718
722
|
public mutating func clearRssi() {self._rssi = nil}
|
|
719
723
|
|
|
720
724
|
public var txPower: Int32 {
|
|
721
|
-
get {
|
|
725
|
+
get {_txPower ?? 0}
|
|
722
726
|
set {_txPower = newValue}
|
|
723
727
|
}
|
|
724
728
|
/// Returns true if `txPower` has been explicitly set.
|
|
725
|
-
public var hasTxPower: Bool {
|
|
729
|
+
public var hasTxPower: Bool {self._txPower != nil}
|
|
726
730
|
/// Clears the value of `txPower`. Subsequent reads from it will return its default value.
|
|
727
731
|
public mutating func clearTxPower() {self._txPower = nil}
|
|
728
732
|
|
|
729
733
|
public var isIbeacon: Bool {
|
|
730
|
-
get {
|
|
734
|
+
get {_isIbeacon ?? false}
|
|
731
735
|
set {_isIbeacon = newValue}
|
|
732
736
|
}
|
|
733
737
|
/// Returns true if `isIbeacon` has been explicitly set.
|
|
734
|
-
public var hasIsIbeacon: Bool {
|
|
738
|
+
public var hasIsIbeacon: Bool {self._isIbeacon != nil}
|
|
735
739
|
/// Clears the value of `isIbeacon`. Subsequent reads from it will return its default value.
|
|
736
740
|
public mutating func clearIsIbeacon() {self._isIbeacon = nil}
|
|
737
741
|
|
|
@@ -750,11 +754,11 @@ public struct BlueDeviceDetailsUWB: Sendable {
|
|
|
750
754
|
// methods supported on all messages.
|
|
751
755
|
|
|
752
756
|
public var notUsed: Bool {
|
|
753
|
-
get {
|
|
757
|
+
get {_notUsed ?? false}
|
|
754
758
|
set {_notUsed = newValue}
|
|
755
759
|
}
|
|
756
760
|
/// Returns true if `notUsed` has been explicitly set.
|
|
757
|
-
public var hasNotUsed: Bool {
|
|
761
|
+
public var hasNotUsed: Bool {self._notUsed != nil}
|
|
758
762
|
/// Clears the value of `notUsed`. Subsequent reads from it will return its default value.
|
|
759
763
|
public mutating func clearNotUsed() {self._notUsed = nil}
|
|
760
764
|
|
|
@@ -771,38 +775,38 @@ public struct BlueDeviceInfo: Sendable {
|
|
|
771
775
|
// methods supported on all messages.
|
|
772
776
|
|
|
773
777
|
public var deviceType: BlueDeviceType {
|
|
774
|
-
get {
|
|
778
|
+
get {_deviceType ?? .bluetoothDevice}
|
|
775
779
|
set {_deviceType = newValue}
|
|
776
780
|
}
|
|
777
781
|
/// Returns true if `deviceType` has been explicitly set.
|
|
778
|
-
public var hasDeviceType: Bool {
|
|
782
|
+
public var hasDeviceType: Bool {self._deviceType != nil}
|
|
779
783
|
/// Clears the value of `deviceType`. Subsequent reads from it will return its default value.
|
|
780
784
|
public mutating func clearDeviceType() {self._deviceType = nil}
|
|
781
785
|
|
|
782
786
|
public var deviceID: String {
|
|
783
|
-
get {
|
|
787
|
+
get {_deviceID ?? String()}
|
|
784
788
|
set {_deviceID = newValue}
|
|
785
789
|
}
|
|
786
790
|
/// Returns true if `deviceID` has been explicitly set.
|
|
787
|
-
public var hasDeviceID: Bool {
|
|
791
|
+
public var hasDeviceID: Bool {self._deviceID != nil}
|
|
788
792
|
/// Clears the value of `deviceID`. Subsequent reads from it will return its default value.
|
|
789
793
|
public mutating func clearDeviceID() {self._deviceID = nil}
|
|
790
794
|
|
|
791
795
|
public var distanceMeters: Float {
|
|
792
|
-
get {
|
|
796
|
+
get {_distanceMeters ?? 0}
|
|
793
797
|
set {_distanceMeters = newValue}
|
|
794
798
|
}
|
|
795
799
|
/// Returns true if `distanceMeters` has been explicitly set.
|
|
796
|
-
public var hasDistanceMeters: Bool {
|
|
800
|
+
public var hasDistanceMeters: Bool {self._distanceMeters != nil}
|
|
797
801
|
/// Clears the value of `distanceMeters`. Subsequent reads from it will return its default value.
|
|
798
802
|
public mutating func clearDistanceMeters() {self._distanceMeters = nil}
|
|
799
803
|
|
|
800
804
|
public var manufacturerInfo: BlueBleManufacturerInfo {
|
|
801
|
-
get {
|
|
805
|
+
get {_manufacturerInfo ?? BlueBleManufacturerInfo()}
|
|
802
806
|
set {_manufacturerInfo = newValue}
|
|
803
807
|
}
|
|
804
808
|
/// Returns true if `manufacturerInfo` has been explicitly set.
|
|
805
|
-
public var hasManufacturerInfo: Bool {
|
|
809
|
+
public var hasManufacturerInfo: Bool {self._manufacturerInfo != nil}
|
|
806
810
|
/// Clears the value of `manufacturerInfo`. Subsequent reads from it will return its default value.
|
|
807
811
|
public mutating func clearManufacturerInfo() {self._manufacturerInfo = nil}
|
|
808
812
|
|
|
@@ -862,121 +866,121 @@ public struct BlueIdentity: @unchecked Sendable {
|
|
|
862
866
|
// methods supported on all messages.
|
|
863
867
|
|
|
864
868
|
public var identityID: String {
|
|
865
|
-
get {
|
|
869
|
+
get {_storage._identityID ?? String()}
|
|
866
870
|
set {_uniqueStorage()._identityID = newValue}
|
|
867
871
|
}
|
|
868
872
|
/// Returns true if `identityID` has been explicitly set.
|
|
869
|
-
public var hasIdentityID: Bool {
|
|
873
|
+
public var hasIdentityID: Bool {_storage._identityID != nil}
|
|
870
874
|
/// Clears the value of `identityID`. Subsequent reads from it will return its default value.
|
|
871
875
|
public mutating func clearIdentityID() {_uniqueStorage()._identityID = nil}
|
|
872
876
|
|
|
873
877
|
/// @TODO: Keep it until we have updated all places in both iOS and Android SDK.
|
|
874
878
|
/// This should be renamed to BlueIdentityRole later on.
|
|
875
879
|
public var role: BlueCredentialType {
|
|
876
|
-
get {
|
|
880
|
+
get {_storage._role ?? .regular}
|
|
877
881
|
set {_uniqueStorage()._role = newValue}
|
|
878
882
|
}
|
|
879
883
|
/// Returns true if `role` has been explicitly set.
|
|
880
|
-
public var hasRole: Bool {
|
|
884
|
+
public var hasRole: Bool {_storage._role != nil}
|
|
881
885
|
/// Clears the value of `role`. Subsequent reads from it will return its default value.
|
|
882
886
|
public mutating func clearRole() {_uniqueStorage()._role = nil}
|
|
883
887
|
|
|
884
888
|
public var name: String {
|
|
885
|
-
get {
|
|
889
|
+
get {_storage._name ?? String()}
|
|
886
890
|
set {_uniqueStorage()._name = newValue}
|
|
887
891
|
}
|
|
888
892
|
/// Returns true if `name` has been explicitly set.
|
|
889
|
-
public var hasName: Bool {
|
|
893
|
+
public var hasName: Bool {_storage._name != nil}
|
|
890
894
|
/// Clears the value of `name`. Subsequent reads from it will return its default value.
|
|
891
895
|
public mutating func clearName() {_uniqueStorage()._name = nil}
|
|
892
896
|
|
|
893
897
|
public var description_p: String {
|
|
894
|
-
get {
|
|
898
|
+
get {_storage._description_p ?? String()}
|
|
895
899
|
set {_uniqueStorage()._description_p = newValue}
|
|
896
900
|
}
|
|
897
901
|
/// Returns true if `description_p` has been explicitly set.
|
|
898
|
-
public var hasDescription_p: Bool {
|
|
902
|
+
public var hasDescription_p: Bool {_storage._description_p != nil}
|
|
899
903
|
/// Clears the value of `description_p`. Subsequent reads from it will return its default value.
|
|
900
904
|
public mutating func clearDescription_p() {_uniqueStorage()._description_p = nil}
|
|
901
905
|
|
|
902
906
|
public var receiverName: String {
|
|
903
|
-
get {
|
|
907
|
+
get {_storage._receiverName ?? String()}
|
|
904
908
|
set {_uniqueStorage()._receiverName = newValue}
|
|
905
909
|
}
|
|
906
910
|
/// Returns true if `receiverName` has been explicitly set.
|
|
907
|
-
public var hasReceiverName: Bool {
|
|
911
|
+
public var hasReceiverName: Bool {_storage._receiverName != nil}
|
|
908
912
|
/// Clears the value of `receiverName`. Subsequent reads from it will return its default value.
|
|
909
913
|
public mutating func clearReceiverName() {_uniqueStorage()._receiverName = nil}
|
|
910
914
|
|
|
911
915
|
public var validFrom: BlueLocalTimestamp {
|
|
912
|
-
get {
|
|
916
|
+
get {_storage._validFrom ?? BlueLocalTimestamp()}
|
|
913
917
|
set {_uniqueStorage()._validFrom = newValue}
|
|
914
918
|
}
|
|
915
919
|
/// Returns true if `validFrom` has been explicitly set.
|
|
916
|
-
public var hasValidFrom: Bool {
|
|
920
|
+
public var hasValidFrom: Bool {_storage._validFrom != nil}
|
|
917
921
|
/// Clears the value of `validFrom`. Subsequent reads from it will return its default value.
|
|
918
922
|
public mutating func clearValidFrom() {_uniqueStorage()._validFrom = nil}
|
|
919
923
|
|
|
920
924
|
public var validTo: BlueLocalTimestamp {
|
|
921
|
-
get {
|
|
925
|
+
get {_storage._validTo ?? BlueLocalTimestamp()}
|
|
922
926
|
set {_uniqueStorage()._validTo = newValue}
|
|
923
927
|
}
|
|
924
928
|
/// Returns true if `validTo` has been explicitly set.
|
|
925
|
-
public var hasValidTo: Bool {
|
|
929
|
+
public var hasValidTo: Bool {_storage._validTo != nil}
|
|
926
930
|
/// Clears the value of `validTo`. Subsequent reads from it will return its default value.
|
|
927
931
|
public mutating func clearValidTo() {_uniqueStorage()._validTo = nil}
|
|
928
932
|
|
|
929
933
|
public var organization: String {
|
|
930
|
-
get {
|
|
934
|
+
get {_storage._organization ?? String()}
|
|
931
935
|
set {_uniqueStorage()._organization = newValue}
|
|
932
936
|
}
|
|
933
937
|
/// Returns true if `organization` has been explicitly set.
|
|
934
|
-
public var hasOrganization: Bool {
|
|
938
|
+
public var hasOrganization: Bool {_storage._organization != nil}
|
|
935
939
|
/// Clears the value of `organization`. Subsequent reads from it will return its default value.
|
|
936
940
|
public mutating func clearOrganization() {_uniqueStorage()._organization = nil}
|
|
937
941
|
|
|
938
942
|
public var organizationName: String {
|
|
939
|
-
get {
|
|
943
|
+
get {_storage._organizationName ?? String()}
|
|
940
944
|
set {_uniqueStorage()._organizationName = newValue}
|
|
941
945
|
}
|
|
942
946
|
/// Returns true if `organizationName` has been explicitly set.
|
|
943
|
-
public var hasOrganizationName: Bool {
|
|
947
|
+
public var hasOrganizationName: Bool {_storage._organizationName != nil}
|
|
944
948
|
/// Clears the value of `organizationName`. Subsequent reads from it will return its default value.
|
|
945
949
|
public mutating func clearOrganizationName() {_uniqueStorage()._organizationName = nil}
|
|
946
950
|
|
|
947
951
|
public var siteID: Int32 {
|
|
948
|
-
get {
|
|
952
|
+
get {_storage._siteID ?? 0}
|
|
949
953
|
set {_uniqueStorage()._siteID = newValue}
|
|
950
954
|
}
|
|
951
955
|
/// Returns true if `siteID` has been explicitly set.
|
|
952
|
-
public var hasSiteID: Bool {
|
|
956
|
+
public var hasSiteID: Bool {_storage._siteID != nil}
|
|
953
957
|
/// Clears the value of `siteID`. Subsequent reads from it will return its default value.
|
|
954
958
|
public mutating func clearSiteID() {_uniqueStorage()._siteID = nil}
|
|
955
959
|
|
|
956
960
|
public var siteName: String {
|
|
957
|
-
get {
|
|
961
|
+
get {_storage._siteName ?? String()}
|
|
958
962
|
set {_uniqueStorage()._siteName = newValue}
|
|
959
963
|
}
|
|
960
964
|
/// Returns true if `siteName` has been explicitly set.
|
|
961
|
-
public var hasSiteName: Bool {
|
|
965
|
+
public var hasSiteName: Bool {_storage._siteName != nil}
|
|
962
966
|
/// Clears the value of `siteName`. Subsequent reads from it will return its default value.
|
|
963
967
|
public mutating func clearSiteName() {_uniqueStorage()._siteName = nil}
|
|
964
968
|
|
|
965
969
|
public var privateKey: Data {
|
|
966
|
-
get {
|
|
970
|
+
get {_storage._privateKey ?? Data()}
|
|
967
971
|
set {_uniqueStorage()._privateKey = newValue}
|
|
968
972
|
}
|
|
969
973
|
/// Returns true if `privateKey` has been explicitly set.
|
|
970
|
-
public var hasPrivateKey: Bool {
|
|
974
|
+
public var hasPrivateKey: Bool {_storage._privateKey != nil}
|
|
971
975
|
/// Clears the value of `privateKey`. Subsequent reads from it will return its default value.
|
|
972
976
|
public mutating func clearPrivateKey() {_uniqueStorage()._privateKey = nil}
|
|
973
977
|
|
|
974
978
|
public var status: String {
|
|
975
|
-
get {
|
|
979
|
+
get {_storage._status ?? String()}
|
|
976
980
|
set {_uniqueStorage()._status = newValue}
|
|
977
981
|
}
|
|
978
982
|
/// Returns true if `status` has been explicitly set.
|
|
979
|
-
public var hasStatus: Bool {
|
|
983
|
+
public var hasStatus: Bool {_storage._status != nil}
|
|
980
984
|
/// Clears the value of `status`. Subsequent reads from it will return its default value.
|
|
981
985
|
public mutating func clearStatus() {_uniqueStorage()._status = nil}
|
|
982
986
|
|
|
@@ -1005,38 +1009,38 @@ public struct BlueAccessDevice: Sendable {
|
|
|
1005
1009
|
// methods supported on all messages.
|
|
1006
1010
|
|
|
1007
1011
|
public var deviceID: String {
|
|
1008
|
-
get {
|
|
1012
|
+
get {_deviceID ?? String()}
|
|
1009
1013
|
set {_deviceID = newValue}
|
|
1010
1014
|
}
|
|
1011
1015
|
/// Returns true if `deviceID` has been explicitly set.
|
|
1012
|
-
public var hasDeviceID: Bool {
|
|
1016
|
+
public var hasDeviceID: Bool {self._deviceID != nil}
|
|
1013
1017
|
/// Clears the value of `deviceID`. Subsequent reads from it will return its default value.
|
|
1014
1018
|
public mutating func clearDeviceID() {self._deviceID = nil}
|
|
1015
1019
|
|
|
1016
1020
|
public var objectName: String {
|
|
1017
|
-
get {
|
|
1021
|
+
get {_objectName ?? String()}
|
|
1018
1022
|
set {_objectName = newValue}
|
|
1019
1023
|
}
|
|
1020
1024
|
/// Returns true if `objectName` has been explicitly set.
|
|
1021
|
-
public var hasObjectName: Bool {
|
|
1025
|
+
public var hasObjectName: Bool {self._objectName != nil}
|
|
1022
1026
|
/// Clears the value of `objectName`. Subsequent reads from it will return its default value.
|
|
1023
1027
|
public mutating func clearObjectName() {self._objectName = nil}
|
|
1024
1028
|
|
|
1025
1029
|
public var objectID: Int32 {
|
|
1026
|
-
get {
|
|
1030
|
+
get {_objectID ?? 0}
|
|
1027
1031
|
set {_objectID = newValue}
|
|
1028
1032
|
}
|
|
1029
1033
|
/// Returns true if `objectID` has been explicitly set.
|
|
1030
|
-
public var hasObjectID: Bool {
|
|
1034
|
+
public var hasObjectID: Bool {self._objectID != nil}
|
|
1031
1035
|
/// Clears the value of `objectID`. Subsequent reads from it will return its default value.
|
|
1032
1036
|
public mutating func clearObjectID() {self._objectID = nil}
|
|
1033
1037
|
|
|
1034
1038
|
public var deviceStatus: String {
|
|
1035
|
-
get {
|
|
1039
|
+
get {_deviceStatus ?? String()}
|
|
1036
1040
|
set {_deviceStatus = newValue}
|
|
1037
1041
|
}
|
|
1038
1042
|
/// Returns true if `deviceStatus` has been explicitly set.
|
|
1039
|
-
public var hasDeviceStatus: Bool {
|
|
1043
|
+
public var hasDeviceStatus: Bool {self._deviceStatus != nil}
|
|
1040
1044
|
/// Clears the value of `deviceStatus`. Subsequent reads from it will return its default value.
|
|
1041
1045
|
public mutating func clearDeviceStatus() {self._deviceStatus = nil}
|
|
1042
1046
|
|
|
@@ -1068,38 +1072,38 @@ public struct BlueAccessObject: Sendable {
|
|
|
1068
1072
|
// methods supported on all messages.
|
|
1069
1073
|
|
|
1070
1074
|
public var id: String {
|
|
1071
|
-
get {
|
|
1075
|
+
get {_id ?? String()}
|
|
1072
1076
|
set {_id = newValue}
|
|
1073
1077
|
}
|
|
1074
1078
|
/// Returns true if `id` has been explicitly set.
|
|
1075
|
-
public var hasID: Bool {
|
|
1079
|
+
public var hasID: Bool {self._id != nil}
|
|
1076
1080
|
/// Clears the value of `id`. Subsequent reads from it will return its default value.
|
|
1077
1081
|
public mutating func clearID() {self._id = nil}
|
|
1078
1082
|
|
|
1079
1083
|
public var objectID: Int32 {
|
|
1080
|
-
get {
|
|
1084
|
+
get {_objectID ?? 0}
|
|
1081
1085
|
set {_objectID = newValue}
|
|
1082
1086
|
}
|
|
1083
1087
|
/// Returns true if `objectID` has been explicitly set.
|
|
1084
|
-
public var hasObjectID: Bool {
|
|
1088
|
+
public var hasObjectID: Bool {self._objectID != nil}
|
|
1085
1089
|
/// Clears the value of `objectID`. Subsequent reads from it will return its default value.
|
|
1086
1090
|
public mutating func clearObjectID() {self._objectID = nil}
|
|
1087
1091
|
|
|
1088
1092
|
public var name: String {
|
|
1089
|
-
get {
|
|
1093
|
+
get {_name ?? String()}
|
|
1090
1094
|
set {_name = newValue}
|
|
1091
1095
|
}
|
|
1092
1096
|
/// Returns true if `name` has been explicitly set.
|
|
1093
|
-
public var hasName: Bool {
|
|
1097
|
+
public var hasName: Bool {self._name != nil}
|
|
1094
1098
|
/// Clears the value of `name`. Subsequent reads from it will return its default value.
|
|
1095
1099
|
public mutating func clearName() {self._name = nil}
|
|
1096
1100
|
|
|
1097
1101
|
public var description_p: String {
|
|
1098
|
-
get {
|
|
1102
|
+
get {_description_p ?? String()}
|
|
1099
1103
|
set {_description_p = newValue}
|
|
1100
1104
|
}
|
|
1101
1105
|
/// Returns true if `description_p` has been explicitly set.
|
|
1102
|
-
public var hasDescription_p: Bool {
|
|
1106
|
+
public var hasDescription_p: Bool {self._description_p != nil}
|
|
1103
1107
|
/// Clears the value of `description_p`. Subsequent reads from it will return its default value.
|
|
1104
1108
|
public mutating func clearDescription_p() {self._description_p = nil}
|
|
1105
1109
|
|
|
@@ -1133,47 +1137,47 @@ public struct BlueHardwareInfo: Sendable {
|
|
|
1133
1137
|
// methods supported on all messages.
|
|
1134
1138
|
|
|
1135
1139
|
public var name: String {
|
|
1136
|
-
get {
|
|
1140
|
+
get {_name ?? String()}
|
|
1137
1141
|
set {_name = newValue}
|
|
1138
1142
|
}
|
|
1139
1143
|
/// Returns true if `name` has been explicitly set.
|
|
1140
|
-
public var hasName: Bool {
|
|
1144
|
+
public var hasName: Bool {self._name != nil}
|
|
1141
1145
|
/// Clears the value of `name`. Subsequent reads from it will return its default value.
|
|
1142
1146
|
public mutating func clearName() {self._name = nil}
|
|
1143
1147
|
|
|
1144
1148
|
public var vendor: String {
|
|
1145
|
-
get {
|
|
1149
|
+
get {_vendor ?? String()}
|
|
1146
1150
|
set {_vendor = newValue}
|
|
1147
1151
|
}
|
|
1148
1152
|
/// Returns true if `vendor` has been explicitly set.
|
|
1149
|
-
public var hasVendor: Bool {
|
|
1153
|
+
public var hasVendor: Bool {self._vendor != nil}
|
|
1150
1154
|
/// Clears the value of `vendor`. Subsequent reads from it will return its default value.
|
|
1151
1155
|
public mutating func clearVendor() {self._vendor = nil}
|
|
1152
1156
|
|
|
1153
1157
|
public var vendorName: String {
|
|
1154
|
-
get {
|
|
1158
|
+
get {_vendorName ?? String()}
|
|
1155
1159
|
set {_vendorName = newValue}
|
|
1156
1160
|
}
|
|
1157
1161
|
/// Returns true if `vendorName` has been explicitly set.
|
|
1158
|
-
public var hasVendorName: Bool {
|
|
1162
|
+
public var hasVendorName: Bool {self._vendorName != nil}
|
|
1159
1163
|
/// Clears the value of `vendorName`. Subsequent reads from it will return its default value.
|
|
1160
1164
|
public mutating func clearVendorName() {self._vendorName = nil}
|
|
1161
1165
|
|
|
1162
1166
|
public var version: UInt32 {
|
|
1163
|
-
get {
|
|
1167
|
+
get {_version ?? 0}
|
|
1164
1168
|
set {_version = newValue}
|
|
1165
1169
|
}
|
|
1166
1170
|
/// Returns true if `version` has been explicitly set.
|
|
1167
|
-
public var hasVersion: Bool {
|
|
1171
|
+
public var hasVersion: Bool {self._version != nil}
|
|
1168
1172
|
/// Clears the value of `version`. Subsequent reads from it will return its default value.
|
|
1169
1173
|
public mutating func clearVersion() {self._version = nil}
|
|
1170
1174
|
|
|
1171
1175
|
public var type: BlueHardwareType {
|
|
1172
|
-
get {
|
|
1176
|
+
get {_type ?? .unknownHardware}
|
|
1173
1177
|
set {_type = newValue}
|
|
1174
1178
|
}
|
|
1175
1179
|
/// Returns true if `type` has been explicitly set.
|
|
1176
|
-
public var hasType: Bool {
|
|
1180
|
+
public var hasType: Bool {self._type != nil}
|
|
1177
1181
|
/// Clears the value of `type`. Subsequent reads from it will return its default value.
|
|
1178
1182
|
public mutating func clearType() {self._type = nil}
|
|
1179
1183
|
|
|
@@ -1194,47 +1198,47 @@ public struct BlueSystemStatusExt: Sendable {
|
|
|
1194
1198
|
// methods supported on all messages.
|
|
1195
1199
|
|
|
1196
1200
|
public var status: BlueSystemStatus {
|
|
1197
|
-
get {
|
|
1201
|
+
get {_status ?? BlueSystemStatus()}
|
|
1198
1202
|
set {_status = newValue}
|
|
1199
1203
|
}
|
|
1200
1204
|
/// Returns true if `status` has been explicitly set.
|
|
1201
|
-
public var hasStatus: Bool {
|
|
1205
|
+
public var hasStatus: Bool {self._status != nil}
|
|
1202
1206
|
/// Clears the value of `status`. Subsequent reads from it will return its default value.
|
|
1203
1207
|
public mutating func clearStatus() {self._status = nil}
|
|
1204
1208
|
|
|
1205
1209
|
public var newFirmwareVersionAvailable: Bool {
|
|
1206
|
-
get {
|
|
1210
|
+
get {_newFirmwareVersionAvailable ?? false}
|
|
1207
1211
|
set {_newFirmwareVersionAvailable = newValue}
|
|
1208
1212
|
}
|
|
1209
1213
|
/// Returns true if `newFirmwareVersionAvailable` has been explicitly set.
|
|
1210
|
-
public var hasNewFirmwareVersionAvailable: Bool {
|
|
1214
|
+
public var hasNewFirmwareVersionAvailable: Bool {self._newFirmwareVersionAvailable != nil}
|
|
1211
1215
|
/// Clears the value of `newFirmwareVersionAvailable`. Subsequent reads from it will return its default value.
|
|
1212
1216
|
public mutating func clearNewFirmwareVersionAvailable() {self._newFirmwareVersionAvailable = nil}
|
|
1213
1217
|
|
|
1214
1218
|
public var newTestFirmwareVersionAvailable: Bool {
|
|
1215
|
-
get {
|
|
1219
|
+
get {_newTestFirmwareVersionAvailable ?? false}
|
|
1216
1220
|
set {_newTestFirmwareVersionAvailable = newValue}
|
|
1217
1221
|
}
|
|
1218
1222
|
/// Returns true if `newTestFirmwareVersionAvailable` has been explicitly set.
|
|
1219
|
-
public var hasNewTestFirmwareVersionAvailable: Bool {
|
|
1223
|
+
public var hasNewTestFirmwareVersionAvailable: Bool {self._newTestFirmwareVersionAvailable != nil}
|
|
1220
1224
|
/// Clears the value of `newTestFirmwareVersionAvailable`. Subsequent reads from it will return its default value.
|
|
1221
1225
|
public mutating func clearNewTestFirmwareVersionAvailable() {self._newTestFirmwareVersionAvailable = nil}
|
|
1222
1226
|
|
|
1223
1227
|
public var newConfigurationAvailable: Bool {
|
|
1224
|
-
get {
|
|
1228
|
+
get {_newConfigurationAvailable ?? false}
|
|
1225
1229
|
set {_newConfigurationAvailable = newValue}
|
|
1226
1230
|
}
|
|
1227
1231
|
/// Returns true if `newConfigurationAvailable` has been explicitly set.
|
|
1228
|
-
public var hasNewConfigurationAvailable: Bool {
|
|
1232
|
+
public var hasNewConfigurationAvailable: Bool {self._newConfigurationAvailable != nil}
|
|
1229
1233
|
/// Clears the value of `newConfigurationAvailable`. Subsequent reads from it will return its default value.
|
|
1230
1234
|
public mutating func clearNewConfigurationAvailable() {self._newConfigurationAvailable = nil}
|
|
1231
1235
|
|
|
1232
1236
|
public var hardwareInfo: BlueHardwareInfo {
|
|
1233
|
-
get {
|
|
1237
|
+
get {_hardwareInfo ?? BlueHardwareInfo()}
|
|
1234
1238
|
set {_hardwareInfo = newValue}
|
|
1235
1239
|
}
|
|
1236
1240
|
/// Returns true if `hardwareInfo` has been explicitly set.
|
|
1237
|
-
public var hasHardwareInfo: Bool {
|
|
1241
|
+
public var hasHardwareInfo: Bool {self._hardwareInfo != nil}
|
|
1238
1242
|
/// Clears the value of `hardwareInfo`. Subsequent reads from it will return its default value.
|
|
1239
1243
|
public mutating func clearHardwareInfo() {self._hardwareInfo = nil}
|
|
1240
1244
|
|
|
@@ -1255,31 +1259,31 @@ public struct BlueRefreshOssSoIdentity: Sendable {
|
|
|
1255
1259
|
// methods supported on all messages.
|
|
1256
1260
|
|
|
1257
1261
|
public var identityID: String {
|
|
1258
|
-
get {
|
|
1262
|
+
get {_identityID ?? String()}
|
|
1259
1263
|
set {_identityID = newValue}
|
|
1260
1264
|
}
|
|
1261
1265
|
/// Returns true if `identityID` has been explicitly set.
|
|
1262
|
-
public var hasIdentityID: Bool {
|
|
1266
|
+
public var hasIdentityID: Bool {self._identityID != nil}
|
|
1263
1267
|
/// Clears the value of `identityID`. Subsequent reads from it will return its default value.
|
|
1264
1268
|
public mutating func clearIdentityID() {self._identityID = nil}
|
|
1265
1269
|
|
|
1266
1270
|
/// @TODO: Keep it until we have updated all places in both iOS and Android SDK.
|
|
1267
1271
|
/// This should be renamed to BlueRefreshOssSoIdentityStatus later on.
|
|
1268
1272
|
public var status: BlueRefreshOssSoCredentialStatus {
|
|
1269
|
-
get {
|
|
1273
|
+
get {_status ?? .succeeded}
|
|
1270
1274
|
set {_status = newValue}
|
|
1271
1275
|
}
|
|
1272
1276
|
/// Returns true if `status` has been explicitly set.
|
|
1273
|
-
public var hasStatus: Bool {
|
|
1277
|
+
public var hasStatus: Bool {self._status != nil}
|
|
1274
1278
|
/// Clears the value of `status`. Subsequent reads from it will return its default value.
|
|
1275
1279
|
public mutating func clearStatus() {self._status = nil}
|
|
1276
1280
|
|
|
1277
1281
|
public var configuration: BlueOssSoConfiguration {
|
|
1278
|
-
get {
|
|
1282
|
+
get {_configuration ?? BlueOssSoConfiguration()}
|
|
1279
1283
|
set {_configuration = newValue}
|
|
1280
1284
|
}
|
|
1281
1285
|
/// Returns true if `configuration` has been explicitly set.
|
|
1282
|
-
public var hasConfiguration: Bool {
|
|
1286
|
+
public var hasConfiguration: Bool {self._configuration != nil}
|
|
1283
1287
|
/// Clears the value of `configuration`. Subsequent reads from it will return its default value.
|
|
1284
1288
|
public mutating func clearConfiguration() {self._configuration = nil}
|
|
1285
1289
|
|
|
@@ -1310,29 +1314,29 @@ public struct BlueSynchronizeIdentity: Sendable {
|
|
|
1310
1314
|
// methods supported on all messages.
|
|
1311
1315
|
|
|
1312
1316
|
public var identityID: String {
|
|
1313
|
-
get {
|
|
1317
|
+
get {_identityID ?? String()}
|
|
1314
1318
|
set {_identityID = newValue}
|
|
1315
1319
|
}
|
|
1316
1320
|
/// Returns true if `identityID` has been explicitly set.
|
|
1317
|
-
public var hasIdentityID: Bool {
|
|
1321
|
+
public var hasIdentityID: Bool {self._identityID != nil}
|
|
1318
1322
|
/// Clears the value of `identityID`. Subsequent reads from it will return its default value.
|
|
1319
1323
|
public mutating func clearIdentityID() {self._identityID = nil}
|
|
1320
1324
|
|
|
1321
1325
|
public var returnCode: BlueReturnCode {
|
|
1322
|
-
get {
|
|
1326
|
+
get {_returnCode ?? .ok}
|
|
1323
1327
|
set {_returnCode = newValue}
|
|
1324
1328
|
}
|
|
1325
1329
|
/// Returns true if `returnCode` has been explicitly set.
|
|
1326
|
-
public var hasReturnCode: Bool {
|
|
1330
|
+
public var hasReturnCode: Bool {self._returnCode != nil}
|
|
1327
1331
|
/// Clears the value of `returnCode`. Subsequent reads from it will return its default value.
|
|
1328
1332
|
public mutating func clearReturnCode() {self._returnCode = nil}
|
|
1329
1333
|
|
|
1330
1334
|
public var errorDescription: String {
|
|
1331
|
-
get {
|
|
1335
|
+
get {_errorDescription ?? String()}
|
|
1332
1336
|
set {_errorDescription = newValue}
|
|
1333
1337
|
}
|
|
1334
1338
|
/// Returns true if `errorDescription` has been explicitly set.
|
|
1335
|
-
public var hasErrorDescription: Bool {
|
|
1339
|
+
public var hasErrorDescription: Bool {self._errorDescription != nil}
|
|
1336
1340
|
/// Clears the value of `errorDescription`. Subsequent reads from it will return its default value.
|
|
1337
1341
|
public mutating func clearErrorDescription() {self._errorDescription = nil}
|
|
1338
1342
|
|
|
@@ -1363,56 +1367,56 @@ public struct BlueLegacyProvisioningRequest: Sendable {
|
|
|
1363
1367
|
// methods supported on all messages.
|
|
1364
1368
|
|
|
1365
1369
|
public var deviceID: String {
|
|
1366
|
-
get {
|
|
1370
|
+
get {_deviceID ?? String()}
|
|
1367
1371
|
set {_deviceID = newValue}
|
|
1368
1372
|
}
|
|
1369
1373
|
/// Returns true if `deviceID` has been explicitly set.
|
|
1370
|
-
public var hasDeviceID: Bool {
|
|
1374
|
+
public var hasDeviceID: Bool {self._deviceID != nil}
|
|
1371
1375
|
/// Clears the value of `deviceID`. Subsequent reads from it will return its default value.
|
|
1372
1376
|
public mutating func clearDeviceID() {self._deviceID = nil}
|
|
1373
1377
|
|
|
1374
1378
|
public var soid: String {
|
|
1375
|
-
get {
|
|
1379
|
+
get {_soid ?? String()}
|
|
1376
1380
|
set {_soid = newValue}
|
|
1377
1381
|
}
|
|
1378
1382
|
/// Returns true if `soid` has been explicitly set.
|
|
1379
|
-
public var hasSoid: Bool {
|
|
1383
|
+
public var hasSoid: Bool {self._soid != nil}
|
|
1380
1384
|
/// Clears the value of `soid`. Subsequent reads from it will return its default value.
|
|
1381
1385
|
public mutating func clearSoid() {self._soid = nil}
|
|
1382
1386
|
|
|
1383
1387
|
public var vendor: String {
|
|
1384
|
-
get {
|
|
1388
|
+
get {_vendor ?? String()}
|
|
1385
1389
|
set {_vendor = newValue}
|
|
1386
1390
|
}
|
|
1387
1391
|
/// Returns true if `vendor` has been explicitly set.
|
|
1388
|
-
public var hasVendor: Bool {
|
|
1392
|
+
public var hasVendor: Bool {self._vendor != nil}
|
|
1389
1393
|
/// Clears the value of `vendor`. Subsequent reads from it will return its default value.
|
|
1390
1394
|
public mutating func clearVendor() {self._vendor = nil}
|
|
1391
1395
|
|
|
1392
1396
|
public var hardwareType: BlueHardwareType {
|
|
1393
|
-
get {
|
|
1397
|
+
get {_hardwareType ?? .unknownHardware}
|
|
1394
1398
|
set {_hardwareType = newValue}
|
|
1395
1399
|
}
|
|
1396
1400
|
/// Returns true if `hardwareType` has been explicitly set.
|
|
1397
|
-
public var hasHardwareType: Bool {
|
|
1401
|
+
public var hasHardwareType: Bool {self._hardwareType != nil}
|
|
1398
1402
|
/// Clears the value of `hardwareType`. Subsequent reads from it will return its default value.
|
|
1399
1403
|
public mutating func clearHardwareType() {self._hardwareType = nil}
|
|
1400
1404
|
|
|
1401
1405
|
public var hardwareVersion: UInt32 {
|
|
1402
|
-
get {
|
|
1406
|
+
get {_hardwareVersion ?? 0}
|
|
1403
1407
|
set {_hardwareVersion = newValue}
|
|
1404
1408
|
}
|
|
1405
1409
|
/// Returns true if `hardwareVersion` has been explicitly set.
|
|
1406
|
-
public var hasHardwareVersion: Bool {
|
|
1410
|
+
public var hasHardwareVersion: Bool {self._hardwareVersion != nil}
|
|
1407
1411
|
/// Clears the value of `hardwareVersion`. Subsequent reads from it will return its default value.
|
|
1408
1412
|
public mutating func clearHardwareVersion() {self._hardwareVersion = nil}
|
|
1409
1413
|
|
|
1410
1414
|
public var hardwareSerialNumber: String {
|
|
1411
|
-
get {
|
|
1415
|
+
get {_hardwareSerialNumber ?? String()}
|
|
1412
1416
|
set {_hardwareSerialNumber = newValue}
|
|
1413
1417
|
}
|
|
1414
1418
|
/// Returns true if `hardwareSerialNumber` has been explicitly set.
|
|
1415
|
-
public var hasHardwareSerialNumber: Bool {
|
|
1419
|
+
public var hasHardwareSerialNumber: Bool {self._hardwareSerialNumber != nil}
|
|
1416
1420
|
/// Clears the value of `hardwareSerialNumber`. Subsequent reads from it will return its default value.
|
|
1417
1421
|
public mutating func clearHardwareSerialNumber() {self._hardwareSerialNumber = nil}
|
|
1418
1422
|
|
|
@@ -1434,38 +1438,38 @@ public struct BlueLegacyProvisioningResponse: Sendable {
|
|
|
1434
1438
|
// methods supported on all messages.
|
|
1435
1439
|
|
|
1436
1440
|
public var deviceID: String {
|
|
1437
|
-
get {
|
|
1441
|
+
get {_deviceID ?? String()}
|
|
1438
1442
|
set {_deviceID = newValue}
|
|
1439
1443
|
}
|
|
1440
1444
|
/// Returns true if `deviceID` has been explicitly set.
|
|
1441
|
-
public var hasDeviceID: Bool {
|
|
1445
|
+
public var hasDeviceID: Bool {self._deviceID != nil}
|
|
1442
1446
|
/// Clears the value of `deviceID`. Subsequent reads from it will return its default value.
|
|
1443
1447
|
public mutating func clearDeviceID() {self._deviceID = nil}
|
|
1444
1448
|
|
|
1445
1449
|
public var objectID: String {
|
|
1446
|
-
get {
|
|
1450
|
+
get {_objectID ?? String()}
|
|
1447
1451
|
set {_objectID = newValue}
|
|
1448
1452
|
}
|
|
1449
1453
|
/// Returns true if `objectID` has been explicitly set.
|
|
1450
|
-
public var hasObjectID: Bool {
|
|
1454
|
+
public var hasObjectID: Bool {self._objectID != nil}
|
|
1451
1455
|
/// Clears the value of `objectID`. Subsequent reads from it will return its default value.
|
|
1452
1456
|
public mutating func clearObjectID() {self._objectID = nil}
|
|
1453
1457
|
|
|
1454
1458
|
public var objectName: String {
|
|
1455
|
-
get {
|
|
1459
|
+
get {_objectName ?? String()}
|
|
1456
1460
|
set {_objectName = newValue}
|
|
1457
1461
|
}
|
|
1458
1462
|
/// Returns true if `objectName` has been explicitly set.
|
|
1459
|
-
public var hasObjectName: Bool {
|
|
1463
|
+
public var hasObjectName: Bool {self._objectName != nil}
|
|
1460
1464
|
/// Clears the value of `objectName`. Subsequent reads from it will return its default value.
|
|
1461
1465
|
public mutating func clearObjectName() {self._objectName = nil}
|
|
1462
1466
|
|
|
1463
1467
|
public var provisioning: BlueSystemProvisioning {
|
|
1464
|
-
get {
|
|
1468
|
+
get {_provisioning ?? BlueSystemProvisioning()}
|
|
1465
1469
|
set {_provisioning = newValue}
|
|
1466
1470
|
}
|
|
1467
1471
|
/// Returns true if `provisioning` has been explicitly set.
|
|
1468
|
-
public var hasProvisioning: Bool {
|
|
1472
|
+
public var hasProvisioning: Bool {self._provisioning != nil}
|
|
1469
1473
|
/// Clears the value of `provisioning`. Subsequent reads from it will return its default value.
|
|
1470
1474
|
public mutating func clearProvisioning() {self._provisioning = nil}
|
|
1471
1475
|
|
|
@@ -1485,20 +1489,20 @@ public struct BlueRefreshTransponderResultItem: Sendable {
|
|
|
1485
1489
|
// methods supported on all messages.
|
|
1486
1490
|
|
|
1487
1491
|
public var credentialID: BlueCredentialId {
|
|
1488
|
-
get {
|
|
1492
|
+
get {_credentialID ?? BlueCredentialId()}
|
|
1489
1493
|
set {_credentialID = newValue}
|
|
1490
1494
|
}
|
|
1491
1495
|
/// Returns true if `credentialID` has been explicitly set.
|
|
1492
|
-
public var hasCredentialID: Bool {
|
|
1496
|
+
public var hasCredentialID: Bool {self._credentialID != nil}
|
|
1493
1497
|
/// Clears the value of `credentialID`. Subsequent reads from it will return its default value.
|
|
1494
1498
|
public mutating func clearCredentialID() {self._credentialID = nil}
|
|
1495
1499
|
|
|
1496
1500
|
public var error: String {
|
|
1497
|
-
get {
|
|
1501
|
+
get {_error ?? String()}
|
|
1498
1502
|
set {_error = newValue}
|
|
1499
1503
|
}
|
|
1500
1504
|
/// Returns true if `error` has been explicitly set.
|
|
1501
|
-
public var hasError: Bool {
|
|
1505
|
+
public var hasError: Bool {self._error != nil}
|
|
1502
1506
|
/// Clears the value of `error`. Subsequent reads from it will return its default value.
|
|
1503
1507
|
public mutating func clearError() {self._error = nil}
|
|
1504
1508
|
|
|
@@ -1533,119 +1537,119 @@ public struct BlueAccessCredential: @unchecked Sendable {
|
|
|
1533
1537
|
// methods supported on all messages.
|
|
1534
1538
|
|
|
1535
1539
|
public var credentialID: BlueCredentialId {
|
|
1536
|
-
get {
|
|
1540
|
+
get {_storage._credentialID ?? BlueCredentialId()}
|
|
1537
1541
|
set {_uniqueStorage()._credentialID = newValue}
|
|
1538
1542
|
}
|
|
1539
1543
|
/// Returns true if `credentialID` has been explicitly set.
|
|
1540
|
-
public var hasCredentialID: Bool {
|
|
1544
|
+
public var hasCredentialID: Bool {_storage._credentialID != nil}
|
|
1541
1545
|
/// Clears the value of `credentialID`. Subsequent reads from it will return its default value.
|
|
1542
1546
|
public mutating func clearCredentialID() {_uniqueStorage()._credentialID = nil}
|
|
1543
1547
|
|
|
1544
1548
|
public var credentialType: BlueCredentialType {
|
|
1545
|
-
get {
|
|
1549
|
+
get {_storage._credentialType ?? .regular}
|
|
1546
1550
|
set {_uniqueStorage()._credentialType = newValue}
|
|
1547
1551
|
}
|
|
1548
1552
|
/// Returns true if `credentialType` has been explicitly set.
|
|
1549
|
-
public var hasCredentialType: Bool {
|
|
1553
|
+
public var hasCredentialType: Bool {_storage._credentialType != nil}
|
|
1550
1554
|
/// Clears the value of `credentialType`. Subsequent reads from it will return its default value.
|
|
1551
1555
|
public mutating func clearCredentialType() {_uniqueStorage()._credentialType = nil}
|
|
1552
1556
|
|
|
1553
1557
|
public var name: String {
|
|
1554
|
-
get {
|
|
1558
|
+
get {_storage._name ?? String()}
|
|
1555
1559
|
set {_uniqueStorage()._name = newValue}
|
|
1556
1560
|
}
|
|
1557
1561
|
/// Returns true if `name` has been explicitly set.
|
|
1558
|
-
public var hasName: Bool {
|
|
1562
|
+
public var hasName: Bool {_storage._name != nil}
|
|
1559
1563
|
/// Clears the value of `name`. Subsequent reads from it will return its default value.
|
|
1560
1564
|
public mutating func clearName() {_uniqueStorage()._name = nil}
|
|
1561
1565
|
|
|
1562
1566
|
public var description_p: String {
|
|
1563
|
-
get {
|
|
1567
|
+
get {_storage._description_p ?? String()}
|
|
1564
1568
|
set {_uniqueStorage()._description_p = newValue}
|
|
1565
1569
|
}
|
|
1566
1570
|
/// Returns true if `description_p` has been explicitly set.
|
|
1567
|
-
public var hasDescription_p: Bool {
|
|
1571
|
+
public var hasDescription_p: Bool {_storage._description_p != nil}
|
|
1568
1572
|
/// Clears the value of `description_p`. Subsequent reads from it will return its default value.
|
|
1569
1573
|
public mutating func clearDescription_p() {_uniqueStorage()._description_p = nil}
|
|
1570
1574
|
|
|
1571
1575
|
public var siteID: Int32 {
|
|
1572
|
-
get {
|
|
1576
|
+
get {_storage._siteID ?? 0}
|
|
1573
1577
|
set {_uniqueStorage()._siteID = newValue}
|
|
1574
1578
|
}
|
|
1575
1579
|
/// Returns true if `siteID` has been explicitly set.
|
|
1576
|
-
public var hasSiteID: Bool {
|
|
1580
|
+
public var hasSiteID: Bool {_storage._siteID != nil}
|
|
1577
1581
|
/// Clears the value of `siteID`. Subsequent reads from it will return its default value.
|
|
1578
1582
|
public mutating func clearSiteID() {_uniqueStorage()._siteID = nil}
|
|
1579
1583
|
|
|
1580
1584
|
public var siteName: String {
|
|
1581
|
-
get {
|
|
1585
|
+
get {_storage._siteName ?? String()}
|
|
1582
1586
|
set {_uniqueStorage()._siteName = newValue}
|
|
1583
1587
|
}
|
|
1584
1588
|
/// Returns true if `siteName` has been explicitly set.
|
|
1585
|
-
public var hasSiteName: Bool {
|
|
1589
|
+
public var hasSiteName: Bool {_storage._siteName != nil}
|
|
1586
1590
|
/// Clears the value of `siteName`. Subsequent reads from it will return its default value.
|
|
1587
1591
|
public mutating func clearSiteName() {_uniqueStorage()._siteName = nil}
|
|
1588
1592
|
|
|
1589
1593
|
public var validFrom: BlueLocalTimestamp {
|
|
1590
|
-
get {
|
|
1594
|
+
get {_storage._validFrom ?? BlueLocalTimestamp()}
|
|
1591
1595
|
set {_uniqueStorage()._validFrom = newValue}
|
|
1592
1596
|
}
|
|
1593
1597
|
/// Returns true if `validFrom` has been explicitly set.
|
|
1594
|
-
public var hasValidFrom: Bool {
|
|
1598
|
+
public var hasValidFrom: Bool {_storage._validFrom != nil}
|
|
1595
1599
|
/// Clears the value of `validFrom`. Subsequent reads from it will return its default value.
|
|
1596
1600
|
public mutating func clearValidFrom() {_uniqueStorage()._validFrom = nil}
|
|
1597
1601
|
|
|
1598
1602
|
public var validTo: BlueLocalTimestamp {
|
|
1599
|
-
get {
|
|
1603
|
+
get {_storage._validTo ?? BlueLocalTimestamp()}
|
|
1600
1604
|
set {_uniqueStorage()._validTo = newValue}
|
|
1601
1605
|
}
|
|
1602
1606
|
/// Returns true if `validTo` has been explicitly set.
|
|
1603
|
-
public var hasValidTo: Bool {
|
|
1607
|
+
public var hasValidTo: Bool {_storage._validTo != nil}
|
|
1604
1608
|
/// Clears the value of `validTo`. Subsequent reads from it will return its default value.
|
|
1605
1609
|
public mutating func clearValidTo() {_uniqueStorage()._validTo = nil}
|
|
1606
1610
|
|
|
1607
1611
|
public var validity: BlueLocalTimestamp {
|
|
1608
|
-
get {
|
|
1612
|
+
get {_storage._validity ?? BlueLocalTimestamp()}
|
|
1609
1613
|
set {_uniqueStorage()._validity = newValue}
|
|
1610
1614
|
}
|
|
1611
1615
|
/// Returns true if `validity` has been explicitly set.
|
|
1612
|
-
public var hasValidity: Bool {
|
|
1616
|
+
public var hasValidity: Bool {_storage._validity != nil}
|
|
1613
1617
|
/// Clears the value of `validity`. Subsequent reads from it will return its default value.
|
|
1614
1618
|
public mutating func clearValidity() {_uniqueStorage()._validity = nil}
|
|
1615
1619
|
|
|
1616
1620
|
public var privateKey: Data {
|
|
1617
|
-
get {
|
|
1621
|
+
get {_storage._privateKey ?? Data()}
|
|
1618
1622
|
set {_uniqueStorage()._privateKey = newValue}
|
|
1619
1623
|
}
|
|
1620
1624
|
/// Returns true if `privateKey` has been explicitly set.
|
|
1621
|
-
public var hasPrivateKey: Bool {
|
|
1625
|
+
public var hasPrivateKey: Bool {_storage._privateKey != nil}
|
|
1622
1626
|
/// Clears the value of `privateKey`. Subsequent reads from it will return its default value.
|
|
1623
1627
|
public mutating func clearPrivateKey() {_uniqueStorage()._privateKey = nil}
|
|
1624
1628
|
|
|
1625
1629
|
public var receiverName: String {
|
|
1626
|
-
get {
|
|
1630
|
+
get {_storage._receiverName ?? String()}
|
|
1627
1631
|
set {_uniqueStorage()._receiverName = newValue}
|
|
1628
1632
|
}
|
|
1629
1633
|
/// Returns true if `receiverName` has been explicitly set.
|
|
1630
|
-
public var hasReceiverName: Bool {
|
|
1634
|
+
public var hasReceiverName: Bool {_storage._receiverName != nil}
|
|
1631
1635
|
/// Clears the value of `receiverName`. Subsequent reads from it will return its default value.
|
|
1632
1636
|
public mutating func clearReceiverName() {_uniqueStorage()._receiverName = nil}
|
|
1633
1637
|
|
|
1634
1638
|
public var organisation: String {
|
|
1635
|
-
get {
|
|
1639
|
+
get {_storage._organisation ?? String()}
|
|
1636
1640
|
set {_uniqueStorage()._organisation = newValue}
|
|
1637
1641
|
}
|
|
1638
1642
|
/// Returns true if `organisation` has been explicitly set.
|
|
1639
|
-
public var hasOrganisation: Bool {
|
|
1643
|
+
public var hasOrganisation: Bool {_storage._organisation != nil}
|
|
1640
1644
|
/// Clears the value of `organisation`. Subsequent reads from it will return its default value.
|
|
1641
1645
|
public mutating func clearOrganisation() {_uniqueStorage()._organisation = nil}
|
|
1642
1646
|
|
|
1643
1647
|
public var organisationName: String {
|
|
1644
|
-
get {
|
|
1648
|
+
get {_storage._organisationName ?? String()}
|
|
1645
1649
|
set {_uniqueStorage()._organisationName = newValue}
|
|
1646
1650
|
}
|
|
1647
1651
|
/// Returns true if `organisationName` has been explicitly set.
|
|
1648
|
-
public var hasOrganisationName: Bool {
|
|
1652
|
+
public var hasOrganisationName: Bool {_storage._organisationName != nil}
|
|
1649
1653
|
/// Clears the value of `organisationName`. Subsequent reads from it will return its default value.
|
|
1650
1654
|
public mutating func clearOrganisationName() {_uniqueStorage()._organisationName = nil}
|
|
1651
1655
|
|
|
@@ -1674,29 +1678,29 @@ public struct BlueRefreshOssSoCredential: Sendable {
|
|
|
1674
1678
|
// methods supported on all messages.
|
|
1675
1679
|
|
|
1676
1680
|
public var credentialID: BlueCredentialId {
|
|
1677
|
-
get {
|
|
1681
|
+
get {_credentialID ?? BlueCredentialId()}
|
|
1678
1682
|
set {_credentialID = newValue}
|
|
1679
1683
|
}
|
|
1680
1684
|
/// Returns true if `credentialID` has been explicitly set.
|
|
1681
|
-
public var hasCredentialID: Bool {
|
|
1685
|
+
public var hasCredentialID: Bool {self._credentialID != nil}
|
|
1682
1686
|
/// Clears the value of `credentialID`. Subsequent reads from it will return its default value.
|
|
1683
1687
|
public mutating func clearCredentialID() {self._credentialID = nil}
|
|
1684
1688
|
|
|
1685
1689
|
public var status: BlueRefreshOssSoCredentialStatus {
|
|
1686
|
-
get {
|
|
1690
|
+
get {_status ?? .succeeded}
|
|
1687
1691
|
set {_status = newValue}
|
|
1688
1692
|
}
|
|
1689
1693
|
/// Returns true if `status` has been explicitly set.
|
|
1690
|
-
public var hasStatus: Bool {
|
|
1694
|
+
public var hasStatus: Bool {self._status != nil}
|
|
1691
1695
|
/// Clears the value of `status`. Subsequent reads from it will return its default value.
|
|
1692
1696
|
public mutating func clearStatus() {self._status = nil}
|
|
1693
1697
|
|
|
1694
1698
|
public var configuration: BlueOssSoConfiguration {
|
|
1695
|
-
get {
|
|
1699
|
+
get {_configuration ?? BlueOssSoConfiguration()}
|
|
1696
1700
|
set {_configuration = newValue}
|
|
1697
1701
|
}
|
|
1698
1702
|
/// Returns true if `configuration` has been explicitly set.
|
|
1699
|
-
public var hasConfiguration: Bool {
|
|
1703
|
+
public var hasConfiguration: Bool {self._configuration != nil}
|
|
1700
1704
|
/// Clears the value of `configuration`. Subsequent reads from it will return its default value.
|
|
1701
1705
|
public mutating func clearConfiguration() {self._configuration = nil}
|
|
1702
1706
|
|
|
@@ -1727,29 +1731,29 @@ public struct BlueSynchronizeAccessCredential: Sendable {
|
|
|
1727
1731
|
// methods supported on all messages.
|
|
1728
1732
|
|
|
1729
1733
|
public var credentialID: BlueCredentialId {
|
|
1730
|
-
get {
|
|
1734
|
+
get {_credentialID ?? BlueCredentialId()}
|
|
1731
1735
|
set {_credentialID = newValue}
|
|
1732
1736
|
}
|
|
1733
1737
|
/// Returns true if `credentialID` has been explicitly set.
|
|
1734
|
-
public var hasCredentialID: Bool {
|
|
1738
|
+
public var hasCredentialID: Bool {self._credentialID != nil}
|
|
1735
1739
|
/// Clears the value of `credentialID`. Subsequent reads from it will return its default value.
|
|
1736
1740
|
public mutating func clearCredentialID() {self._credentialID = nil}
|
|
1737
1741
|
|
|
1738
1742
|
public var returnCode: BlueReturnCode {
|
|
1739
|
-
get {
|
|
1743
|
+
get {_returnCode ?? .ok}
|
|
1740
1744
|
set {_returnCode = newValue}
|
|
1741
1745
|
}
|
|
1742
1746
|
/// Returns true if `returnCode` has been explicitly set.
|
|
1743
|
-
public var hasReturnCode: Bool {
|
|
1747
|
+
public var hasReturnCode: Bool {self._returnCode != nil}
|
|
1744
1748
|
/// Clears the value of `returnCode`. Subsequent reads from it will return its default value.
|
|
1745
1749
|
public mutating func clearReturnCode() {self._returnCode = nil}
|
|
1746
1750
|
|
|
1747
1751
|
public var errorDescription: String {
|
|
1748
|
-
get {
|
|
1752
|
+
get {_errorDescription ?? String()}
|
|
1749
1753
|
set {_errorDescription = newValue}
|
|
1750
1754
|
}
|
|
1751
1755
|
/// Returns true if `errorDescription` has been explicitly set.
|
|
1752
|
-
public var hasErrorDescription: Bool {
|
|
1756
|
+
public var hasErrorDescription: Bool {self._errorDescription != nil}
|
|
1753
1757
|
/// Clears the value of `errorDescription`. Subsequent reads from it will return its default value.
|
|
1754
1758
|
public mutating func clearErrorDescription() {self._errorDescription = nil}
|
|
1755
1759
|
|