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