mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-05-19 08:48:16 +00:00
d1209e6704
Co-authored-by: Jim Dovey <jimdovey@apple.com>
16 lines
436 B
Swift
16 lines
436 B
Swift
import Foundation
|
|
|
|
public struct StatusTranslation: Decodable {
|
|
public let content: HTMLString
|
|
public let detectedSourceLanguage: String
|
|
public let provider: String
|
|
|
|
public init(content: String, detectedSourceLanguage: String, provider: String) {
|
|
self.content = .init(stringValue: content)
|
|
self.detectedSourceLanguage = detectedSourceLanguage
|
|
self.provider = provider
|
|
}
|
|
}
|
|
|
|
extension StatusTranslation: Sendable {}
|