DataSourceCustomDocumentEnrichmentConfigurationInlineConfigurationTarget.fromMap constructor

DataSourceCustomDocumentEnrichmentConfigurationInlineConfigurationTarget.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory DataSourceCustomDocumentEnrichmentConfigurationInlineConfigurationTarget.fromMap(Map<String, dynamic> map) {
  return DataSourceCustomDocumentEnrichmentConfigurationInlineConfigurationTarget(
    targetDocumentAttributeKey: (() { final guardedValue = map['targetDocumentAttributeKey']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    targetDocumentAttributeValue: (() { final guardedValue = map['targetDocumentAttributeValue']; if (guardedValue == null) return null; return pulumi.Input.fromValue(DataSourceCustomDocumentEnrichmentConfigurationInlineConfigurationTargetTargetDocumentAttributeValue.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
    targetDocumentAttributeValueDeletion: (() { final guardedValue = map['targetDocumentAttributeValueDeletion']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
  );
}