Files
zeekay 1df3ddf6bd Regenerate against the document the deployment answers for
The projection these were generated from predated the compute migration, so
they described /v1/visor — which the API serves at zero paths now.

No /v1/visor path survives here.
2026-09-05 18:55:38 -07:00

61 lines
2.4 KiB
Swift

//
// IssueEdit.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct IssueEdit: Sendable, Codable, ParameterConvertible, Hashable {
/** Assignee hands the work to somebody — a person or an agent, by the name they are known by on the forge. \"\" TAKES IT OFF whoever holds it, which is why this is a pointer: absent leaves the holder alone. It is the other half of `claim`, which that handler already named: a claim takes work for the CALLER and refuses to name anyone else, because giving work away is a different act with different authority. This is that act, and until it existed a board could only be worked by whoever clicked first — an agent could never be given anything. */
public var assignee: String?
/** Description rewrites the body. */
public var description: String?
/** Key is the board — the repository name, from the path. */
public var key: String?
/** Num is the issue number on that repository, from the path. */
public var num: Int64?
/** Priority re-prioritises it. */
public var priority: String?
/** Status moves the card to another column. */
public var status: String?
/** Title renames the work item. */
public var title: String?
public init(assignee: String? = nil, description: String? = nil, key: String? = nil, num: Int64? = nil, priority: String? = nil, status: String? = nil, title: String? = nil) {
self.assignee = assignee
self.description = description
self.key = key
self.num = num
self.priority = priority
self.status = status
self.title = title
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case assignee
case description
case key
case num
case priority
case status
case title
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(assignee, forKey: .assignee)
try container.encodeIfPresent(description, forKey: .description)
try container.encodeIfPresent(key, forKey: .key)
try container.encodeIfPresent(num, forKey: .num)
try container.encodeIfPresent(priority, forKey: .priority)
try container.encodeIfPresent(status, forKey: .status)
try container.encodeIfPresent(title, forKey: .title)
}
}