This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Pizza: Codable { | |
let id: Int | |
let name, slug: String | |
let permalink: String | |
let dateCreated, dateCreatedGmt, dateModified, dateModifiedGmt: String | |
let type, status: String | |
let featured: Bool | |
let catalogVisibility, pizzaDescription, shortDescription, sku: String | |
let price, regularPrice, salePrice: String | |
let dateOnSaleFrom, dateOnSaleFromGmt, dateOnSaleTo, dateOnSaleToGmt: JSONNull? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
// MARK: - Chicken | |
struct Chicken: Codable { | |
let id: Int | |
let name, slug: String | |
let permalink: String | |
let dateCreated, dateCreatedGmt, dateModified, dateModifiedGmt: String | |
let type, status: String | |
let featured: Bool |