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