payload: {"action":"created","comment":{"url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/pulls/comments/266003830","pull_request_review_id":215063374,"id":266003830,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI2NjAwMzgzMA==","diff_hunk":"@@ -53,4 +56,18 @@ public String getCover() {\n     public void setCover(String cover) {\n         this.cover = cover;\n     }\n+\n+    public long getRating() {\n+        return rating;\n+    }\n+\n+    public void setRating(long rating) {\n+        if (rating < 0) {\n+            this.rating = 0;\n+        } else if (rating > 5) {\n+            this.rating = 5;\n+        } else {\n+            this.rating = 0;","path":"src/main/java/com/github/demo/model/Book.java","position":37,"original_position":37,"commit_id":"01008f0d86041917309c29e410c667f6fcdfe7dc","original_commit_id":"01008f0d86041917309c29e410c667f6fcdfe7dc","user":{"login":"sebass-review","id":48547086,"node_id":"MDQ6VXNlcjQ4NTQ3MDg2","avatar_url":"https://avatars2.githubusercontent.com/u/48547086?v=4","gravatar_id":"","url":"https://api.github.com/users/sebass-review","html_url":"https://github.com/sebass-review","followers_url":"https://api.github.com/users/sebass-review/followers","following_url":"https://api.github.com/users/sebass-review/following{/other_user}","gists_url":"https://api.github.com/users/sebass-review/gists{/gist_id}","starred_url":"https://api.github.com/users/sebass-review/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebass-review/subscriptions","organizations_url":"https://api.github.com/users/sebass-review/orgs","repos_url":"https://api.github.com/users/sebass-review/repos","events_url":"https://api.github.com/users/sebass-review/events{/privacy}","received_events_url":"https://api.github.com/users/sebass-review/received_events","type":"User","site_admin":false},"body":"This doesn't look okay, should `this.rating` be `rating`? \r\n\r\n```suggestion\r\n            this.rating = rating;\r\n```","created_at":"2019-03-15T14:27:19Z","updated_at":"2019-03-15T14:27:29Z","html_url":"https://github.com/SvanBoxel/reading-times-demo-azure/pull/31#discussion_r266003830","pull_request_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/pulls/31","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/pulls/comments/266003830"},"html":{"href":"https://github.com/SvanBoxel/reading-times-demo-azure/pull/31#discussion_r266003830"},"pull_request":{"href":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/pulls/31","id":261565971,"node_id":"MDExOlB1bGxSZXF1ZXN0MjYxNTY1OTcx","html_url":"https://github.com/SvanBoxel/reading-times-demo-azure/pull/31","diff_url":"https://github.com/SvanBoxel/reading-times-demo-azure/pull/31.diff","patch_url":"https://github.com/SvanBoxel/reading-times-demo-azure/pull/31.patch","issue_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/issues/31","number":31,"state":"open","locked":false,"title":"AB#19 Add tests for rating feature","user":{"login":"SvanBoxel","id":24505883,"node_id":"MDQ6VXNlcjI0NTA1ODgz","avatar_url":"https://avatars3.githubusercontent.com/u/24505883?v=4","gravatar_id":"","url":"https://api.github.com/users/SvanBoxel","html_url":"https://github.com/SvanBoxel","followers_url":"https://api.github.com/users/SvanBoxel/followers","following_url":"https://api.github.com/users/SvanBoxel/following{/other_user}","gists_url":"https://api.github.com/users/SvanBoxel/gists{/gist_id}","starred_url":"https://api.github.com/users/SvanBoxel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvanBoxel/subscriptions","organizations_url":"https://api.github.com/users/SvanBoxel/orgs","repos_url":"https://api.github.com/users/SvanBoxel/repos","events_url":"https://api.github.com/users/SvanBoxel/events{/privacy}","received_events_url":"https://api.github.com/users/SvanBoxel/received_events","type":"User","site_admin":true},"body":"Hello,\r\n\r\nThis pull requests fixes [AB#19](https://dev.azure.com/svboxel/web/wi.aspx?pcguid=da0e4ea8-f32e-4fbd-95fb-627716ecb6a1&id=19)\r\n\r\nThe main changes are:\r\n - Added tests for feature\r\n - Implemented rating feature\r\n - Updated html view\r\n\r\nPlease proceed with a review as soon as all the status checks are valid.\r\n","created_at":"2019-03-15T14:10:34Z","updated_at":"2019-03-15T14:27:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"58bfe11db19c4eabc165554363b1f674099cf64f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/pulls/31/commits","review_comments_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/pulls/31/comments","review_comment_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/issues/31/comments","statuses_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/statuses/01008f0d86041917309c29e410c667f6fcdfe7dc","head":{"label":"SvanBoxel:add-rating-feature","ref":"add-rating-feature","sha":"01008f0d86041917309c29e410c667f6fcdfe7dc","user":{"login":"SvanBoxel","id":24505883,"node_id":"MDQ6VXNlcjI0NTA1ODgz","avatar_url":"https://avatars3.githubusercontent.com/u/24505883?v=4","gravatar_id":"","url":"https://api.github.com/users/SvanBoxel","html_url":"https://github.com/SvanBoxel","followers_url":"https://api.github.com/users/SvanBoxel/followers","following_url":"https://api.github.com/users/SvanBoxel/following{/other_user}","gists_url":"https://api.github.com/users/SvanBoxel/gists{/gist_id}","starred_url":"https://api.github.com/users/SvanBoxel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvanBoxel/subscriptions","organizations_url":"https://api.github.com/users/SvanBoxel/orgs","repos_url":"https://api.github.com/users/SvanBoxel/repos","events_url":"https://api.github.com/users/SvanBoxel/events{/privacy}","received_events_url":"https://api.github.com/users/SvanBoxel/received_events","type":"User","site_admin":true},"repo":{"id":170718534,"node_id":"MDEwOlJlcG9zaXRvcnkxNzA3MTg1MzQ=","name":"reading-times-demo-azure","full_name":"SvanBoxel/reading-times-demo-azure","private":false,"owner":{"login":"SvanBoxel","id":24505883,"node_id":"MDQ6VXNlcjI0NTA1ODgz","avatar_url":"https://avatars3.githubusercontent.com/u/24505883?v=4","gravatar_id":"","url":"https://api.github.com/users/SvanBoxel","html_url":"https://github.com/SvanBoxel","followers_url":"https://api.github.com/users/SvanBoxel/followers","following_url":"https://api.github.com/users/SvanBoxel/following{/other_user}","gists_url":"https://api.github.com/users/SvanBoxel/gists{/gist_id}","starred_url":"https://api.github.com/users/SvanBoxel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvanBoxel/subscriptions","organizations_url":"https://api.github.com/users/SvanBoxel/orgs","repos_url":"https://api.github.com/users/SvanBoxel/repos","events_url":"https://api.github.com/users/SvanBoxel/events{/privacy}","received_events_url":"https://api.github.com/users/SvanBoxel/received_events","type":"User","site_admin":true},"html_url":"https://github.com/SvanBoxel/reading-times-demo-azure","description":"http://reading-times-azure.azurewebsites.net","fork":false,"url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure","forks_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/forks","keys_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/teams","hooks_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/hooks","issue_events_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/issues/events{/number}","events_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/events","assignees_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/assignees{/user}","branches_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/branches{/branch}","tags_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/tags","blobs_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/git/refs{/sha}","trees_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/statuses/{sha}","languages_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/languages","stargazers_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/stargazers","contributors_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/contributors","subscribers_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/subscribers","subscription_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/subscription","commits_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/commits{/sha}","git_commits_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/git/commits{/sha}","comments_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/comments{/number}","issue_comment_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/issues/comments{/number}","contents_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/contents/{+path}","compare_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/merges","archive_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/downloads","issues_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/issues{/number}","pulls_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/pulls{/number}","milestones_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/milestones{/number}","notifications_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/labels{/name}","releases_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/releases{/id}","deployments_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/deployments","created_at":"2019-02-14T16:02:54Z","updated_at":"2019-03-15T13:48:20Z","pushed_at":"2019-03-15T14:17:50Z","git_url":"git://github.com/SvanBoxel/reading-times-demo-azure.git","ssh_url":"git@github.com:SvanBoxel/reading-times-demo-azure.git","clone_url":"https://github.com/SvanBoxel/reading-times-demo-azure.git","svn_url":"https://github.com/SvanBoxel/reading-times-demo-azure","homepage":"","size":953,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"SvanBoxel:master","ref":"master","sha":"0c133cedec7b28ddf6e5375c71de94b6af175571","user":{"login":"SvanBoxel","id":24505883,"node_id":"MDQ6VXNlcjI0NTA1ODgz","avatar_url":"https://avatars3.githubusercontent.com/u/24505883?v=4","gravatar_id":"","url":"https://api.github.com/users/SvanBoxel","html_url":"https://github.com/SvanBoxel","followers_url":"https://api.github.com/users/SvanBoxel/followers","following_url":"https://api.github.com/users/SvanBoxel/following{/other_user}","gists_url":"https://api.github.com/users/SvanBoxel/gists{/gist_id}","starred_url":"https://api.github.com/users/SvanBoxel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvanBoxel/subscriptions","organizations_url":"https://api.github.com/users/SvanBoxel/orgs","repos_url":"https://api.github.com/users/SvanBoxel/repos","events_url":"https://api.github.com/users/SvanBoxel/events{/privacy}","received_events_url":"https://api.github.com/users/SvanBoxel/received_events","type":"User","site_admin":true},"repo":{"id":170718534,"node_id":"MDEwOlJlcG9zaXRvcnkxNzA3MTg1MzQ=","name":"reading-times-demo-azure","full_name":"SvanBoxel/reading-times-demo-azure","private":false,"owner":{"login":"SvanBoxel","id":24505883,"node_id":"MDQ6VXNlcjI0NTA1ODgz","avatar_url":"https://avatars3.githubusercontent.com/u/24505883?v=4","gravatar_id":"","url":"https://api.github.com/users/SvanBoxel","html_url":"https://github.com/SvanBoxel","followers_url":"https://api.github.com/users/SvanBoxel/followers","following_url":"https://api.github.com/users/SvanBoxel/following{/other_user}","gists_url":"https://api.github.com/users/SvanBoxel/gists{/gist_id}","starred_url":"https://api.github.com/users/SvanBoxel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvanBoxel/subscriptions","organizations_url":"https://api.github.com/users/SvanBoxel/orgs","repos_url":"https://api.github.com/users/SvanBoxel/repos","events_url":"https://api.github.com/users/SvanBoxel/events{/privacy}","received_events_url":"https://api.github.com/users/SvanBoxel/received_events","type":"User","site_admin":true},"html_url":"https://github.com/SvanBoxel/reading-times-demo-azure","description":"http://reading-times-azure.azurewebsites.net","fork":false,"url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure","forks_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/forks","keys_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/teams","hooks_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/hooks","issue_events_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/issues/events{/number}","events_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/events","assignees_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/assignees{/user}","branches_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/branches{/branch}","tags_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/tags","blobs_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/git/refs{/sha}","trees_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/statuses/{sha}","languages_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/languages","stargazers_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/stargazers","contributors_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/contributors","subscribers_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/subscribers","subscription_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/subscription","commits_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/commits{/sha}","git_commits_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/git/commits{/sha}","comments_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/comments{/number}","issue_comment_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/issues/comments{/number}","contents_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/contents/{+path}","compare_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/merges","archive_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/downloads","issues_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/issues{/number}","pulls_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/pulls{/number}","milestones_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/milestones{/number}","notifications_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/labels{/name}","releases_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/releases{/id}","deployments_url":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/deployments","created_at":"2019-02-14T16:02:54Z","updated_at":"2019-03-15T13:48:20Z","pushed_at":"2019-03-15T14:17:50Z","git_url":"git://github.com/SvanBoxel/reading-times-demo-azure.git","ssh_url":"git@github.com:SvanBoxel/reading-times-demo-azure.git","clone_url":"https://github.com/SvanBoxel/reading-times-demo-azure.git","svn_url":"https://github.com/SvanBoxel/reading-times-demo-azure","homepage":"","size":953,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/pulls/31"},"html":{"href":"https://github.com/SvanBoxel/reading-times-demo-azure/pull/31"},"issue":{"href":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/issues/31"},"comments":{"href":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/SvanBoxel/reading-times-demo-azure/statuses/01008f0d86041917309c29e410c667f6fcdfe7dc"}},"author_association":"OWNER"}}
other: {"actor":{"display_login":"sebass-review"}}