{"action":"closed","issue":{"url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/issues/26","repository_url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype","labels_url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/issues/26/comments","events_url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/issues/26/events","html_url":"https://github.com/DSpace-Labs/angular2-ui-prototype/issues/26","id":145380342,"number":26,"title":"Map API responses to typed models","user":{"login":"wellingWilliam","id":16831046,"avatar_url":"https://avatars.githubusercontent.com/u/16831046?v=3","gravatar_id":"","url":"https://api.github.com/users/wellingWilliam","html_url":"https://github.com/wellingWilliam","followers_url":"https://api.github.com/users/wellingWilliam/followers","following_url":"https://api.github.com/users/wellingWilliam/following{/other_user}","gists_url":"https://api.github.com/users/wellingWilliam/gists{/gist_id}","starred_url":"https://api.github.com/users/wellingWilliam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wellingWilliam/subscriptions","organizations_url":"https://api.github.com/users/wellingWilliam/orgs","repos_url":"https://api.github.com/users/wellingWilliam/repos","events_url":"https://api.github.com/users/wellingWilliam/events{/privacy}","received_events_url":"https://api.github.com/users/wellingWilliam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/labels/code%20task","name":"code task","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":{"login":"wellingWilliam","id":16831046,"avatar_url":"https://avatars.githubusercontent.com/u/16831046?v=3","gravatar_id":"","url":"https://api.github.com/users/wellingWilliam","html_url":"https://github.com/wellingWilliam","followers_url":"https://api.github.com/users/wellingWilliam/followers","following_url":"https://api.github.com/users/wellingWilliam/following{/other_user}","gists_url":"https://api.github.com/users/wellingWilliam/gists{/gist_id}","starred_url":"https://api.github.com/users/wellingWilliam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wellingWilliam/subscriptions","organizations_url":"https://api.github.com/users/wellingWilliam/orgs","repos_url":"https://api.github.com/users/wellingWilliam/repos","events_url":"https://api.github.com/users/wellingWilliam/events{/privacy}","received_events_url":"https://api.github.com/users/wellingWilliam/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-04-02T14:50:05Z","updated_at":"2016-04-19T13:21:53Z","closed_at":"2016-04-19T13:21:53Z","body":"The mapping probably should be done in dspace.service. All other classes currently using the JSON should be converted to using the models.\r\n\r\nArt has a good start to the inheritance model: https://github.com/DSpace-Labs/angular2-ui-prototype/pull/23"}}