fix: regenerate protocol models

This commit is contained in:
Peter Steinberger
2026-01-25 00:57:42 +00:00
parent 25f2d2adb3
commit 0163f53f5d
2 changed files with 26 additions and 2 deletions

View File

@@ -1167,17 +1167,29 @@ public struct ConfigApplyParams: Codable, Sendable {
public struct ConfigPatchParams: Codable, Sendable { public struct ConfigPatchParams: Codable, Sendable {
public let raw: String public let raw: String
public let basehash: String? public let basehash: String?
public let sessionkey: String?
public let note: String?
public let restartdelayms: Int?
public init( public init(
raw: String, raw: String,
basehash: String? basehash: String?,
sessionkey: String?,
note: String?,
restartdelayms: Int?
) { ) {
self.raw = raw self.raw = raw
self.basehash = basehash self.basehash = basehash
self.sessionkey = sessionkey
self.note = note
self.restartdelayms = restartdelayms
} }
private enum CodingKeys: String, CodingKey { private enum CodingKeys: String, CodingKey {
case raw case raw
case basehash = "baseHash" case basehash = "baseHash"
case sessionkey = "sessionKey"
case note
case restartdelayms = "restartDelayMs"
} }
} }

View File

@@ -1167,17 +1167,29 @@ public struct ConfigApplyParams: Codable, Sendable {
public struct ConfigPatchParams: Codable, Sendable { public struct ConfigPatchParams: Codable, Sendable {
public let raw: String public let raw: String
public let basehash: String? public let basehash: String?
public let sessionkey: String?
public let note: String?
public let restartdelayms: Int?
public init( public init(
raw: String, raw: String,
basehash: String? basehash: String?,
sessionkey: String?,
note: String?,
restartdelayms: Int?
) { ) {
self.raw = raw self.raw = raw
self.basehash = basehash self.basehash = basehash
self.sessionkey = sessionkey
self.note = note
self.restartdelayms = restartdelayms
} }
private enum CodingKeys: String, CodingKey { private enum CodingKeys: String, CodingKey {
case raw case raw
case basehash = "baseHash" case basehash = "baseHash"
case sessionkey = "sessionKey"
case note
case restartdelayms = "restartDelayMs"
} }
} }