Problem:
The NewCreatePortForwardingRuleParams function in the CloudStack Go client SDK does not support privateendport and publicendport parameters, though the API and toURLValues method do.
Solution:
Update the function to include optional arguments for privateendport and publicendport or provide setter methods.