You can use this tool to define a rest model and generate source code for various languages.