Files
zeekay 0c2f028a8c Generate the Swift client, which this copy did not carry
The forge tree held the package scaffolding and none of the generated sources —
2,435 files of APIs, Models and Infrastructure, including BaseAPI, were simply
absent, so anything depending on this copy had a package that compiled to
nothing usable.

Generated from the current API document rather than reconciled with the other
copy: a client is a function of the spec, so regenerating answers "which history
wins" without anyone having to choose. .spec-lock records which document, so the
next reader can tell.
2026-08-23 10:04:41 -07:00

62 lines
2.1 KiB
Swift

//
// O11yAccount.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct O11yAccount: Sendable, Codable, ParameterConvertible, Hashable {
public var agentReport: O11yAgentReport?
public var config: O11yAccountConfig?
public var createdAt: Date?
public var id: JSONValue?
public var orgId: JSONValue?
public var provider: JSONValue?
public var providerAccountId: String?
public var removedAt: Date?
public var updatedAt: Date?
public init(agentReport: O11yAgentReport? = nil, config: O11yAccountConfig? = nil, createdAt: Date? = nil, id: JSONValue? = nil, orgId: JSONValue? = nil, provider: JSONValue? = nil, providerAccountId: String? = nil, removedAt: Date? = nil, updatedAt: Date? = nil) {
self.agentReport = agentReport
self.config = config
self.createdAt = createdAt
self.id = id
self.orgId = orgId
self.provider = provider
self.providerAccountId = providerAccountId
self.removedAt = removedAt
self.updatedAt = updatedAt
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case agentReport
case config
case createdAt
case id
case orgId
case provider
case providerAccountId
case removedAt
case updatedAt
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(agentReport, forKey: .agentReport)
try container.encodeIfPresent(config, forKey: .config)
try container.encodeIfPresent(createdAt, forKey: .createdAt)
try container.encodeIfPresent(id, forKey: .id)
try container.encodeIfPresent(orgId, forKey: .orgId)
try container.encodeIfPresent(provider, forKey: .provider)
try container.encodeIfPresent(providerAccountId, forKey: .providerAccountId)
try container.encodeIfPresent(removedAt, forKey: .removedAt)
try container.encodeIfPresent(updatedAt, forKey: .updatedAt)
}
}