Setting Origin of Curve

Is there an easy way to set the origin of a Python-defined curve? Is there a parameter that can be added to this expression, to set the origin?:

CurveData=bpy.data.curves.new(name=“Cable”,type=‘CURVE’)

Or, is there a variable or function in the created Curvedata class, that can be used to set the origin (CurveData.???)?

I know about the method of moving the 3D cursor, and assigning an object origin using the position of the 3D cursor. The code for that is simple enough. I was just wondering if there was a simpler, cleaner, one-step way to set an object’s origin.

Thanks.