Added class generator + required API calls to get raw response data. Edited example, to demonstrate usage of generator
Added some more checks (to ensure valid data) to Ticket model