FlatResource
public protocol FlatResource
A protocol signifying that a resource’s Sys property are accessible for lookup from the top level of the instance.
-
The unique identifier of the Resource.
Declaration
Swift
var id: String { get } -
The date representing the last time the Contentful resource was updated.
Declaration
Swift
var updatedAt: Date? { get } -
The date that the Contentful resource was first created.
Declaration
Swift
var createdAt: Date? { get } -
The code of the locale the current resource contains content for.
Declaration
Swift
var localeCode: String? { get }
-
typeExtension methodUndocumented
Declaration
Swift
var type: String? { get }
View on GitHub
FlatResource Protocol Reference