FlowDestinationFlowConfigDestinationConnectorPropertiesSapoData.fromMap constructor

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

Implementation

factory FlowDestinationFlowConfigDestinationConnectorPropertiesSapoData.fromMap(Map<String, dynamic> map) {
  return FlowDestinationFlowConfigDestinationConnectorPropertiesSapoData(
    errorHandlingConfig: (() { final guardedValue = map['errorHandlingConfig']; if (guardedValue == null) return null; return pulumi.Input.fromValue(FlowDestinationFlowConfigDestinationConnectorPropertiesSapoDataErrorHandlingConfig.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
    idFieldNames: (() { final guardedValue = map['idFieldNames']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
    objectPath: pulumi.Input.fromValue(map['objectPath'] as String),
    successResponseHandlingConfig: (() { final guardedValue = map['successResponseHandlingConfig']; if (guardedValue == null) return null; return pulumi.Input.fromValue(FlowDestinationFlowConfigDestinationConnectorPropertiesSapoDataSuccessResponseHandlingConfig.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
    writeOperationType: (() { final guardedValue = map['writeOperationType']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}