toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'parts': pulumi.Input.mapInputValue<List<AiReasoningEngineContextSpecMemoryBankConfigCustomizationConfigGenerateMemoriesExampleConversationSourceEventContentPart>, List<Map<String, dynamic>>>(parts, (value) => pulumi.Input.encodeList<AiReasoningEngineContextSpecMemoryBankConfigCustomizationConfigGenerateMemoriesExampleConversationSourceEventContentPart, Map<String, dynamic>>(value, (value) => value.toMap())),
'role': ?role,
};
}