{"action":"created","comment":{"url":"https://api.github.com/repos/pyroib/ITC205-G7/pulls/comments/208453671","pull_request_review_id":144264789,"id":208453671,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwODQ1MzY3MQ==","diff_hunk":"@@ -0,0 +1,90 @@\n+import java.io.Serializable;\n+\n+@SuppressWarnings(\"serial\")\n+public class Book implements Serializable {\n+\n+    private String title;\n+    private String author;\n+    private String callNo;\n+    private int id;\n+    \n+    private enum State {AVAILABLE, ON_LOAN, DAMAGED, RESERVED};\n+    private State state;\n+\n+    public Book(String author, String title, String callNo, int id) {\n+        this.author = author;\n+        this.title = title;\n+        this.callNo = callNo;\n+        this.id = id;\n+        this.state = State.AVAILABLE;\n+    }\n+\n+    \n+    public String toString() {\n+        StringBuilder stringBuilder = new StringBuilder();\n+        stringBuilder.append(\"Book: \").append(id).append(\"\\n\")\n+        .append(\"  Title:  \").append(title).append(\"\\n\")","path":"src/Book.java","position":26,"original_position":26,"commit_id":"3f5c8c61c96de142dd76ffa9dbd15a415aecf18a","original_commit_id":"3f5c8c61c96de142dd76ffa9dbd15a415aecf18a","user":{"login":"jazzie-b","id":33510723,"node_id":"MDQ6VXNlcjMzNTEwNzIz","avatar_url":"https://avatars3.githubusercontent.com/u/33510723?v=4","gravatar_id":"","url":"https://api.github.com/users/jazzie-b","html_url":"https://github.com/jazzie-b","followers_url":"https://api.github.com/users/jazzie-b/followers","following_url":"https://api.github.com/users/jazzie-b/following{/other_user}","gists_url":"https://api.github.com/users/jazzie-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jazzie-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jazzie-b/subscriptions","organizations_url":"https://api.github.com/users/jazzie-b/orgs","repos_url":"https://api.github.com/users/jazzie-b/repos","events_url":"https://api.github.com/users/jazzie-b/events{/privacy}","received_events_url":"https://api.github.com/users/jazzie-b/received_events","type":"User","site_admin":false},"body":"On the stringbuilder?","created_at":"2018-08-08T04:33:47Z","updated_at":"2018-08-08T04:33:47Z","html_url":"https://github.com/pyroib/ITC205-G7/pull/17#discussion_r208453671","pull_request_url":"https://api.github.com/repos/pyroib/ITC205-G7/pulls/17","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/pyroib/ITC205-G7/pulls/comments/208453671"},"html":{"href":"https://github.com/pyroib/ITC205-G7/pull/17#discussion_r208453671"},"pull_request":{"href":"https://api.github.com/repos/pyroib/ITC205-G7/pulls/17"}},"in_reply_to_id":208423289},"pull_request":{"url":"https://api.github.com/repos/pyroib/ITC205-G7/pulls/17","id":205994944,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1OTk0OTQ0","html_url":"https://github.com/pyroib/ITC205-G7/pull/17","diff_url":"https://github.com/pyroib/ITC205-G7/pull/17.diff","patch_url":"https://github.com/pyroib/ITC205-G7/pull/17.patch","issue_url":"https://api.github.com/repos/pyroib/ITC205-G7/issues/17","number":17,"state":"open","locked":false,"title":"Fix calendar book","user":{"login":"jazzie-b","id":33510723,"node_id":"MDQ6VXNlcjMzNTEwNzIz","avatar_url":"https://avatars3.githubusercontent.com/u/33510723?v=4","gravatar_id":"","url":"https://api.github.com/users/jazzie-b","html_url":"https://github.com/jazzie-b","followers_url":"https://api.github.com/users/jazzie-b/followers","following_url":"https://api.github.com/users/jazzie-b/following{/other_user}","gists_url":"https://api.github.com/users/jazzie-b/gists{/gist_id}","starred_url":"https://api.github.com/users/jazzie-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jazzie-b/subscriptions","organizations_url":"https://api.github.com/users/jazzie-b/orgs","repos_url":"https://api.github.com/users/jazzie-b/repos","events_url":"https://api.github.com/users/jazzie-b/events{/privacy}","received_events_url":"https://api.github.com/users/jazzie-b/received_events","type":"User","site_admin":false},"body":"Book and Calendar files have been updated to match with style guide.\r\nAny file associated with these changes has also been updated to ensure no errors.","created_at":"2018-08-03T10:52:15Z","updated_at":"2018-08-08T04:33:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1ce7c3f2295ff1bde4686a56ad0e3858816208d6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pyroib/ITC205-G7/pulls/17/commits","review_comments_url":"https://api.github.com/repos/pyroib/ITC205-G7/pulls/17/comments","review_comment_url":"https://api.github.com/repos/pyroib/ITC205-G7/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pyroib/ITC205-G7/issues/17/comments","statuses_url":"https://api.github.com/repos/pyroib/ITC205-G7/statuses/3f5c8c61c96de142dd76ffa9dbd15a415aecf18a","head":{"label":"pyroib:FixCalendarBook","ref":"FixCalendarBook","sha":"3f5c8c61c96de142dd76ffa9dbd15a415aecf18a","user":{"login":"pyroib","id":36442022,"node_id":"MDQ6VXNlcjM2NDQyMDIy","avatar_url":"https://avatars3.githubusercontent.com/u/36442022?v=4","gravatar_id":"","url":"https://api.github.com/users/pyroib","html_url":"https://github.com/pyroib","followers_url":"https://api.github.com/users/pyroib/followers","following_url":"https://api.github.com/users/pyroib/following{/other_user}","gists_url":"https://api.github.com/users/pyroib/gists{/gist_id}","starred_url":"https://api.github.com/users/pyroib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyroib/subscriptions","organizations_url":"https://api.github.com/users/pyroib/orgs","repos_url":"https://api.github.com/users/pyroib/repos","events_url":"https://api.github.com/users/pyroib/events{/privacy}","received_events_url":"https://api.github.com/users/pyroib/received_events","type":"User","site_admin":false},"repo":{"id":140562600,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA1NjI2MDA=","name":"ITC205-G7","full_name":"pyroib/ITC205-G7","owner":{"login":"pyroib","id":36442022,"node_id":"MDQ6VXNlcjM2NDQyMDIy","avatar_url":"https://avatars3.githubusercontent.com/u/36442022?v=4","gravatar_id":"","url":"https://api.github.com/users/pyroib","html_url":"https://github.com/pyroib","followers_url":"https://api.github.com/users/pyroib/followers","following_url":"https://api.github.com/users/pyroib/following{/other_user}","gists_url":"https://api.github.com/users/pyroib/gists{/gist_id}","starred_url":"https://api.github.com/users/pyroib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyroib/subscriptions","organizations_url":"https://api.github.com/users/pyroib/orgs","repos_url":"https://api.github.com/users/pyroib/repos","events_url":"https://api.github.com/users/pyroib/events{/privacy}","received_events_url":"https://api.github.com/users/pyroib/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pyroib/ITC205-G7","description":null,"fork":false,"url":"https://api.github.com/repos/pyroib/ITC205-G7","forks_url":"https://api.github.com/repos/pyroib/ITC205-G7/forks","keys_url":"https://api.github.com/repos/pyroib/ITC205-G7/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pyroib/ITC205-G7/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pyroib/ITC205-G7/teams","hooks_url":"https://api.github.com/repos/pyroib/ITC205-G7/hooks","issue_events_url":"https://api.github.com/repos/pyroib/ITC205-G7/issues/events{/number}","events_url":"https://api.github.com/repos/pyroib/ITC205-G7/events","assignees_url":"https://api.github.com/repos/pyroib/ITC205-G7/assignees{/user}","branches_url":"https://api.github.com/repos/pyroib/ITC205-G7/branches{/branch}","tags_url":"https://api.github.com/repos/pyroib/ITC205-G7/tags","blobs_url":"https://api.github.com/repos/pyroib/ITC205-G7/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pyroib/ITC205-G7/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pyroib/ITC205-G7/git/refs{/sha}","trees_url":"https://api.github.com/repos/pyroib/ITC205-G7/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pyroib/ITC205-G7/statuses/{sha}","languages_url":"https://api.github.com/repos/pyroib/ITC205-G7/languages","stargazers_url":"https://api.github.com/repos/pyroib/ITC205-G7/stargazers","contributors_url":"https://api.github.com/repos/pyroib/ITC205-G7/contributors","subscribers_url":"https://api.github.com/repos/pyroib/ITC205-G7/subscribers","subscription_url":"https://api.github.com/repos/pyroib/ITC205-G7/subscription","commits_url":"https://api.github.com/repos/pyroib/ITC205-G7/commits{/sha}","git_commits_url":"https://api.github.com/repos/pyroib/ITC205-G7/git/commits{/sha}","comments_url":"https://api.github.com/repos/pyroib/ITC205-G7/comments{/number}","issue_comment_url":"https://api.github.com/repos/pyroib/ITC205-G7/issues/comments{/number}","contents_url":"https://api.github.com/repos/pyroib/ITC205-G7/contents/{+path}","compare_url":"https://api.github.com/repos/pyroib/ITC205-G7/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pyroib/ITC205-G7/merges","archive_url":"https://api.github.com/repos/pyroib/ITC205-G7/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pyroib/ITC205-G7/downloads","issues_url":"https://api.github.com/repos/pyroib/ITC205-G7/issues{/number}","pulls_url":"https://api.github.com/repos/pyroib/ITC205-G7/pulls{/number}","milestones_url":"https://api.github.com/repos/pyroib/ITC205-G7/milestones{/number}","notifications_url":"https://api.github.com/repos/pyroib/ITC205-G7/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pyroib/ITC205-G7/labels{/name}","releases_url":"https://api.github.com/repos/pyroib/ITC205-G7/releases{/id}","deployments_url":"https://api.github.com/repos/pyroib/ITC205-G7/deployments","created_at":"2018-07-11T10:55:45Z","updated_at":"2018-08-06T11:44:19Z","pushed_at":"2018-08-08T04:14:51Z","git_url":"git://github.com/pyroib/ITC205-G7.git","ssh_url":"git@github.com:pyroib/ITC205-G7.git","clone_url":"https://github.com/pyroib/ITC205-G7.git","svn_url":"https://github.com/pyroib/ITC205-G7","homepage":null,"size":186,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"pyroib:master","ref":"master","sha":"a077d2eada49d19e0153ca538fd0742dae676708","user":{"login":"pyroib","id":36442022,"node_id":"MDQ6VXNlcjM2NDQyMDIy","avatar_url":"https://avatars3.githubusercontent.com/u/36442022?v=4","gravatar_id":"","url":"https://api.github.com/users/pyroib","html_url":"https://github.com/pyroib","followers_url":"https://api.github.com/users/pyroib/followers","following_url":"https://api.github.com/users/pyroib/following{/other_user}","gists_url":"https://api.github.com/users/pyroib/gists{/gist_id}","starred_url":"https://api.github.com/users/pyroib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyroib/subscriptions","organizations_url":"https://api.github.com/users/pyroib/orgs","repos_url":"https://api.github.com/users/pyroib/repos","events_url":"https://api.github.com/users/pyroib/events{/privacy}","received_events_url":"https://api.github.com/users/pyroib/received_events","type":"User","site_admin":false},"repo":{"id":140562600,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA1NjI2MDA=","name":"ITC205-G7","full_name":"pyroib/ITC205-G7","owner":{"login":"pyroib","id":36442022,"node_id":"MDQ6VXNlcjM2NDQyMDIy","avatar_url":"https://avatars3.githubusercontent.com/u/36442022?v=4","gravatar_id":"","url":"https://api.github.com/users/pyroib","html_url":"https://github.com/pyroib","followers_url":"https://api.github.com/users/pyroib/followers","following_url":"https://api.github.com/users/pyroib/following{/other_user}","gists_url":"https://api.github.com/users/pyroib/gists{/gist_id}","starred_url":"https://api.github.com/users/pyroib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyroib/subscriptions","organizations_url":"https://api.github.com/users/pyroib/orgs","repos_url":"https://api.github.com/users/pyroib/repos","events_url":"https://api.github.com/users/pyroib/events{/privacy}","received_events_url":"https://api.github.com/users/pyroib/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pyroib/ITC205-G7","description":null,"fork":false,"url":"https://api.github.com/repos/pyroib/ITC205-G7","forks_url":"https://api.github.com/repos/pyroib/ITC205-G7/forks","keys_url":"https://api.github.com/repos/pyroib/ITC205-G7/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pyroib/ITC205-G7/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pyroib/ITC205-G7/teams","hooks_url":"https://api.github.com/repos/pyroib/ITC205-G7/hooks","issue_events_url":"https://api.github.com/repos/pyroib/ITC205-G7/issues/events{/number}","events_url":"https://api.github.com/repos/pyroib/ITC205-G7/events","assignees_url":"https://api.github.com/repos/pyroib/ITC205-G7/assignees{/user}","branches_url":"https://api.github.com/repos/pyroib/ITC205-G7/branches{/branch}","tags_url":"https://api.github.com/repos/pyroib/ITC205-G7/tags","blobs_url":"https://api.github.com/repos/pyroib/ITC205-G7/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pyroib/ITC205-G7/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pyroib/ITC205-G7/git/refs{/sha}","trees_url":"https://api.github.com/repos/pyroib/ITC205-G7/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pyroib/ITC205-G7/statuses/{sha}","languages_url":"https://api.github.com/repos/pyroib/ITC205-G7/languages","stargazers_url":"https://api.github.com/repos/pyroib/ITC205-G7/stargazers","contributors_url":"https://api.github.com/repos/pyroib/ITC205-G7/contributors","subscribers_url":"https://api.github.com/repos/pyroib/ITC205-G7/subscribers","subscription_url":"https://api.github.com/repos/pyroib/ITC205-G7/subscription","commits_url":"https://api.github.com/repos/pyroib/ITC205-G7/commits{/sha}","git_commits_url":"https://api.github.com/repos/pyroib/ITC205-G7/git/commits{/sha}","comments_url":"https://api.github.com/repos/pyroib/ITC205-G7/comments{/number}","issue_comment_url":"https://api.github.com/repos/pyroib/ITC205-G7/issues/comments{/number}","contents_url":"https://api.github.com/repos/pyroib/ITC205-G7/contents/{+path}","compare_url":"https://api.github.com/repos/pyroib/ITC205-G7/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pyroib/ITC205-G7/merges","archive_url":"https://api.github.com/repos/pyroib/ITC205-G7/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pyroib/ITC205-G7/downloads","issues_url":"https://api.github.com/repos/pyroib/ITC205-G7/issues{/number}","pulls_url":"https://api.github.com/repos/pyroib/ITC205-G7/pulls{/number}","milestones_url":"https://api.github.com/repos/pyroib/ITC205-G7/milestones{/number}","notifications_url":"https://api.github.com/repos/pyroib/ITC205-G7/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pyroib/ITC205-G7/labels{/name}","releases_url":"https://api.github.com/repos/pyroib/ITC205-G7/releases{/id}","deployments_url":"https://api.github.com/repos/pyroib/ITC205-G7/deployments","created_at":"2018-07-11T10:55:45Z","updated_at":"2018-08-06T11:44:19Z","pushed_at":"2018-08-08T04:14:51Z","git_url":"git://github.com/pyroib/ITC205-G7.git","ssh_url":"git@github.com:pyroib/ITC205-G7.git","clone_url":"https://github.com/pyroib/ITC205-G7.git","svn_url":"https://github.com/pyroib/ITC205-G7","homepage":null,"size":186,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pyroib/ITC205-G7/pulls/17"},"html":{"href":"https://github.com/pyroib/ITC205-G7/pull/17"},"issue":{"href":"https://api.github.com/repos/pyroib/ITC205-G7/issues/17"},"comments":{"href":"https://api.github.com/repos/pyroib/ITC205-G7/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/pyroib/ITC205-G7/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/pyroib/ITC205-G7/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pyroib/ITC205-G7/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/pyroib/ITC205-G7/statuses/3f5c8c61c96de142dd76ffa9dbd15a415aecf18a"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"jazzie-b"}}