CollectionDetails
public struct CollectionDetails : Codable, Equatable
A collection for storing documents.
-
The unique identifier of the collection.
Declaration
Swift
public var collectionID: String? -
The name of the collection.
Declaration
Swift
public var name: String -
A description of the collection.
Declaration
Swift
public var description: String? -
The date that the collection was created.
Declaration
Swift
public var created: Date? -
The language of the collection.
Declaration
Swift
public var language: String? -
An array of enrichments that are applied to this collection.
Declaration
Swift
public var enrichments: [CollectionEnrichment]? -
Initialize a
CollectionDetailswith member variables.Declaration
Swift
public init( name: String, description: String? = nil, language: String? = nil, enrichments: [CollectionEnrichment]? = nil )Parameters
nameThe name of the collection.
descriptionA description of the collection.
languageThe language of the collection.
enrichmentsAn array of enrichments that are applied to this collection.
Return Value
An initialized
CollectionDetails.
View on GitHub
CollectionDetails Structure Reference