Uhhh... the documentation is shit; still lost

This commit is contained in:
cdricms
2023-12-26 17:29:03 +01:00
parent 40e796c8a8
commit 11789ecdbe
2 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
public struct SearchResponse: Codable, ObjectDebugger {
public var count: Int
public var page: Int
public var pageCount: Int
public var pageSize: Int
public var products: [Product]?
public var skip: Int
private enum CodingKeys: String, CodingKey {
case count, page, products, skip
case pageCount = "page_count"
case pageSize = "page_size"
}
}