You can find the SDK documentation on this page.
https://docs.mendix.com/apidocs-mxsdk/mxsdk/
It’s quite a complex beast and in most cases, you’ll probably find it a lot easier and simpler to just generate the domain model and entities in Studio Pro.
Good luck!