ContentstackResponse
public final class ContentstackResponse<ItemType>: HomogeneousResponse, Decodable
where ItemType: EndpointAccessible & Decodable
This is the result of any request of collection from Contentstack.
-
The resources which are part of the array response.
Declaration
Swift
public var items: [ItemType]
-
The maximum number of resources originally requested.
Declaration
Swift
public var limit: UInt?
-
The number of elements skipped when performing the request.
Declaration
Swift
public var skip: UInt?
-
The total number of resources which matched the original request.
Declaration
Swift
public var count: UInt?
-
The dictionary of fields from the response that are included in API request.
Declaration
Swift
public var fields: [String : Any]?
-
Declaration
Swift
public init(from decoder: Decoder) throws