TwitterAPIDataIncludesAndMeta - daneden/Twift GitHub Wiki
TwitterAPIDataIncludesAndMeta
A response object from the Twitter API containing the requested object(s) in the data
property, expansions in the includes
property, and additional information (such as pagination tokens) in the meta
property
public struct TwitterAPIDataIncludesAndMeta<Resource: Codable, Includes: Codable, Meta: Codable>: Codable
Inheritance
Codable
Properties
data
The requested object(s)
public let data: Resource
includes
Any requested expansions
public let includes: Includes?
meta
The meta information for the request, including pagination information
public let meta: Meta?
errors
Any errors associated with the request
public let errors: [TwitterAPIError]?