Response
public struct Response<T> : Decodable where T : Decodable
A general response object.
-
Response results of generic objects.
Declaration
Swift
public let results: [T]
-
A pagination option for the next page of objects.
Declaration
Swift
public internal(set) var next: Pagination? { get }
-
A duration of the response.
Declaration
Swift
public internal(set) var duration: String? { get }
-
A number of unseen notifications.
Declaration
Swift
public internal(set) var unseenCount: Int? { get }
-
A number of unread notifications.
Declaration
Swift
public internal(set) var unreadCount: Int? { get }