Collection

public struct Collection : Codable, Equatable

A collection for storing documents.

  • The status of the collection.

    See more

    Declaration

    Swift

    public enum Status : String
  • The unique identifier of the collection.

    Declaration

    Swift

    public var collectionID: String?
  • The name of the collection.

    Declaration

    Swift

    public var name: String?
  • The description of the collection.

    Declaration

    Swift

    public var description: String?
  • The creation date of the collection in the format yyyy-MM-dd’T'HH:mmcon:ss.SSS'Z’.

    Declaration

    Swift

    public var created: Date?
  • The timestamp of when the collection was last updated in the format yyyy-MM-dd’T'HH:mm:ss.SSS'Z’.

    Declaration

    Swift

    public var updated: Date?
  • The status of the collection.

    Declaration

    Swift

    public var status: String?
  • The unique identifier of the collection’s configuration.

    Declaration

    Swift

    public var configurationID: String?
  • The language of the documents stored in the collection. Permitted values include en (English), de (German), and es (Spanish).

    Declaration

    Swift

    public var language: String?
  • Object containing collection document count information.

    Declaration

    Swift

    public var documentCounts: DocumentCounts?
  • Summary of the disk usage statistics for this collection.

    Declaration

    Swift

    public var diskUsage: CollectionDiskUsage?
  • Training status details.

    Declaration

    Swift

    public var trainingStatus: TrainingStatus?
  • Object containing information about the crawl status of this collection.

    Declaration

    Swift

    public var crawlStatus: CollectionCrawlStatus?
  • Object containing smart document understanding information for this collection.

    Declaration

    Swift

    public var smartDocumentUnderstanding: SduStatus?