Bucket
public struct Bucket : Codable
-
Declaration
Swift
public enum ModelType : String, Codable, CaseIterable
-
Declaration
Swift
public var links: BucketLinks?
-
Declaration
Swift
public var id: String?
-
Declaration
Swift
public var type: ModelType?
-
Declaration
Swift
public var name: String
-
Declaration
Swift
public var description: String?
-
Declaration
Swift
public var orgID: String?
-
Declaration
Swift
public var rp: String?
-
Declaration
Swift
public var schemaType: SchemaType?
-
Declaration
Swift
public var createdAt: Date?
-
Declaration
Swift
public var updatedAt: Date?
-
Rules to expire or retain data. No rules means data never expires.
Declaration
Swift
public var retentionRules: [RetentionRule]
-
Declaration
Swift
public var labels: [Label]?
-
Declaration
Swift
public init(links: BucketLinks? = nil, id: String? = nil, type: ModelType? = .user, name: String, description: String? = nil, orgID: String? = nil, rp: String? = nil, schemaType: SchemaType? = nil, createdAt: Date? = nil, updatedAt: Date? = nil, retentionRules: [RetentionRule], labels: [Label]? = nil)