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