payload: {"action":"created","comment":{"url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/pulls/comments/342848968","pull_request_review_id":312109428,"id":342848968,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM0Mjg0ODk2OA==","diff_hunk":"@@ -5,23 +5,31 @@\n \n public class SmartHome {\n     Collection<Room> rooms;\n+    Alarm alarm;\n \n     public SmartHome() {\n         rooms = new ArrayList<>();\n+        alarm = new Alarm();\n     }\n \n     public SmartHome(Collection<Room> rooms) {\n         this.rooms = rooms;\n+        alarm = new Alarm();\n     }\n \n-    public void addRoom(Room room) {\n+    public void addRoom(Room room, String alarmCode) {\n         rooms.add(room);\n+        this.alarm = new Alarm(alarmCode);\n     }\n \n     public Collection<Room> getRooms() {\n         return rooms;\n     }\n \n+    public void set_alarm(Alarm alarm) {this.alarm = alarm;}","path":"src/main/java/ru/sbt/mipt/oop/SmartHome.java","position":26,"original_position":26,"commit_id":"4f272c3838d0af995c5c6fb10182e82bc7f48a59","original_commit_id":"4f272c3838d0af995c5c6fb10182e82bc7f48a59","user":{"login":"a-ivanov","id":3616930,"node_id":"MDQ6VXNlcjM2MTY5MzA=","avatar_url":"https://avatars0.githubusercontent.com/u/3616930?v=4","gravatar_id":"","url":"https://api.github.com/users/a-ivanov","html_url":"https://github.com/a-ivanov","followers_url":"https://api.github.com/users/a-ivanov/followers","following_url":"https://api.github.com/users/a-ivanov/following{/other_user}","gists_url":"https://api.github.com/users/a-ivanov/gists{/gist_id}","starred_url":"https://api.github.com/users/a-ivanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-ivanov/subscriptions","organizations_url":"https://api.github.com/users/a-ivanov/orgs","repos_url":"https://api.github.com/users/a-ivanov/repos","events_url":"https://api.github.com/users/a-ivanov/events{/privacy}","received_events_url":"https://api.github.com/users/a-ivanov/received_events","type":"User","site_admin":false},"body":"camelCase методы, исправьте.","created_at":"2019-11-05T23:23:06Z","updated_at":"2019-11-05T23:27:33Z","html_url":"https://github.com/simonkrivonosov/smart-home-2019/pull/3#discussion_r342848968","pull_request_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/pulls/3","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/pulls/comments/342848968"},"html":{"href":"https://github.com/simonkrivonosov/smart-home-2019/pull/3#discussion_r342848968"},"pull_request":{"href":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/pulls/3","id":332239187,"node_id":"MDExOlB1bGxSZXF1ZXN0MzMyMjM5MTg3","html_url":"https://github.com/simonkrivonosov/smart-home-2019/pull/3","diff_url":"https://github.com/simonkrivonosov/smart-home-2019/pull/3.diff","patch_url":"https://github.com/simonkrivonosov/smart-home-2019/pull/3.patch","issue_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/issues/3","number":3,"state":"open","locked":false,"title":"hometask-3","user":{"login":"simonkrivonosov","id":43141579,"node_id":"MDQ6VXNlcjQzMTQxNTc5","avatar_url":"https://avatars0.githubusercontent.com/u/43141579?v=4","gravatar_id":"","url":"https://api.github.com/users/simonkrivonosov","html_url":"https://github.com/simonkrivonosov","followers_url":"https://api.github.com/users/simonkrivonosov/followers","following_url":"https://api.github.com/users/simonkrivonosov/following{/other_user}","gists_url":"https://api.github.com/users/simonkrivonosov/gists{/gist_id}","starred_url":"https://api.github.com/users/simonkrivonosov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonkrivonosov/subscriptions","organizations_url":"https://api.github.com/users/simonkrivonosov/orgs","repos_url":"https://api.github.com/users/simonkrivonosov/repos","events_url":"https://api.github.com/users/simonkrivonosov/events{/privacy}","received_events_url":"https://api.github.com/users/simonkrivonosov/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-10-24T20:57:40Z","updated_at":"2019-11-05T23:27:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8ee579293b1c5ee9cf7c012cf60011a8b05f9e87","assignee":null,"assignees":[],"requested_reviewers":[{"login":"sbt-agoshkov","id":9216865,"node_id":"MDQ6VXNlcjkyMTY4NjU=","avatar_url":"https://avatars1.githubusercontent.com/u/9216865?v=4","gravatar_id":"","url":"https://api.github.com/users/sbt-agoshkov","html_url":"https://github.com/sbt-agoshkov","followers_url":"https://api.github.com/users/sbt-agoshkov/followers","following_url":"https://api.github.com/users/sbt-agoshkov/following{/other_user}","gists_url":"https://api.github.com/users/sbt-agoshkov/gists{/gist_id}","starred_url":"https://api.github.com/users/sbt-agoshkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbt-agoshkov/subscriptions","organizations_url":"https://api.github.com/users/sbt-agoshkov/orgs","repos_url":"https://api.github.com/users/sbt-agoshkov/repos","events_url":"https://api.github.com/users/sbt-agoshkov/events{/privacy}","received_events_url":"https://api.github.com/users/sbt-agoshkov/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/pulls/3/commits","review_comments_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/pulls/3/comments","review_comment_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/pulls/comments{/number}","comments_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/issues/3/comments","statuses_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/statuses/4f272c3838d0af995c5c6fb10182e82bc7f48a59","head":{"label":"simonkrivonosov:hometask-3","ref":"hometask-3","sha":"4f272c3838d0af995c5c6fb10182e82bc7f48a59","user":{"login":"simonkrivonosov","id":43141579,"node_id":"MDQ6VXNlcjQzMTQxNTc5","avatar_url":"https://avatars0.githubusercontent.com/u/43141579?v=4","gravatar_id":"","url":"https://api.github.com/users/simonkrivonosov","html_url":"https://github.com/simonkrivonosov","followers_url":"https://api.github.com/users/simonkrivonosov/followers","following_url":"https://api.github.com/users/simonkrivonosov/following{/other_user}","gists_url":"https://api.github.com/users/simonkrivonosov/gists{/gist_id}","starred_url":"https://api.github.com/users/simonkrivonosov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonkrivonosov/subscriptions","organizations_url":"https://api.github.com/users/simonkrivonosov/orgs","repos_url":"https://api.github.com/users/simonkrivonosov/repos","events_url":"https://api.github.com/users/simonkrivonosov/events{/privacy}","received_events_url":"https://api.github.com/users/simonkrivonosov/received_events","type":"User","site_admin":false},"repo":{"id":214211667,"node_id":"MDEwOlJlcG9zaXRvcnkyMTQyMTE2Njc=","name":"smart-home-2019","full_name":"simonkrivonosov/smart-home-2019","private":false,"owner":{"login":"simonkrivonosov","id":43141579,"node_id":"MDQ6VXNlcjQzMTQxNTc5","avatar_url":"https://avatars0.githubusercontent.com/u/43141579?v=4","gravatar_id":"","url":"https://api.github.com/users/simonkrivonosov","html_url":"https://github.com/simonkrivonosov","followers_url":"https://api.github.com/users/simonkrivonosov/followers","following_url":"https://api.github.com/users/simonkrivonosov/following{/other_user}","gists_url":"https://api.github.com/users/simonkrivonosov/gists{/gist_id}","starred_url":"https://api.github.com/users/simonkrivonosov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonkrivonosov/subscriptions","organizations_url":"https://api.github.com/users/simonkrivonosov/orgs","repos_url":"https://api.github.com/users/simonkrivonosov/repos","events_url":"https://api.github.com/users/simonkrivonosov/events{/privacy}","received_events_url":"https://api.github.com/users/simonkrivonosov/received_events","type":"User","site_admin":false},"html_url":"https://github.com/simonkrivonosov/smart-home-2019","description":null,"fork":true,"url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019","forks_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/forks","keys_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/teams","hooks_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/hooks","issue_events_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/issues/events{/number}","events_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/events","assignees_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/assignees{/user}","branches_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/branches{/branch}","tags_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/tags","blobs_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/git/refs{/sha}","trees_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/statuses/{sha}","languages_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/languages","stargazers_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/stargazers","contributors_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/contributors","subscribers_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/subscribers","subscription_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/subscription","commits_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/commits{/sha}","git_commits_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/git/commits{/sha}","comments_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/comments{/number}","issue_comment_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/issues/comments{/number}","contents_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/contents/{+path}","compare_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/merges","archive_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/downloads","issues_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/issues{/number}","pulls_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/pulls{/number}","milestones_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/milestones{/number}","notifications_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/labels{/name}","releases_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/releases{/id}","deployments_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/deployments","created_at":"2019-10-10T14:57:58Z","updated_at":"2019-10-10T14:58:00Z","pushed_at":"2019-11-04T20:32:11Z","git_url":"git://github.com/simonkrivonosov/smart-home-2019.git","ssh_url":"git@github.com:simonkrivonosov/smart-home-2019.git","clone_url":"https://github.com/simonkrivonosov/smart-home-2019.git","svn_url":"https://github.com/simonkrivonosov/smart-home-2019","homepage":null,"size":38,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"simonkrivonosov:hometask-2","ref":"hometask-2","sha":"9b037ede4bdb768a3d87fd9c242edfbbbbcce77d","user":{"login":"simonkrivonosov","id":43141579,"node_id":"MDQ6VXNlcjQzMTQxNTc5","avatar_url":"https://avatars0.githubusercontent.com/u/43141579?v=4","gravatar_id":"","url":"https://api.github.com/users/simonkrivonosov","html_url":"https://github.com/simonkrivonosov","followers_url":"https://api.github.com/users/simonkrivonosov/followers","following_url":"https://api.github.com/users/simonkrivonosov/following{/other_user}","gists_url":"https://api.github.com/users/simonkrivonosov/gists{/gist_id}","starred_url":"https://api.github.com/users/simonkrivonosov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonkrivonosov/subscriptions","organizations_url":"https://api.github.com/users/simonkrivonosov/orgs","repos_url":"https://api.github.com/users/simonkrivonosov/repos","events_url":"https://api.github.com/users/simonkrivonosov/events{/privacy}","received_events_url":"https://api.github.com/users/simonkrivonosov/received_events","type":"User","site_admin":false},"repo":{"id":214211667,"node_id":"MDEwOlJlcG9zaXRvcnkyMTQyMTE2Njc=","name":"smart-home-2019","full_name":"simonkrivonosov/smart-home-2019","private":false,"owner":{"login":"simonkrivonosov","id":43141579,"node_id":"MDQ6VXNlcjQzMTQxNTc5","avatar_url":"https://avatars0.githubusercontent.com/u/43141579?v=4","gravatar_id":"","url":"https://api.github.com/users/simonkrivonosov","html_url":"https://github.com/simonkrivonosov","followers_url":"https://api.github.com/users/simonkrivonosov/followers","following_url":"https://api.github.com/users/simonkrivonosov/following{/other_user}","gists_url":"https://api.github.com/users/simonkrivonosov/gists{/gist_id}","starred_url":"https://api.github.com/users/simonkrivonosov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonkrivonosov/subscriptions","organizations_url":"https://api.github.com/users/simonkrivonosov/orgs","repos_url":"https://api.github.com/users/simonkrivonosov/repos","events_url":"https://api.github.com/users/simonkrivonosov/events{/privacy}","received_events_url":"https://api.github.com/users/simonkrivonosov/received_events","type":"User","site_admin":false},"html_url":"https://github.com/simonkrivonosov/smart-home-2019","description":null,"fork":true,"url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019","forks_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/forks","keys_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/teams","hooks_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/hooks","issue_events_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/issues/events{/number}","events_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/events","assignees_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/assignees{/user}","branches_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/branches{/branch}","tags_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/tags","blobs_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/git/refs{/sha}","trees_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/statuses/{sha}","languages_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/languages","stargazers_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/stargazers","contributors_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/contributors","subscribers_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/subscribers","subscription_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/subscription","commits_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/commits{/sha}","git_commits_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/git/commits{/sha}","comments_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/comments{/number}","issue_comment_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/issues/comments{/number}","contents_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/contents/{+path}","compare_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/merges","archive_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/downloads","issues_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/issues{/number}","pulls_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/pulls{/number}","milestones_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/milestones{/number}","notifications_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/labels{/name}","releases_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/releases{/id}","deployments_url":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/deployments","created_at":"2019-10-10T14:57:58Z","updated_at":"2019-10-10T14:58:00Z","pushed_at":"2019-11-04T20:32:11Z","git_url":"git://github.com/simonkrivonosov/smart-home-2019.git","ssh_url":"git@github.com:simonkrivonosov/smart-home-2019.git","clone_url":"https://github.com/simonkrivonosov/smart-home-2019.git","svn_url":"https://github.com/simonkrivonosov/smart-home-2019","homepage":null,"size":38,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/pulls/3"},"html":{"href":"https://github.com/simonkrivonosov/smart-home-2019/pull/3"},"issue":{"href":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/issues/3"},"comments":{"href":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/simonkrivonosov/smart-home-2019/statuses/4f272c3838d0af995c5c6fb10182e82bc7f48a59"}},"author_association":"OWNER"}}
other: {"actor":{"display_login":"a-ivanov"}}