mirror of
https://github.com/yattee/yattee.git
synced 2024-12-13 22:00:31 +05:30
13 lines
204 B
Swift
13 lines
204 B
Swift
import Foundation
|
|
import SwiftyJSON
|
|
|
|
struct Thumbnail {
|
|
var url: URL
|
|
var quality: String
|
|
|
|
init(_ json: JSON) {
|
|
url = json["url"].url!
|
|
quality = json["quality"].string!
|
|
}
|
|
}
|