Files
goose/api_clients/swift/GooseAPI/Classes/OpenAPIs/Models/ScanRecipeResponse.swift
2025-10-02 20:13:20 -04:00

33 lines
768 B
Swift

//
// ScanRecipeResponse.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
#if canImport(AnyCodable)
import AnyCodable
#endif
public struct ScanRecipeResponse: Codable, JSONEncodable, Hashable {
public var hasSecurityWarnings: Bool
public init(hasSecurityWarnings: Bool) {
self.hasSecurityWarnings = hasSecurityWarnings
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case hasSecurityWarnings = "has_security_warnings"
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encode(hasSecurityWarnings, forKey: .hasSecurityWarnings)
}
}