Protocol: regenerate cron Swift models

This commit is contained in:
Vignesh Natarajan
2026-02-16 14:49:52 -08:00
committed by Peter Steinberger
parent a258503590
commit a7c25f203a
2 changed files with 16 additions and 0 deletions

View File

@@ -2084,6 +2084,7 @@ public struct SkillsUpdateParams: Codable, Sendable {
public struct CronJob: Codable, Sendable {
public let id: String
public let agentid: String?
public let sessionkey: String?
public let name: String
public let description: String?
public let enabled: Bool
@@ -2100,6 +2101,7 @@ public struct CronJob: Codable, Sendable {
public init(
id: String,
agentid: String?,
sessionkey: String?,
name: String,
description: String?,
enabled: Bool,
@@ -2115,6 +2117,7 @@ public struct CronJob: Codable, Sendable {
) {
self.id = id
self.agentid = agentid
self.sessionkey = sessionkey
self.name = name
self.description = description
self.enabled = enabled
@@ -2131,6 +2134,7 @@ public struct CronJob: Codable, Sendable {
private enum CodingKeys: String, CodingKey {
case id
case agentid = "agentId"
case sessionkey = "sessionKey"
case name
case description
case enabled
@@ -2165,6 +2169,7 @@ public struct CronStatusParams: Codable, Sendable {
public struct CronAddParams: Codable, Sendable {
public let name: String
public let agentid: AnyCodable?
public let sessionkey: AnyCodable?
public let description: String?
public let enabled: Bool?
public let deleteafterrun: Bool?
@@ -2177,6 +2182,7 @@ public struct CronAddParams: Codable, Sendable {
public init(
name: String,
agentid: AnyCodable?,
sessionkey: AnyCodable?,
description: String?,
enabled: Bool?,
deleteafterrun: Bool?,
@@ -2188,6 +2194,7 @@ public struct CronAddParams: Codable, Sendable {
) {
self.name = name
self.agentid = agentid
self.sessionkey = sessionkey
self.description = description
self.enabled = enabled
self.deleteafterrun = deleteafterrun
@@ -2200,6 +2207,7 @@ public struct CronAddParams: Codable, Sendable {
private enum CodingKeys: String, CodingKey {
case name
case agentid = "agentId"
case sessionkey = "sessionKey"
case description
case enabled
case deleteafterrun = "deleteAfterRun"

View File

@@ -2084,6 +2084,7 @@ public struct SkillsUpdateParams: Codable, Sendable {
public struct CronJob: Codable, Sendable {
public let id: String
public let agentid: String?
public let sessionkey: String?
public let name: String
public let description: String?
public let enabled: Bool
@@ -2100,6 +2101,7 @@ public struct CronJob: Codable, Sendable {
public init(
id: String,
agentid: String?,
sessionkey: String?,
name: String,
description: String?,
enabled: Bool,
@@ -2115,6 +2117,7 @@ public struct CronJob: Codable, Sendable {
) {
self.id = id
self.agentid = agentid
self.sessionkey = sessionkey
self.name = name
self.description = description
self.enabled = enabled
@@ -2131,6 +2134,7 @@ public struct CronJob: Codable, Sendable {
private enum CodingKeys: String, CodingKey {
case id
case agentid = "agentId"
case sessionkey = "sessionKey"
case name
case description
case enabled
@@ -2165,6 +2169,7 @@ public struct CronStatusParams: Codable, Sendable {
public struct CronAddParams: Codable, Sendable {
public let name: String
public let agentid: AnyCodable?
public let sessionkey: AnyCodable?
public let description: String?
public let enabled: Bool?
public let deleteafterrun: Bool?
@@ -2177,6 +2182,7 @@ public struct CronAddParams: Codable, Sendable {
public init(
name: String,
agentid: AnyCodable?,
sessionkey: AnyCodable?,
description: String?,
enabled: Bool?,
deleteafterrun: Bool?,
@@ -2188,6 +2194,7 @@ public struct CronAddParams: Codable, Sendable {
) {
self.name = name
self.agentid = agentid
self.sessionkey = sessionkey
self.description = description
self.enabled = enabled
self.deleteafterrun = deleteafterrun
@@ -2200,6 +2207,7 @@ public struct CronAddParams: Codable, Sendable {
private enum CodingKeys: String, CodingKey {
case name
case agentid = "agentId"
case sessionkey = "sessionKey"
case description
case enabled
case deleteafterrun = "deleteAfterRun"