yattee/Model/Thumbnail.swift
2021-07-08 00:54:35 +02:00

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!
}
}