public class Collection
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
Collection.Status
The status of the collection.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
collectionId |
protected java.lang.String |
configurationId |
protected CollectionCrawlStatus |
crawlStatus |
protected java.util.Date |
created |
protected java.lang.String |
description |
protected CollectionDiskUsage |
diskUsage |
protected DocumentCounts |
documentCounts |
protected java.lang.String |
language |
protected java.lang.String |
name |
protected SduStatus |
smartDocumentUnderstanding |
protected java.lang.String |
status |
protected TrainingStatus |
trainingStatus |
protected java.util.Date |
updated |
Constructor and Description |
---|
Collection() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCollectionId()
Gets the collectionId.
|
java.lang.String |
getConfigurationId()
Gets the configurationId.
|
CollectionCrawlStatus |
getCrawlStatus()
Gets the crawlStatus.
|
java.util.Date |
getCreated()
Gets the created.
|
java.lang.String |
getDescription()
Gets the description.
|
CollectionDiskUsage |
getDiskUsage()
Gets the diskUsage.
|
DocumentCounts |
getDocumentCounts()
Gets the documentCounts.
|
java.lang.String |
getLanguage()
Gets the language.
|
java.lang.String |
getName()
Gets the name.
|
SduStatus |
getSmartDocumentUnderstanding()
Gets the smartDocumentUnderstanding.
|
java.lang.String |
getStatus()
Gets the status.
|
TrainingStatus |
getTrainingStatus()
Gets the trainingStatus.
|
java.util.Date |
getUpdated()
Gets the updated.
|
@SerializedName(value="collection_id") protected java.lang.String collectionId
protected java.lang.String name
protected java.lang.String description
protected java.util.Date created
protected java.util.Date updated
protected java.lang.String status
@SerializedName(value="configuration_id") protected java.lang.String configurationId
protected java.lang.String language
@SerializedName(value="document_counts") protected DocumentCounts documentCounts
@SerializedName(value="disk_usage") protected CollectionDiskUsage diskUsage
@SerializedName(value="training_status") protected TrainingStatus trainingStatus
@SerializedName(value="crawl_status") protected CollectionCrawlStatus crawlStatus
@SerializedName(value="smart_document_understanding") protected SduStatus smartDocumentUnderstanding
public java.lang.String getCollectionId()
The unique identifier of the collection.
public java.lang.String getName()
The name of the collection.
public java.lang.String getDescription()
The description of the collection.
public java.util.Date getCreated()
The creation date of the collection in the format yyyy-MM-dd'T'HH:mmcon:ss.SSS'Z'.
public java.util.Date getUpdated()
The timestamp of when the collection was last updated in the format yyyy-MM-dd'T'HH:mm:ss.SSS'Z'.
public java.lang.String getStatus()
The status of the collection.
public java.lang.String getConfigurationId()
The unique identifier of the collection's configuration.
public java.lang.String getLanguage()
The language of the documents stored in the collection. Permitted values include `en` (English), `de` (German), and `es` (Spanish).
public DocumentCounts getDocumentCounts()
Object containing collection document count information.
public CollectionDiskUsage getDiskUsage()
Summary of the disk usage statistics for this collection.
public TrainingStatus getTrainingStatus()
Training status details.
public CollectionCrawlStatus getCrawlStatus()
Object containing information about the crawl status of this collection.
public SduStatus getSmartDocumentUnderstanding()
Object containing smart document understanding information for this collection.