14 lines
306 B
Swift
14 lines
306 B
Swift
import Foundation
|
|
|
|
public final class PagedResponse<T>: Decodable, Sendable where T: Decodable & Sendable {
|
|
public let count: Int?
|
|
public let pageToken: String?
|
|
public let items: [T]
|
|
|
|
public init() {
|
|
self.items = []
|
|
self.count = nil
|
|
self.pageToken = nil
|
|
}
|
|
}
|