mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
33 lines
673 B
Swift
33 lines
673 B
Swift
//
|
|
// EncodeRecipeResponse.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
#if canImport(AnyCodable)
|
|
import AnyCodable
|
|
#endif
|
|
|
|
public struct EncodeRecipeResponse: Codable, JSONEncodable, Hashable {
|
|
|
|
public var deeplink: String
|
|
|
|
public init(deeplink: String) {
|
|
self.deeplink = deeplink
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case deeplink
|
|
}
|
|
|
|
// Encodable protocol methods
|
|
|
|
public func encode(to encoder: Encoder) throws {
|
|
var container = encoder.container(keyedBy: CodingKeys.self)
|
|
try container.encode(deeplink, forKey: .deeplink)
|
|
}
|
|
}
|
|
|