Package com.affinda.api.client.models
Class DocumentCollectionCreate
- java.lang.Object
-
- com.affinda.api.client.models.DocumentCollectionCreate
-
public final class DocumentCollectionCreate extends Object
The DocumentCollectionCreate model.
-
-
Constructor Summary
Constructors Constructor Description DocumentCollectionCreate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatgetAutoValidationThreshold()Get the autoValidationThreshold property: The autoValidationThreshold property.DateFormatPreferencegetDateFormatPreference()Get the dateFormatPreference property: The dateFormatPreference property.StringgetExtractor()Get the extractor property: Uniquely identify an extractor.ExtractorConfiggetExtractorConfig()Get the extractorConfig property: Extra configurations specific to an extractor.List<FieldGroup>getFields()Get the fields property: The fields property.FieldsLayoutgetFieldsLayout()Get the fieldsLayout property: The fieldsLayout property.StringgetName()Get the name property: The name property.StringgetWorkspace()Get the workspace property: Uniquely identify a workspace.BooleanisDateFormatFromDocument()Get the dateFormatFromDocument property: Predict the date format from any dates in the document that is not ambiguous.DocumentCollectionCreatesetAutoValidationThreshold(Float autoValidationThreshold)Set the autoValidationThreshold property: The autoValidationThreshold property.DocumentCollectionCreatesetDateFormatFromDocument(Boolean dateFormatFromDocument)Set the dateFormatFromDocument property: Predict the date format from any dates in the document that is not ambiguous.DocumentCollectionCreatesetDateFormatPreference(DateFormatPreference dateFormatPreference)Set the dateFormatPreference property: The dateFormatPreference property.DocumentCollectionCreatesetExtractor(String extractor)Set the extractor property: Uniquely identify an extractor.DocumentCollectionCreatesetExtractorConfig(ExtractorConfig extractorConfig)Set the extractorConfig property: Extra configurations specific to an extractor.DocumentCollectionCreatesetFields(List<FieldGroup> fields)Set the fields property: The fields property.DocumentCollectionCreatesetFieldsLayout(FieldsLayout fieldsLayout)Set the fieldsLayout property: The fieldsLayout property.DocumentCollectionCreatesetName(String name)Set the name property: The name property.DocumentCollectionCreatesetWorkspace(String workspace)Set the workspace property: Uniquely identify a workspace.
-
-
-
Method Detail
-
getName
public String getName()
Get the name property: The name property.- Returns:
- the name value.
-
setName
public DocumentCollectionCreate setName(String name)
Set the name property: The name property.- Parameters:
name- the name value to set.- Returns:
- the DocumentCollectionCreate object itself.
-
getWorkspace
public String getWorkspace()
Get the workspace property: Uniquely identify a workspace.- Returns:
- the workspace value.
-
setWorkspace
public DocumentCollectionCreate setWorkspace(String workspace)
Set the workspace property: Uniquely identify a workspace.- Parameters:
workspace- the workspace value to set.- Returns:
- the DocumentCollectionCreate object itself.
-
getExtractor
public String getExtractor()
Get the extractor property: Uniquely identify an extractor.- Returns:
- the extractor value.
-
setExtractor
public DocumentCollectionCreate setExtractor(String extractor)
Set the extractor property: Uniquely identify an extractor.- Parameters:
extractor- the extractor value to set.- Returns:
- the DocumentCollectionCreate object itself.
-
getAutoValidationThreshold
public Float getAutoValidationThreshold()
Get the autoValidationThreshold property: The autoValidationThreshold property.- Returns:
- the autoValidationThreshold value.
-
setAutoValidationThreshold
public DocumentCollectionCreate setAutoValidationThreshold(Float autoValidationThreshold)
Set the autoValidationThreshold property: The autoValidationThreshold property.- Parameters:
autoValidationThreshold- the autoValidationThreshold value to set.- Returns:
- the DocumentCollectionCreate object itself.
-
getFields
public List<FieldGroup> getFields()
Get the fields property: The fields property.- Returns:
- the fields value.
-
setFields
public DocumentCollectionCreate setFields(List<FieldGroup> fields)
Set the fields property: The fields property.- Parameters:
fields- the fields value to set.- Returns:
- the DocumentCollectionCreate object itself.
-
getFieldsLayout
public FieldsLayout getFieldsLayout()
Get the fieldsLayout property: The fieldsLayout property.- Returns:
- the fieldsLayout value.
-
setFieldsLayout
public DocumentCollectionCreate setFieldsLayout(FieldsLayout fieldsLayout)
Set the fieldsLayout property: The fieldsLayout property.- Parameters:
fieldsLayout- the fieldsLayout value to set.- Returns:
- the DocumentCollectionCreate object itself.
-
getDateFormatPreference
public DateFormatPreference getDateFormatPreference()
Get the dateFormatPreference property: The dateFormatPreference property.- Returns:
- the dateFormatPreference value.
-
setDateFormatPreference
public DocumentCollectionCreate setDateFormatPreference(DateFormatPreference dateFormatPreference)
Set the dateFormatPreference property: The dateFormatPreference property.- Parameters:
dateFormatPreference- the dateFormatPreference value to set.- Returns:
- the DocumentCollectionCreate object itself.
-
isDateFormatFromDocument
public Boolean isDateFormatFromDocument()
Get the dateFormatFromDocument property: Predict the date format from any dates in the document that is not ambiguous.- Returns:
- the dateFormatFromDocument value.
-
setDateFormatFromDocument
public DocumentCollectionCreate setDateFormatFromDocument(Boolean dateFormatFromDocument)
Set the dateFormatFromDocument property: Predict the date format from any dates in the document that is not ambiguous.- Parameters:
dateFormatFromDocument- the dateFormatFromDocument value to set.- Returns:
- the DocumentCollectionCreate object itself.
-
getExtractorConfig
public ExtractorConfig getExtractorConfig()
Get the extractorConfig property: Extra configurations specific to an extractor.- Returns:
- the extractorConfig value.
-
setExtractorConfig
public DocumentCollectionCreate setExtractorConfig(ExtractorConfig extractorConfig)
Set the extractorConfig property: Extra configurations specific to an extractor.- Parameters:
extractorConfig- the extractorConfig value to set.- Returns:
- the DocumentCollectionCreate object itself.
-
-