V2modelsIntentQnaIntentConfiguration.fromMap constructor
V2modelsIntentQnaIntentConfiguration.fromMap(
- Map<String, dynamic> map
)
Implementation
factory V2modelsIntentQnaIntentConfiguration.fromMap(Map<String, dynamic> map) {
return V2modelsIntentQnaIntentConfiguration(
bedrockModelConfiguration: (() { final guardedValue = map['bedrockModelConfiguration']; if (guardedValue == null) return null; return pulumi.Input.fromValue(V2modelsIntentQnaIntentConfigurationBedrockModelConfiguration.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
dataSourceConfiguration: (() { final guardedValue = map['dataSourceConfiguration']; if (guardedValue == null) return null; return pulumi.Input.fromValue(V2modelsIntentQnaIntentConfigurationDataSourceConfiguration.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
);
}