toJson method
Implementation
Map<String, dynamic> toJson() {
final secretArn = this.secretArn;
final serverUrl = this.serverUrl;
final chatterFeedConfiguration = this.chatterFeedConfiguration;
final crawlAttachments = this.crawlAttachments;
final excludeAttachmentFilePatterns = this.excludeAttachmentFilePatterns;
final includeAttachmentFilePatterns = this.includeAttachmentFilePatterns;
final knowledgeArticleConfiguration = this.knowledgeArticleConfiguration;
final standardObjectAttachmentConfiguration =
this.standardObjectAttachmentConfiguration;
final standardObjectConfigurations = this.standardObjectConfigurations;
return {
'SecretArn': secretArn,
'ServerUrl': serverUrl,
if (chatterFeedConfiguration != null)
'ChatterFeedConfiguration': chatterFeedConfiguration,
if (crawlAttachments != null) 'CrawlAttachments': crawlAttachments,
if (excludeAttachmentFilePatterns != null)
'ExcludeAttachmentFilePatterns': excludeAttachmentFilePatterns,
if (includeAttachmentFilePatterns != null)
'IncludeAttachmentFilePatterns': includeAttachmentFilePatterns,
if (knowledgeArticleConfiguration != null)
'KnowledgeArticleConfiguration': knowledgeArticleConfiguration,
if (standardObjectAttachmentConfiguration != null)
'StandardObjectAttachmentConfiguration':
standardObjectAttachmentConfiguration,
if (standardObjectConfigurations != null)
'StandardObjectConfigurations': standardObjectConfigurations,
};
}