{"action":"created","comment":{"url":"https://api.github.com/repos/is51/catan/pulls/comments/42515688","id":42515688,"diff_hunk":"@@ -26,6 +30,7 @@ public GameUserDetails(GameUserBean gameUserBean, int detailsRequesterId) {\n         this.achievements = new AchievementsDetails(gameUserBean.getAchievements());\n \n         if (user.getId() == detailsRequesterId) {\n+            this.availableActions = GSON.fromJson(gameUserBean.getAvailableActions(), AllAvailableActionsDetails.class);","path":"src/main/java/catan/domain/transfer/output/game/GameUserDetails.java","position":25,"original_position":25,"commit_id":"d0bc95c5340479e33d6d0624c9714e0e519eeb7a","original_commit_id":"d0bc95c5340479e33d6d0624c9714e0e519eeb7a","user":{"login":"andrii-r","id":5818527,"avatar_url":"https://avatars.githubusercontent.com/u/5818527?v=3","gravatar_id":"","url":"https://api.github.com/users/andrii-r","html_url":"https://github.com/andrii-r","followers_url":"https://api.github.com/users/andrii-r/followers","following_url":"https://api.github.com/users/andrii-r/following{/other_user}","gists_url":"https://api.github.com/users/andrii-r/gists{/gist_id}","starred_url":"https://api.github.com/users/andrii-r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrii-r/subscriptions","organizations_url":"https://api.github.com/users/andrii-r/orgs","repos_url":"https://api.github.com/users/andrii-r/repos","events_url":"https://api.github.com/users/andrii-r/events{/privacy}","received_events_url":"https://api.github.com/users/andrii-r/received_events","type":"User","site_admin":false},"body":"btw, why should we convert JSON to Java class and after that convert Java class to JSON? is it possible to return Json stored in Java calss that will be converted to Json?","created_at":"2015-10-20T16:03:18Z","updated_at":"2015-10-20T16:03:18Z","html_url":"https://github.com/is51/catan/pull/23#discussion_r42515688","pull_request_url":"https://api.github.com/repos/is51/catan/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/is51/catan/pulls/comments/42515688"},"html":{"href":"https://github.com/is51/catan/pull/23#discussion_r42515688"},"pull_request":{"href":"https://api.github.com/repos/is51/catan/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/is51/catan/pulls/23","id":47986156,"html_url":"https://github.com/is51/catan/pull/23","diff_url":"https://github.com/is51/catan/pull/23.diff","patch_url":"https://github.com/is51/catan/pull/23.patch","issue_url":"https://api.github.com/repos/is51/catan/issues/23","number":23,"state":"open","locked":false,"title":"Us 51 provide information about currently available actions for user","user":{"login":"andrii-r","id":5818527,"avatar_url":"https://avatars.githubusercontent.com/u/5818527?v=3","gravatar_id":"","url":"https://api.github.com/users/andrii-r","html_url":"https://github.com/andrii-r","followers_url":"https://api.github.com/users/andrii-r/followers","following_url":"https://api.github.com/users/andrii-r/following{/other_user}","gists_url":"https://api.github.com/users/andrii-r/gists{/gist_id}","starred_url":"https://api.github.com/users/andrii-r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrii-r/subscriptions","organizations_url":"https://api.github.com/users/andrii-r/orgs","repos_url":"https://api.github.com/users/andrii-r/repos","events_url":"https://api.github.com/users/andrii-r/events{/privacy}","received_events_url":"https://api.github.com/users/andrii-r/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-17T13:02:02Z","updated_at":"2015-10-20T16:03:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"67f6efad579430171eee4ef57b739aac88b81820","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/is51/catan/pulls/23/commits","review_comments_url":"https://api.github.com/repos/is51/catan/pulls/23/comments","review_comment_url":"https://api.github.com/repos/is51/catan/pulls/comments{/number}","comments_url":"https://api.github.com/repos/is51/catan/issues/23/comments","statuses_url":"https://api.github.com/repos/is51/catan/statuses/d0bc95c5340479e33d6d0624c9714e0e519eeb7a","head":{"label":"is51:US-51_Provide_information_about_currently_available_actions_for_user","ref":"US-51_Provide_information_about_currently_available_actions_for_user","sha":"d0bc95c5340479e33d6d0624c9714e0e519eeb7a","user":{"login":"is51","id":13038634,"avatar_url":"https://avatars.githubusercontent.com/u/13038634?v=3","gravatar_id":"","url":"https://api.github.com/users/is51","html_url":"https://github.com/is51","followers_url":"https://api.github.com/users/is51/followers","following_url":"https://api.github.com/users/is51/following{/other_user}","gists_url":"https://api.github.com/users/is51/gists{/gist_id}","starred_url":"https://api.github.com/users/is51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/is51/subscriptions","organizations_url":"https://api.github.com/users/is51/orgs","repos_url":"https://api.github.com/users/is51/repos","events_url":"https://api.github.com/users/is51/events{/privacy}","received_events_url":"https://api.github.com/users/is51/received_events","type":"Organization","site_admin":false},"repo":{"id":38006336,"name":"catan","full_name":"is51/catan","owner":{"login":"is51","id":13038634,"avatar_url":"https://avatars.githubusercontent.com/u/13038634?v=3","gravatar_id":"","url":"https://api.github.com/users/is51","html_url":"https://github.com/is51","followers_url":"https://api.github.com/users/is51/followers","following_url":"https://api.github.com/users/is51/following{/other_user}","gists_url":"https://api.github.com/users/is51/gists{/gist_id}","starred_url":"https://api.github.com/users/is51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/is51/subscriptions","organizations_url":"https://api.github.com/users/is51/orgs","repos_url":"https://api.github.com/users/is51/repos","events_url":"https://api.github.com/users/is51/events{/privacy}","received_events_url":"https://api.github.com/users/is51/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/is51/catan","description":"","fork":false,"url":"https://api.github.com/repos/is51/catan","forks_url":"https://api.github.com/repos/is51/catan/forks","keys_url":"https://api.github.com/repos/is51/catan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/is51/catan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/is51/catan/teams","hooks_url":"https://api.github.com/repos/is51/catan/hooks","issue_events_url":"https://api.github.com/repos/is51/catan/issues/events{/number}","events_url":"https://api.github.com/repos/is51/catan/events","assignees_url":"https://api.github.com/repos/is51/catan/assignees{/user}","branches_url":"https://api.github.com/repos/is51/catan/branches{/branch}","tags_url":"https://api.github.com/repos/is51/catan/tags","blobs_url":"https://api.github.com/repos/is51/catan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/is51/catan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/is51/catan/git/refs{/sha}","trees_url":"https://api.github.com/repos/is51/catan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/is51/catan/statuses/{sha}","languages_url":"https://api.github.com/repos/is51/catan/languages","stargazers_url":"https://api.github.com/repos/is51/catan/stargazers","contributors_url":"https://api.github.com/repos/is51/catan/contributors","subscribers_url":"https://api.github.com/repos/is51/catan/subscribers","subscription_url":"https://api.github.com/repos/is51/catan/subscription","commits_url":"https://api.github.com/repos/is51/catan/commits{/sha}","git_commits_url":"https://api.github.com/repos/is51/catan/git/commits{/sha}","comments_url":"https://api.github.com/repos/is51/catan/comments{/number}","issue_comment_url":"https://api.github.com/repos/is51/catan/issues/comments{/number}","contents_url":"https://api.github.com/repos/is51/catan/contents/{+path}","compare_url":"https://api.github.com/repos/is51/catan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/is51/catan/merges","archive_url":"https://api.github.com/repos/is51/catan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/is51/catan/downloads","issues_url":"https://api.github.com/repos/is51/catan/issues{/number}","pulls_url":"https://api.github.com/repos/is51/catan/pulls{/number}","milestones_url":"https://api.github.com/repos/is51/catan/milestones{/number}","notifications_url":"https://api.github.com/repos/is51/catan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/is51/catan/labels{/name}","releases_url":"https://api.github.com/repos/is51/catan/releases{/id}","created_at":"2015-06-24T19:28:17Z","updated_at":"2015-06-26T22:01:06Z","pushed_at":"2015-10-20T15:20:41Z","git_url":"git://github.com/is51/catan.git","ssh_url":"git@github.com:is51/catan.git","clone_url":"https://github.com/is51/catan.git","svn_url":"https://github.com/is51/catan","homepage":null,"size":3632,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"is51:master","ref":"master","sha":"a61195d0c30291c64d87ce37d4bd19e80ad1b789","user":{"login":"is51","id":13038634,"avatar_url":"https://avatars.githubusercontent.com/u/13038634?v=3","gravatar_id":"","url":"https://api.github.com/users/is51","html_url":"https://github.com/is51","followers_url":"https://api.github.com/users/is51/followers","following_url":"https://api.github.com/users/is51/following{/other_user}","gists_url":"https://api.github.com/users/is51/gists{/gist_id}","starred_url":"https://api.github.com/users/is51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/is51/subscriptions","organizations_url":"https://api.github.com/users/is51/orgs","repos_url":"https://api.github.com/users/is51/repos","events_url":"https://api.github.com/users/is51/events{/privacy}","received_events_url":"https://api.github.com/users/is51/received_events","type":"Organization","site_admin":false},"repo":{"id":38006336,"name":"catan","full_name":"is51/catan","owner":{"login":"is51","id":13038634,"avatar_url":"https://avatars.githubusercontent.com/u/13038634?v=3","gravatar_id":"","url":"https://api.github.com/users/is51","html_url":"https://github.com/is51","followers_url":"https://api.github.com/users/is51/followers","following_url":"https://api.github.com/users/is51/following{/other_user}","gists_url":"https://api.github.com/users/is51/gists{/gist_id}","starred_url":"https://api.github.com/users/is51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/is51/subscriptions","organizations_url":"https://api.github.com/users/is51/orgs","repos_url":"https://api.github.com/users/is51/repos","events_url":"https://api.github.com/users/is51/events{/privacy}","received_events_url":"https://api.github.com/users/is51/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/is51/catan","description":"","fork":false,"url":"https://api.github.com/repos/is51/catan","forks_url":"https://api.github.com/repos/is51/catan/forks","keys_url":"https://api.github.com/repos/is51/catan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/is51/catan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/is51/catan/teams","hooks_url":"https://api.github.com/repos/is51/catan/hooks","issue_events_url":"https://api.github.com/repos/is51/catan/issues/events{/number}","events_url":"https://api.github.com/repos/is51/catan/events","assignees_url":"https://api.github.com/repos/is51/catan/assignees{/user}","branches_url":"https://api.github.com/repos/is51/catan/branches{/branch}","tags_url":"https://api.github.com/repos/is51/catan/tags","blobs_url":"https://api.github.com/repos/is51/catan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/is51/catan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/is51/catan/git/refs{/sha}","trees_url":"https://api.github.com/repos/is51/catan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/is51/catan/statuses/{sha}","languages_url":"https://api.github.com/repos/is51/catan/languages","stargazers_url":"https://api.github.com/repos/is51/catan/stargazers","contributors_url":"https://api.github.com/repos/is51/catan/contributors","subscribers_url":"https://api.github.com/repos/is51/catan/subscribers","subscription_url":"https://api.github.com/repos/is51/catan/subscription","commits_url":"https://api.github.com/repos/is51/catan/commits{/sha}","git_commits_url":"https://api.github.com/repos/is51/catan/git/commits{/sha}","comments_url":"https://api.github.com/repos/is51/catan/comments{/number}","issue_comment_url":"https://api.github.com/repos/is51/catan/issues/comments{/number}","contents_url":"https://api.github.com/repos/is51/catan/contents/{+path}","compare_url":"https://api.github.com/repos/is51/catan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/is51/catan/merges","archive_url":"https://api.github.com/repos/is51/catan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/is51/catan/downloads","issues_url":"https://api.github.com/repos/is51/catan/issues{/number}","pulls_url":"https://api.github.com/repos/is51/catan/pulls{/number}","milestones_url":"https://api.github.com/repos/is51/catan/milestones{/number}","notifications_url":"https://api.github.com/repos/is51/catan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/is51/catan/labels{/name}","releases_url":"https://api.github.com/repos/is51/catan/releases{/id}","created_at":"2015-06-24T19:28:17Z","updated_at":"2015-06-26T22:01:06Z","pushed_at":"2015-10-20T15:20:41Z","git_url":"git://github.com/is51/catan.git","ssh_url":"git@github.com:is51/catan.git","clone_url":"https://github.com/is51/catan.git","svn_url":"https://github.com/is51/catan","homepage":null,"size":3632,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/is51/catan/pulls/23"},"html":{"href":"https://github.com/is51/catan/pull/23"},"issue":{"href":"https://api.github.com/repos/is51/catan/issues/23"},"comments":{"href":"https://api.github.com/repos/is51/catan/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/is51/catan/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/is51/catan/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/is51/catan/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/is51/catan/statuses/d0bc95c5340479e33d6d0624c9714e0e519eeb7a"}}}}