StreamSourceConfigPostgresqlSourceConfigIncludeObjectsPostgresqlSchema.fromMap constructor

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

Implementation

factory StreamSourceConfigPostgresqlSourceConfigIncludeObjectsPostgresqlSchema.fromMap(Map<String, dynamic> map) {
  return StreamSourceConfigPostgresqlSourceConfigIncludeObjectsPostgresqlSchema(
    postgresqlTables: (() { final guardedValue = map['postgresqlTables']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<StreamSourceConfigPostgresqlSourceConfigIncludeObjectsPostgresqlSchemaPostgresqlTable>(guardedValue, (value) => StreamSourceConfigPostgresqlSourceConfigIncludeObjectsPostgresqlSchemaPostgresqlTable.fromMap((value as Map).cast<String, dynamic>()))); })(),
    schema: pulumi.Input.fromValue(map['schema'] as String),
  );
}