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

77 lines
3.0 KiB
Swift

//
// O11yIntegration.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct O11yIntegration: Sendable, Codable, ParameterConvertible, Hashable {
public var assets: O11yIntegrationAssets?
public var author: O11yIntegrationAuthor?
public var categories: [String]?
public var configuration: [O11yIntegrationConfigStep]?
public var connectionTests: O11yIntegrationConnectionTests?
public var dataCollected: O11yDataCollectedForIntegration?
public var description: String?
public var icon: String?
public var id: String?
public var installation: O11yInstalledIntegration?
public var overview: String?
public var title: String?
public init(assets: O11yIntegrationAssets? = nil, author: O11yIntegrationAuthor? = nil, categories: [String]? = nil, configuration: [O11yIntegrationConfigStep]? = nil, connectionTests: O11yIntegrationConnectionTests? = nil, dataCollected: O11yDataCollectedForIntegration? = nil, description: String? = nil, icon: String? = nil, id: String? = nil, installation: O11yInstalledIntegration? = nil, overview: String? = nil, title: String? = nil) {
self.assets = assets
self.author = author
self.categories = categories
self.configuration = configuration
self.connectionTests = connectionTests
self.dataCollected = dataCollected
self.description = description
self.icon = icon
self.id = id
self.installation = installation
self.overview = overview
self.title = title
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case assets
case author
case categories
case configuration
case connectionTests = "connection_tests"
case dataCollected = "data_collected"
case description
case icon
case id
case installation
case overview
case title
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(assets, forKey: .assets)
try container.encodeIfPresent(author, forKey: .author)
try container.encodeIfPresent(categories, forKey: .categories)
try container.encodeIfPresent(configuration, forKey: .configuration)
try container.encodeIfPresent(connectionTests, forKey: .connectionTests)
try container.encodeIfPresent(dataCollected, forKey: .dataCollected)
try container.encodeIfPresent(description, forKey: .description)
try container.encodeIfPresent(icon, forKey: .icon)
try container.encodeIfPresent(id, forKey: .id)
try container.encodeIfPresent(installation, forKey: .installation)
try container.encodeIfPresent(overview, forKey: .overview)
try container.encodeIfPresent(title, forKey: .title)
}
}
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
extension O11yIntegration: Identifiable {}