Add apiType to all generated classes.
Tests for apiType
Merge pull request #115 from alxhub/api-type

Add apiType to all generated classes.