ImportDocumentTemplate constructor
ImportDocumentTemplate({})
Implementation
factory ImportDocumentTemplate({
$core.String? mimeType,
$core.Iterable<Document_KnowledgeType>? knowledgeTypes,
$core.Map<$core.String, $core.String>? metadata,
}) {
final _result = create();
if (mimeType != null) {
_result.mimeType = mimeType;
}
if (knowledgeTypes != null) {
_result.knowledgeTypes.addAll(knowledgeTypes);
}
if (metadata != null) {
_result.metadata.addAll(metadata);
}
return _result;
}