{"action":"created","comment":{"url":"https://api.github.com/repos/prozes/monitor/pulls/comments/65212881","id":65212881,"diff_hunk":"@@ -56,8 +58,19 @@ public HostsEntity getHostsEntity() {\n         return hostsEntity;\n     }\n \n-    public void setHostsEntity(HostsEntity hostsEntity) {\n-        this.hostsEntity = hostsEntity;\n+    public Long getHid() {\n+        return hid;\n+    }\n+\n+    public void setHid(Long hid) {\n+        this.hid = hid;\n+    }\n+\n+    public void setHostsEntity(HostsEntity hosts) {","path":"src/main/java/com/github/prozes/monitor/entities/SensorsEntity.java","position":32,"original_position":32,"commit_id":"4b32f9595ac91f9d7fcba6684868dd4bfa7ccb44","original_commit_id":"4b32f9595ac91f9d7fcba6684868dd4bfa7ccb44","user":{"login":"bamboleho","id":5726633,"avatar_url":"https://avatars.githubusercontent.com/u/5726633?v=3","gravatar_id":"","url":"https://api.github.com/users/bamboleho","html_url":"https://github.com/bamboleho","followers_url":"https://api.github.com/users/bamboleho/followers","following_url":"https://api.github.com/users/bamboleho/following{/other_user}","gists_url":"https://api.github.com/users/bamboleho/gists{/gist_id}","starred_url":"https://api.github.com/users/bamboleho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bamboleho/subscriptions","organizations_url":"https://api.github.com/users/bamboleho/orgs","repos_url":"https://api.github.com/users/bamboleho/repos","events_url":"https://api.github.com/users/bamboleho/events{/privacy}","received_events_url":"https://api.github.com/users/bamboleho/received_events","type":"User","site_admin":false},"body":"Jeżeli ustawiamy dla sensora relację z hostem to wystarczy stworzyć gettera i settera dla `HostsEntity` i dzięki temu będziemy mieli również dostęp do `hid` (czyli dwie pierwsze metody będą zbędne)","created_at":"2016-05-31T16:07:08Z","updated_at":"2016-05-31T16:07:08Z","html_url":"https://github.com/prozes/monitor/pull/16#discussion_r65212881","pull_request_url":"https://api.github.com/repos/prozes/monitor/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/prozes/monitor/pulls/comments/65212881"},"html":{"href":"https://github.com/prozes/monitor/pull/16#discussion_r65212881"},"pull_request":{"href":"https://api.github.com/repos/prozes/monitor/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/prozes/monitor/pulls/16","id":71943819,"html_url":"https://github.com/prozes/monitor/pull/16","diff_url":"https://github.com/prozes/monitor/pull/16.diff","patch_url":"https://github.com/prozes/monitor/pull/16.patch","issue_url":"https://api.github.com/repos/prozes/monitor/issues/16","number":16,"state":"open","locked":false,"title":"Adding sensors and hosts, optimized imports","user":{"login":"PatrykLesiak","id":5169075,"avatar_url":"https://avatars.githubusercontent.com/u/5169075?v=3","gravatar_id":"","url":"https://api.github.com/users/PatrykLesiak","html_url":"https://github.com/PatrykLesiak","followers_url":"https://api.github.com/users/PatrykLesiak/followers","following_url":"https://api.github.com/users/PatrykLesiak/following{/other_user}","gists_url":"https://api.github.com/users/PatrykLesiak/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrykLesiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrykLesiak/subscriptions","organizations_url":"https://api.github.com/users/PatrykLesiak/orgs","repos_url":"https://api.github.com/users/PatrykLesiak/repos","events_url":"https://api.github.com/users/PatrykLesiak/events{/privacy}","received_events_url":"https://api.github.com/users/PatrykLesiak/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-30T23:27:47Z","updated_at":"2016-05-31T16:07:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d345418172482e2c0eb181ab2820df144cfbe928","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/prozes/monitor/pulls/16/commits","review_comments_url":"https://api.github.com/repos/prozes/monitor/pulls/16/comments","review_comment_url":"https://api.github.com/repos/prozes/monitor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prozes/monitor/issues/16/comments","statuses_url":"https://api.github.com/repos/prozes/monitor/statuses/4b32f9595ac91f9d7fcba6684868dd4bfa7ccb44","head":{"label":"prozes:sensorAndHost","ref":"sensorAndHost","sha":"4b32f9595ac91f9d7fcba6684868dd4bfa7ccb44","user":{"login":"prozes","id":17594361,"avatar_url":"https://avatars.githubusercontent.com/u/17594361?v=3","gravatar_id":"","url":"https://api.github.com/users/prozes","html_url":"https://github.com/prozes","followers_url":"https://api.github.com/users/prozes/followers","following_url":"https://api.github.com/users/prozes/following{/other_user}","gists_url":"https://api.github.com/users/prozes/gists{/gist_id}","starred_url":"https://api.github.com/users/prozes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prozes/subscriptions","organizations_url":"https://api.github.com/users/prozes/orgs","repos_url":"https://api.github.com/users/prozes/repos","events_url":"https://api.github.com/users/prozes/events{/privacy}","received_events_url":"https://api.github.com/users/prozes/received_events","type":"Organization","site_admin":false},"repo":{"id":52966238,"name":"monitor","full_name":"prozes/monitor","owner":{"login":"prozes","id":17594361,"avatar_url":"https://avatars.githubusercontent.com/u/17594361?v=3","gravatar_id":"","url":"https://api.github.com/users/prozes","html_url":"https://github.com/prozes","followers_url":"https://api.github.com/users/prozes/followers","following_url":"https://api.github.com/users/prozes/following{/other_user}","gists_url":"https://api.github.com/users/prozes/gists{/gist_id}","starred_url":"https://api.github.com/users/prozes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prozes/subscriptions","organizations_url":"https://api.github.com/users/prozes/orgs","repos_url":"https://api.github.com/users/prozes/repos","events_url":"https://api.github.com/users/prozes/events{/privacy}","received_events_url":"https://api.github.com/users/prozes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prozes/monitor","description":"","fork":false,"url":"https://api.github.com/repos/prozes/monitor","forks_url":"https://api.github.com/repos/prozes/monitor/forks","keys_url":"https://api.github.com/repos/prozes/monitor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prozes/monitor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prozes/monitor/teams","hooks_url":"https://api.github.com/repos/prozes/monitor/hooks","issue_events_url":"https://api.github.com/repos/prozes/monitor/issues/events{/number}","events_url":"https://api.github.com/repos/prozes/monitor/events","assignees_url":"https://api.github.com/repos/prozes/monitor/assignees{/user}","branches_url":"https://api.github.com/repos/prozes/monitor/branches{/branch}","tags_url":"https://api.github.com/repos/prozes/monitor/tags","blobs_url":"https://api.github.com/repos/prozes/monitor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prozes/monitor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prozes/monitor/git/refs{/sha}","trees_url":"https://api.github.com/repos/prozes/monitor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prozes/monitor/statuses/{sha}","languages_url":"https://api.github.com/repos/prozes/monitor/languages","stargazers_url":"https://api.github.com/repos/prozes/monitor/stargazers","contributors_url":"https://api.github.com/repos/prozes/monitor/contributors","subscribers_url":"https://api.github.com/repos/prozes/monitor/subscribers","subscription_url":"https://api.github.com/repos/prozes/monitor/subscription","commits_url":"https://api.github.com/repos/prozes/monitor/commits{/sha}","git_commits_url":"https://api.github.com/repos/prozes/monitor/git/commits{/sha}","comments_url":"https://api.github.com/repos/prozes/monitor/comments{/number}","issue_comment_url":"https://api.github.com/repos/prozes/monitor/issues/comments{/number}","contents_url":"https://api.github.com/repos/prozes/monitor/contents/{+path}","compare_url":"https://api.github.com/repos/prozes/monitor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prozes/monitor/merges","archive_url":"https://api.github.com/repos/prozes/monitor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prozes/monitor/downloads","issues_url":"https://api.github.com/repos/prozes/monitor/issues{/number}","pulls_url":"https://api.github.com/repos/prozes/monitor/pulls{/number}","milestones_url":"https://api.github.com/repos/prozes/monitor/milestones{/number}","notifications_url":"https://api.github.com/repos/prozes/monitor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prozes/monitor/labels{/name}","releases_url":"https://api.github.com/repos/prozes/monitor/releases{/id}","deployments_url":"https://api.github.com/repos/prozes/monitor/deployments","created_at":"2016-03-02T13:50:10Z","updated_at":"2016-03-06T17:51:58Z","pushed_at":"2016-05-31T15:43:54Z","git_url":"git://github.com/prozes/monitor.git","ssh_url":"git@github.com:prozes/monitor.git","clone_url":"https://github.com/prozes/monitor.git","svn_url":"https://github.com/prozes/monitor","homepage":null,"size":150,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"prozes:master","ref":"master","sha":"326fda111b045fccde34b83ca07dd911481d657b","user":{"login":"prozes","id":17594361,"avatar_url":"https://avatars.githubusercontent.com/u/17594361?v=3","gravatar_id":"","url":"https://api.github.com/users/prozes","html_url":"https://github.com/prozes","followers_url":"https://api.github.com/users/prozes/followers","following_url":"https://api.github.com/users/prozes/following{/other_user}","gists_url":"https://api.github.com/users/prozes/gists{/gist_id}","starred_url":"https://api.github.com/users/prozes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prozes/subscriptions","organizations_url":"https://api.github.com/users/prozes/orgs","repos_url":"https://api.github.com/users/prozes/repos","events_url":"https://api.github.com/users/prozes/events{/privacy}","received_events_url":"https://api.github.com/users/prozes/received_events","type":"Organization","site_admin":false},"repo":{"id":52966238,"name":"monitor","full_name":"prozes/monitor","owner":{"login":"prozes","id":17594361,"avatar_url":"https://avatars.githubusercontent.com/u/17594361?v=3","gravatar_id":"","url":"https://api.github.com/users/prozes","html_url":"https://github.com/prozes","followers_url":"https://api.github.com/users/prozes/followers","following_url":"https://api.github.com/users/prozes/following{/other_user}","gists_url":"https://api.github.com/users/prozes/gists{/gist_id}","starred_url":"https://api.github.com/users/prozes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prozes/subscriptions","organizations_url":"https://api.github.com/users/prozes/orgs","repos_url":"https://api.github.com/users/prozes/repos","events_url":"https://api.github.com/users/prozes/events{/privacy}","received_events_url":"https://api.github.com/users/prozes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prozes/monitor","description":"","fork":false,"url":"https://api.github.com/repos/prozes/monitor","forks_url":"https://api.github.com/repos/prozes/monitor/forks","keys_url":"https://api.github.com/repos/prozes/monitor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prozes/monitor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prozes/monitor/teams","hooks_url":"https://api.github.com/repos/prozes/monitor/hooks","issue_events_url":"https://api.github.com/repos/prozes/monitor/issues/events{/number}","events_url":"https://api.github.com/repos/prozes/monitor/events","assignees_url":"https://api.github.com/repos/prozes/monitor/assignees{/user}","branches_url":"https://api.github.com/repos/prozes/monitor/branches{/branch}","tags_url":"https://api.github.com/repos/prozes/monitor/tags","blobs_url":"https://api.github.com/repos/prozes/monitor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prozes/monitor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prozes/monitor/git/refs{/sha}","trees_url":"https://api.github.com/repos/prozes/monitor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prozes/monitor/statuses/{sha}","languages_url":"https://api.github.com/repos/prozes/monitor/languages","stargazers_url":"https://api.github.com/repos/prozes/monitor/stargazers","contributors_url":"https://api.github.com/repos/prozes/monitor/contributors","subscribers_url":"https://api.github.com/repos/prozes/monitor/subscribers","subscription_url":"https://api.github.com/repos/prozes/monitor/subscription","commits_url":"https://api.github.com/repos/prozes/monitor/commits{/sha}","git_commits_url":"https://api.github.com/repos/prozes/monitor/git/commits{/sha}","comments_url":"https://api.github.com/repos/prozes/monitor/comments{/number}","issue_comment_url":"https://api.github.com/repos/prozes/monitor/issues/comments{/number}","contents_url":"https://api.github.com/repos/prozes/monitor/contents/{+path}","compare_url":"https://api.github.com/repos/prozes/monitor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prozes/monitor/merges","archive_url":"https://api.github.com/repos/prozes/monitor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prozes/monitor/downloads","issues_url":"https://api.github.com/repos/prozes/monitor/issues{/number}","pulls_url":"https://api.github.com/repos/prozes/monitor/pulls{/number}","milestones_url":"https://api.github.com/repos/prozes/monitor/milestones{/number}","notifications_url":"https://api.github.com/repos/prozes/monitor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prozes/monitor/labels{/name}","releases_url":"https://api.github.com/repos/prozes/monitor/releases{/id}","deployments_url":"https://api.github.com/repos/prozes/monitor/deployments","created_at":"2016-03-02T13:50:10Z","updated_at":"2016-03-06T17:51:58Z","pushed_at":"2016-05-31T15:43:54Z","git_url":"git://github.com/prozes/monitor.git","ssh_url":"git@github.com:prozes/monitor.git","clone_url":"https://github.com/prozes/monitor.git","svn_url":"https://github.com/prozes/monitor","homepage":null,"size":150,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prozes/monitor/pulls/16"},"html":{"href":"https://github.com/prozes/monitor/pull/16"},"issue":{"href":"https://api.github.com/repos/prozes/monitor/issues/16"},"comments":{"href":"https://api.github.com/repos/prozes/monitor/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/prozes/monitor/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/prozes/monitor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prozes/monitor/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/prozes/monitor/statuses/4b32f9595ac91f9d7fcba6684868dd4bfa7ccb44"}}}}
{"actor":{"display_login":"bamboleho"}}