📋 Add kind property to SearchResult

This commit is contained in:
Ben Chatelain 2021-09-30 21:31:34 -06:00
parent 073ff08b87
commit 75d6d39bd3

View file

@ -10,6 +10,7 @@ struct SearchResult: Decodable {
var bundleId: String
var currentVersionReleaseDate: String
var fileSizeBytes: String?
var kind: String
var minimumOsVersion: String
var price: Double?
var sellerName: String
@ -23,6 +24,7 @@ struct SearchResult: Decodable {
bundleId: String = "",
currentVersionReleaseDate: String = "",
fileSizeBytes: String = "0",
kind: String = "",
minimumOsVersion: String = "",
price: Double = 0.0,
sellerName: String = "",
@ -35,6 +37,7 @@ struct SearchResult: Decodable {
self.bundleId = bundleId
self.currentVersionReleaseDate = currentVersionReleaseDate
self.fileSizeBytes = fileSizeBytes
self.kind = kind
self.minimumOsVersion = minimumOsVersion
self.price = price
self.sellerName = sellerName