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

102 lines
5.1 KiB
Swift

//
// ConsoleSettings.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct ConsoleSettings: Sendable, Codable, ParameterConvertible, Hashable {
/** AppsInAnyNamespaceEnabled is false: applications are projected from operator App CRs in the platform namespaces, never declared in an arbitrary one. */
public var appsInAnyNamespaceEnabled: Bool?
public var dexConfig: ConsoleSettingsDexConfig?
/** ExecEnabled is false: this plane serves no container terminal. */
public var execEnabled: Bool?
public var googleAnalytics: ConsoleSettingsGoogleAnalytics?
public var help: ConsoleSettingsHelp?
/** HydratorEnabled is false: there is no manifest hydrator on this plane. */
public var hydratorEnabled: Bool?
/** KustomizeVersions is always empty: an App CR is an image pin, not a kustomize build. */
public var kustomizeVersions: [String]?
public var oidcConfig: JSONValue?
/** Plugins is always empty: this plane loads no argocd config-management plugins. */
public var plugins: [JSONValue]?
/** StatusBadgeEnabled is false: no badge endpoint is served. */
public var statusBadgeEnabled: Bool?
/** StatusBadgeRootUrl is always empty, for the same reason. */
public var statusBadgeRootUrl: String?
/** SyncWithReplaceAllowed is false: a sync here asks the operator to reconcile an App CR, and never replaces an object. */
public var syncWithReplaceAllowed: Bool?
/** UiBannerContent is always empty: this console shows no banner. */
public var uiBannerContent: String?
/** UiCssURL is always empty: no stylesheet is injected. */
public var uiCssURL: String?
/** Url is the console's public origin, https://cd.hanzo.ai. */
public var url: String?
/** UserLoginsDisabled is true: the SPA must not render its own username/password form. Signing in goes through IAM, at GET /v1/deploy/login. */
public var userLoginsDisabled: Bool?
public init(appsInAnyNamespaceEnabled: Bool? = nil, dexConfig: ConsoleSettingsDexConfig? = nil, execEnabled: Bool? = nil, googleAnalytics: ConsoleSettingsGoogleAnalytics? = nil, help: ConsoleSettingsHelp? = nil, hydratorEnabled: Bool? = nil, kustomizeVersions: [String]? = nil, oidcConfig: JSONValue? = nil, plugins: [JSONValue]? = nil, statusBadgeEnabled: Bool? = nil, statusBadgeRootUrl: String? = nil, syncWithReplaceAllowed: Bool? = nil, uiBannerContent: String? = nil, uiCssURL: String? = nil, url: String? = nil, userLoginsDisabled: Bool? = nil) {
self.appsInAnyNamespaceEnabled = appsInAnyNamespaceEnabled
self.dexConfig = dexConfig
self.execEnabled = execEnabled
self.googleAnalytics = googleAnalytics
self.help = help
self.hydratorEnabled = hydratorEnabled
self.kustomizeVersions = kustomizeVersions
self.oidcConfig = oidcConfig
self.plugins = plugins
self.statusBadgeEnabled = statusBadgeEnabled
self.statusBadgeRootUrl = statusBadgeRootUrl
self.syncWithReplaceAllowed = syncWithReplaceAllowed
self.uiBannerContent = uiBannerContent
self.uiCssURL = uiCssURL
self.url = url
self.userLoginsDisabled = userLoginsDisabled
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case appsInAnyNamespaceEnabled
case dexConfig
case execEnabled
case googleAnalytics
case help
case hydratorEnabled
case kustomizeVersions
case oidcConfig
case plugins
case statusBadgeEnabled
case statusBadgeRootUrl
case syncWithReplaceAllowed
case uiBannerContent
case uiCssURL
case url
case userLoginsDisabled
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(appsInAnyNamespaceEnabled, forKey: .appsInAnyNamespaceEnabled)
try container.encodeIfPresent(dexConfig, forKey: .dexConfig)
try container.encodeIfPresent(execEnabled, forKey: .execEnabled)
try container.encodeIfPresent(googleAnalytics, forKey: .googleAnalytics)
try container.encodeIfPresent(help, forKey: .help)
try container.encodeIfPresent(hydratorEnabled, forKey: .hydratorEnabled)
try container.encodeIfPresent(kustomizeVersions, forKey: .kustomizeVersions)
try container.encodeIfPresent(oidcConfig, forKey: .oidcConfig)
try container.encodeIfPresent(plugins, forKey: .plugins)
try container.encodeIfPresent(statusBadgeEnabled, forKey: .statusBadgeEnabled)
try container.encodeIfPresent(statusBadgeRootUrl, forKey: .statusBadgeRootUrl)
try container.encodeIfPresent(syncWithReplaceAllowed, forKey: .syncWithReplaceAllowed)
try container.encodeIfPresent(uiBannerContent, forKey: .uiBannerContent)
try container.encodeIfPresent(uiCssURL, forKey: .uiCssURL)
try container.encodeIfPresent(url, forKey: .url)
try container.encodeIfPresent(userLoginsDisabled, forKey: .userLoginsDisabled)
}
}