SyncSpace
public final class SyncSpace : Decodable
A container for the synchronized state of a Space
-
The url parameters relevant for the next sync operation that this
SyncSpace
can perform.Declaration
Swift
public var parameters: [String : String] { get }
-
The entity types in Contentful that a sync can be restricted to.
See moreDeclaration
Swift
public enum SyncableTypes
-
An array of identifiers for assets that were deleted after the last sync operations.
Declaration
Swift
public var deletedAssetIds: [String]
-
An array of identifiers for entries that were deleted after the last sync operations.
Declaration
Swift
public var deletedEntryIds: [String]
-
Undocumented
Declaration
Swift
public internal(set) var hasMorePages: Bool { get }
-
A token which needs to be present to perform a subsequent synchronization operation
Declaration
Swift
public internal(set) var syncToken: String { get }
-
Number of entities per page in a sync operation. See documentation for details.
Declaration
Swift
public internal(set) var limit: Int? { get }
-
List of Assets currently published on the Space being synchronized
Declaration
Swift
public var assets: [Asset] { get }
-
List of Entries currently published on the Space being synchronized
Declaration
Swift
public var entries: [Entry] { get }
-
The sync token from a previous synchronization
Declaration
Swift
public init(syncToken: String = "", limit: Int? = nil)
Parameters
syncToken
The sync token from a previous synchronization.
-
Declaration
Swift
public required init(from decoder: Decoder) throws