@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.
@@ -43,41 +43,41 @@ public struct BlueLockConfig: Sendable {
43
43
  /// If set to true then the lock opens by schedule only after it was first
44
44
  /// opened by an authenticated user and is within any of the open schedules
45
45
  public var openScheduleByUser: Bool {
46
- get {return _openScheduleByUser ?? false}
46
+ get {_openScheduleByUser ?? false}
47
47
  set {_openScheduleByUser = newValue}
48
48
  }
49
49
  /// Returns true if `openScheduleByUser` has been explicitly set.
50
- public var hasOpenScheduleByUser: Bool {return self._openScheduleByUser != nil}
50
+ public var hasOpenScheduleByUser: Bool {self._openScheduleByUser != nil}
51
51
  /// Clears the value of `openScheduleByUser`. Subsequent reads from it will return its default value.
52
52
  public mutating func clearOpenScheduleByUser() {self._openScheduleByUser = nil}
53
53
 
54
54
  /// If set keeps the lock closed on federal vacation days
55
55
  public var keepClosedOnHolidays: Bool {
56
- get {return _keepClosedOnHolidays ?? false}
56
+ get {_keepClosedOnHolidays ?? false}
57
57
  set {_keepClosedOnHolidays = newValue}
58
58
  }
59
59
  /// Returns true if `keepClosedOnHolidays` has been explicitly set.
60
- public var hasKeepClosedOnHolidays: Bool {return self._keepClosedOnHolidays != nil}
60
+ public var hasKeepClosedOnHolidays: Bool {self._keepClosedOnHolidays != nil}
61
61
  /// Clears the value of `keepClosedOnHolidays`. Subsequent reads from it will return its default value.
62
62
  public mutating func clearKeepClosedOnHolidays() {self._keepClosedOnHolidays = nil}
63
63
 
64
64
  /// Default time in seconds to keep the lock open
65
65
  public var defaultOpenTimeSec: UInt32 {
66
- get {return _defaultOpenTimeSec ?? 5}
66
+ get {_defaultOpenTimeSec ?? 5}
67
67
  set {_defaultOpenTimeSec = newValue}
68
68
  }
69
69
  /// Returns true if `defaultOpenTimeSec` has been explicitly set.
70
- public var hasDefaultOpenTimeSec: Bool {return self._defaultOpenTimeSec != nil}
70
+ public var hasDefaultOpenTimeSec: Bool {self._defaultOpenTimeSec != nil}
71
71
  /// Clears the value of `defaultOpenTimeSec`. Subsequent reads from it will return its default value.
72
72
  public mutating func clearDefaultOpenTimeSec() {self._defaultOpenTimeSec = nil}
73
73
 
74
74
  /// Extended time in seconds to keep the lock open
75
75
  public var extendedOpenTimeSec: UInt32 {
76
- get {return _extendedOpenTimeSec ?? 3600}
76
+ get {_extendedOpenTimeSec ?? 3600}
77
77
  set {_extendedOpenTimeSec = newValue}
78
78
  }
79
79
  /// Returns true if `extendedOpenTimeSec` has been explicitly set.
80
- public var hasExtendedOpenTimeSec: Bool {return self._extendedOpenTimeSec != nil}
80
+ public var hasExtendedOpenTimeSec: Bool {self._extendedOpenTimeSec != nil}
81
81
  /// Clears the value of `extendedOpenTimeSec`. Subsequent reads from it will return its default value.
82
82
  public mutating func clearExtendedOpenTimeSec() {self._extendedOpenTimeSec = nil}
83
83
 
@@ -97,20 +97,20 @@ public struct BlueLockStatus: Sendable {
97
97
  // methods supported on all messages.
98
98
 
99
99
  public var state: BlueLockState {
100
- get {return _state ?? .unknownLockState}
100
+ get {_state ?? .unknownLockState}
101
101
  set {_state = newValue}
102
102
  }
103
103
  /// Returns true if `state` has been explicitly set.
104
- public var hasState: Bool {return self._state != nil}
104
+ public var hasState: Bool {self._state != nil}
105
105
  /// Clears the value of `state`. Subsequent reads from it will return its default value.
106
106
  public mutating func clearState() {self._state = nil}
107
107
 
108
108
  public var openings: UInt32 {
109
- get {return _openings ?? 0}
109
+ get {_openings ?? 0}
110
110
  set {_openings = newValue}
111
111
  }
112
112
  /// Returns true if `openings` has been explicitly set.
113
- public var hasOpenings: Bool {return self._openings != nil}
113
+ public var hasOpenings: Bool {self._openings != nil}
114
114
  /// Clears the value of `openings`. Subsequent reads from it will return its default value.
115
115
  public mutating func clearOpenings() {self._openings = nil}
116
116