Improvement of api mappings documentation

When I tried to use the code example from the api mappings documentation I first had problems to find the correct imports to use.
So I added them to the code example.

I did not find fieldOneWay so I replaced it with FieldsMappingOptions.oneWay