PatchRetentionRule
public struct PatchRetentionRule : Codable
Updates to a rule to expire or retain data.
-
Declaration
Swift
public enum ModelType : String, Codable, CaseIterable
-
Declaration
Swift
public var type: ModelType
-
Duration in seconds for how long data will be kept in the database. 0 means infinite.
Declaration
Swift
public var everySeconds: Int64?
-
Shard duration measured in seconds.
Declaration
Swift
public var shardGroupDurationSeconds: Int64?
-
Declaration
Swift
public init(type: ModelType = .expire, everySeconds: Int64? = nil, shardGroupDurationSeconds: Int64? = nil)