mirror of
https://github.com/hanzoai/swift-sdk.git
synced 2026-10-30 18:20:19 +00:00
The lock sat at 574d1f1d while the product moved on. The team surface stopped at rooms — no messages path, no way to open one — so anything built on this client had to reach past it with its own HTTP calls, which is the duplication a generated client exists to prevent.
41 lines
1.2 KiB
Swift
41 lines
1.2 KiB
Swift
//
|
|
// LinearClaimOut.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct LinearClaimOut: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
/** Name is the organization's URL key. */
|
|
public var name: String?
|
|
/** Organization is the Linear organization id now bound to this org. */
|
|
public var organization: String?
|
|
/** Path is the address to configure in Linear, on this deployment's origin. */
|
|
public var path: String?
|
|
|
|
public init(name: String? = nil, organization: String? = nil, path: String? = nil) {
|
|
self.name = name
|
|
self.organization = organization
|
|
self.path = path
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case name
|
|
case organization
|
|
case path
|
|
}
|
|
|
|
// Encodable protocol methods
|
|
|
|
public func encode(to encoder: Encoder) throws {
|
|
var container = encoder.container(keyedBy: CodingKeys.self)
|
|
try container.encodeIfPresent(name, forKey: .name)
|
|
try container.encodeIfPresent(organization, forKey: .organization)
|
|
try container.encodeIfPresent(path, forKey: .path)
|
|
}
|
|
}
|
|
|