ServiceNowKnowledgeArticleConfiguration class
Provides configuration information for crawling knowledge articles in the ServiceNow site.
Constructors
-
ServiceNowKnowledgeArticleConfiguration({required String documentDataFieldName, bool? crawlAttachments, String? documentTitleFieldName, List<
String> ? excludeAttachmentFilePatterns, List<DataSourceToIndexFieldMapping> ? fieldMappings, List<String> ? includeAttachmentFilePatterns}) -
ServiceNowKnowledgeArticleConfiguration.fromJson(Map<
String, dynamic> json) -
factory
Properties
- crawlAttachments → bool?
-
Indicates whether Amazon Kendra should index attachments to knowledge
articles.
final
- documentDataFieldName → String
-
The name of the ServiceNow field that is mapped to the index document
contents field in the Amazon Kendra index.
final
- documentTitleFieldName → String?
-
The name of the ServiceNow field that is mapped to the index document title
field.
final
-
excludeAttachmentFilePatterns
→ List<
String> ? -
List of regular expressions applied to knowledge articles. Items that don't
match the inclusion pattern are not indexed. The regex is applied to the
field specified in the
PatternTargetField
final -
fieldMappings
→ List<
DataSourceToIndexFieldMapping> ? -
Mapping between ServiceNow fields and Amazon Kendra index fields. You must
create the index field before you map the field.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
includeAttachmentFilePatterns
→ List<
String> ? -
List of regular expressions applied to knowledge articles. Items that don't
match the inclusion pattern are not indexed. The regex is applied to the
field specified in the
PatternTargetField
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited