1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-13 05:40:32 +05:30
yattee/Model/Thumbnail.swift

13 lines
204 B
Swift
Raw Normal View History

2021-07-08 04:09:18 +05:30
import Foundation
import SwiftyJSON
struct Thumbnail {
var url: URL
var quality: String
init(_ json: JSON) {
url = json["url"].url!
quality = json["quality"].string!
}
}