Package com.affinda.api.client.models
Class DocumentCollectionUpdate
- java.lang.Object
-
- com.affinda.api.client.models.DocumentCollectionUpdate
-
public final class DocumentCollectionUpdate extends Object
The DocumentCollectionUpdate model.
-
-
Constructor Summary
Constructors Constructor Description DocumentCollectionUpdate()
-
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.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.BooleanisDateFormatFromDocument()Get the dateFormatFromDocument property: Predict the date format from any dates in the document that is not ambiguous.DocumentCollectionUpdatesetAutoValidationThreshold(Float autoValidationThreshold)Set the autoValidationThreshold property: The autoValidationThreshold property.DocumentCollectionUpdatesetDateFormatFromDocument(Boolean dateFormatFromDocument)Set the dateFormatFromDocument property: Predict the date format from any dates in the document that is not ambiguous.DocumentCollectionUpdatesetDateFormatPreference(DateFormatPreference dateFormatPreference)Set the dateFormatPreference property: The dateFormatPreference property.DocumentCollectionUpdatesetExtractorConfig(ExtractorConfig extractorConfig)Set the extractorConfig property: Extra configurations specific to an extractor.DocumentCollectionUpdatesetFields(List<FieldGroup> fields)Set the fields property: The fields property.DocumentCollectionUpdatesetFieldsLayout(FieldsLayout fieldsLayout)Set the fieldsLayout property: The fieldsLayout property.DocumentCollectionUpdatesetName(String name)Set the name property: The name property.
-
-
-
Method Detail
-
getName
public String getName()
Get the name property: The name property.- Returns:
- the name value.
-
setName
public DocumentCollectionUpdate setName(String name)
Set the name property: The name property.- Parameters:
name- the name value to set.- Returns:
- the DocumentCollectionUpdate object itself.
-
getAutoValidationThreshold
public Float getAutoValidationThreshold()
Get the autoValidationThreshold property: The autoValidationThreshold property.- Returns:
- the autoValidationThreshold value.
-
setAutoValidationThreshold
public DocumentCollectionUpdate setAutoValidationThreshold(Float autoValidationThreshold)
Set the autoValidationThreshold property: The autoValidationThreshold property.- Parameters:
autoValidationThreshold- the autoValidationThreshold value to set.- Returns:
- the DocumentCollectionUpdate object itself.
-
getFields
public List<FieldGroup> getFields()
Get the fields property: The fields property.- Returns:
- the fields value.
-
setFields
public DocumentCollectionUpdate setFields(List<FieldGroup> fields)
Set the fields property: The fields property.- Parameters:
fields- the fields value to set.- Returns:
- the DocumentCollectionUpdate object itself.
-
getFieldsLayout
public FieldsLayout getFieldsLayout()
Get the fieldsLayout property: The fieldsLayout property.- Returns:
- the fieldsLayout value.
-
setFieldsLayout
public DocumentCollectionUpdate setFieldsLayout(FieldsLayout fieldsLayout)
Set the fieldsLayout property: The fieldsLayout property.- Parameters:
fieldsLayout- the fieldsLayout value to set.- Returns:
- the DocumentCollectionUpdate object itself.
-
getDateFormatPreference
public DateFormatPreference getDateFormatPreference()
Get the dateFormatPreference property: The dateFormatPreference property.- Returns:
- the dateFormatPreference value.
-
setDateFormatPreference
public DocumentCollectionUpdate setDateFormatPreference(DateFormatPreference dateFormatPreference)
Set the dateFormatPreference property: The dateFormatPreference property.- Parameters:
dateFormatPreference- the dateFormatPreference value to set.- Returns:
- the DocumentCollectionUpdate 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 DocumentCollectionUpdate 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 DocumentCollectionUpdate object itself.
-
getExtractorConfig
public ExtractorConfig getExtractorConfig()
Get the extractorConfig property: Extra configurations specific to an extractor.- Returns:
- the extractorConfig value.
-
setExtractorConfig
public DocumentCollectionUpdate setExtractorConfig(ExtractorConfig extractorConfig)
Set the extractorConfig property: Extra configurations specific to an extractor.- Parameters:
extractorConfig- the extractorConfig value to set.- Returns:
- the DocumentCollectionUpdate object itself.
-
-