SyncStack
public final class SyncStack : Decodable
extension SyncStack: EndpointAccessible
A container for the synchronized state of a Stack
-
You can use the
sync_token
later to perform subsequent sync, which fetches only new changes through delta updates.Declaration
Swift
internal(set) public var syncToken: String { get }
-
If there are more than 100 records, you get a
pagination_token
in response. This token can be used to fetch the next batch of data.Declaration
Swift
internal(set) public var paginationToken: String { get }
-
The total number of resources which matched the original request.
Declaration
Swift
internal(set) public var totalCount: Int { get }
-
The resources which are part of the array response.
Declaration
Swift
internal(set) public var items: [Any] { get }
-
Initialization
Declaration
Swift
public init(syncToken: String = "", paginationToken: String = "")
Parameters
syncToken
The syncToken from the previous syncronization.
paginationToken
The paginationToken to fetch next batch of data.
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
This enable to sync entity with condition.
See moreDeclaration
Swift
public enum SyncableTypes
-
This enable to sync entity with Published type.
See moreDeclaration
Swift
public enum PublishType : String
-
Undocumented
Declaration
Swift
public static var endpoint: Endpoint