mirror of
https://github.com/hanzoai/swift-sdk.git
synced 2026-10-30 18:20:19 +00:00
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.
46 lines
1.4 KiB
Swift
46 lines
1.4 KiB
Swift
//
|
|
// IamThemeData.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct IamThemeData: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
public var borderRadius: Int64?
|
|
public var colorPrimary: String?
|
|
public var isCompact: Bool?
|
|
public var isEnabled: Bool?
|
|
public var themeType: String?
|
|
|
|
public init(borderRadius: Int64? = nil, colorPrimary: String? = nil, isCompact: Bool? = nil, isEnabled: Bool? = nil, themeType: String? = nil) {
|
|
self.borderRadius = borderRadius
|
|
self.colorPrimary = colorPrimary
|
|
self.isCompact = isCompact
|
|
self.isEnabled = isEnabled
|
|
self.themeType = themeType
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case borderRadius
|
|
case colorPrimary
|
|
case isCompact
|
|
case isEnabled
|
|
case themeType
|
|
}
|
|
|
|
// Encodable protocol methods
|
|
|
|
public func encode(to encoder: Encoder) throws {
|
|
var container = encoder.container(keyedBy: CodingKeys.self)
|
|
try container.encodeIfPresent(borderRadius, forKey: .borderRadius)
|
|
try container.encodeIfPresent(colorPrimary, forKey: .colorPrimary)
|
|
try container.encodeIfPresent(isCompact, forKey: .isCompact)
|
|
try container.encodeIfPresent(isEnabled, forKey: .isEnabled)
|
|
try container.encodeIfPresent(themeType, forKey: .themeType)
|
|
}
|
|
}
|
|
|