TwitterAPIDataAndMeta - daneden/Twift GitHub Wiki

TwitterAPIDataAndMeta

The response object from the Twitter API containing the requested object(s) in the data property

public struct TwitterAPIDataAndMeta<Resource: Codable, Meta: Codable>: Codable 

Inheritance

Codable

Properties

data

The requested object(s)

public let data: Resource?

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]?