{"action":"created","comment":{"url":"https://api.github.com/repos/aruzamen/POCRestful/pulls/comments/33995684","id":33995684,"diff_hunk":"@@ -0,0 +1,52 @@\n+package Resources.Model;\n+\n+import Model.Roles;\n+import Model.UserRoles;\n+\n+public class Rol {    \n+    private int id;\n+    private String name;\n+    private String description;\n+\n+    public Rol(UserRoles userRoles) {\n+        this.id = userRoles.getRoles().getId();\n+        this.name = userRoles.getRoles().getName();\n+        this.description = userRoles.getRoles().getDescription();\n+    }\n+    \n+    public Rol(Roles roles) {\n+        this.id = roles.getId();\n+        this.name = roles.getName();\n+        this.description = roles.getDescription();\n+    }\n+\n+    public Rol(int id, String name, String description) {\n+        this.id = id;\n+        this.name = name;\n+        this.description = description;\n+    }        \n+    \n+    public int getId() {","path":"POCServer/src/java/Resources/Model/Rol.java","position":29,"original_position":29,"commit_id":"b234ae758d752c76368bb992107bf567ce3ecd9e","original_commit_id":"b234ae758d752c76368bb992107bf567ce3ecd9e","user":{"login":"aruzamen","id":1790784,"avatar_url":"https://avatars.githubusercontent.com/u/1790784?v=3","gravatar_id":"","url":"https://api.github.com/users/aruzamen","html_url":"https://github.com/aruzamen","followers_url":"https://api.github.com/users/aruzamen/followers","following_url":"https://api.github.com/users/aruzamen/following{/other_user}","gists_url":"https://api.github.com/users/aruzamen/gists{/gist_id}","starred_url":"https://api.github.com/users/aruzamen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aruzamen/subscriptions","organizations_url":"https://api.github.com/users/aruzamen/orgs","repos_url":"https://api.github.com/users/aruzamen/repos","events_url":"https://api.github.com/users/aruzamen/events{/privacy}","received_events_url":"https://api.github.com/users/aruzamen/received_events","type":"User","site_admin":false},"body":"Only as comment here you can use Lombok to avoid create setters and getters for each property in the class. Please review documentation about Lombok, because we use it in the backend project.","created_at":"2015-07-06T23:48:20Z","updated_at":"2015-07-06T23:48:20Z","html_url":"https://github.com/aruzamen/POCRestful/pull/3#discussion_r33995684","pull_request_url":"https://api.github.com/repos/aruzamen/POCRestful/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/aruzamen/POCRestful/pulls/comments/33995684"},"html":{"href":"https://github.com/aruzamen/POCRestful/pull/3#discussion_r33995684"},"pull_request":{"href":"https://api.github.com/repos/aruzamen/POCRestful/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/aruzamen/POCRestful/pulls/3","id":39318053,"html_url":"https://github.com/aruzamen/POCRestful/pull/3","diff_url":"https://github.com/aruzamen/POCRestful/pull/3.diff","patch_url":"https://github.com/aruzamen/POCRestful/pull/3.patch","issue_url":"https://api.github.com/repos/aruzamen/POCRestful/issues/3","number":3,"state":"open","locked":false,"title":"POC RESTful - Walter","user":{"login":"tico321","id":4684698,"avatar_url":"https://avatars.githubusercontent.com/u/4684698?v=3","gravatar_id":"","url":"https://api.github.com/users/tico321","html_url":"https://github.com/tico321","followers_url":"https://api.github.com/users/tico321/followers","following_url":"https://api.github.com/users/tico321/following{/other_user}","gists_url":"https://api.github.com/users/tico321/gists{/gist_id}","starred_url":"https://api.github.com/users/tico321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tico321/subscriptions","organizations_url":"https://api.github.com/users/tico321/orgs","repos_url":"https://api.github.com/users/tico321/repos","events_url":"https://api.github.com/users/tico321/events{/privacy}","received_events_url":"https://api.github.com/users/tico321/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-06T22:31:32Z","updated_at":"2015-07-06T23:48:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"317d1ef524a5c43fe6d7811b5eaf0e921cd63085","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aruzamen/POCRestful/pulls/3/commits","review_comments_url":"https://api.github.com/repos/aruzamen/POCRestful/pulls/3/comments","review_comment_url":"https://api.github.com/repos/aruzamen/POCRestful/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aruzamen/POCRestful/issues/3/comments","statuses_url":"https://api.github.com/repos/aruzamen/POCRestful/statuses/b234ae758d752c76368bb992107bf567ce3ecd9e","head":{"label":"tico321:master","ref":"master","sha":"b234ae758d752c76368bb992107bf567ce3ecd9e","user":{"login":"tico321","id":4684698,"avatar_url":"https://avatars.githubusercontent.com/u/4684698?v=3","gravatar_id":"","url":"https://api.github.com/users/tico321","html_url":"https://github.com/tico321","followers_url":"https://api.github.com/users/tico321/followers","following_url":"https://api.github.com/users/tico321/following{/other_user}","gists_url":"https://api.github.com/users/tico321/gists{/gist_id}","starred_url":"https://api.github.com/users/tico321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tico321/subscriptions","organizations_url":"https://api.github.com/users/tico321/orgs","repos_url":"https://api.github.com/users/tico321/repos","events_url":"https://api.github.com/users/tico321/events{/privacy}","received_events_url":"https://api.github.com/users/tico321/received_events","type":"User","site_admin":false},"repo":{"id":38638342,"name":"POCRESTful","full_name":"tico321/POCRESTful","owner":{"login":"tico321","id":4684698,"avatar_url":"https://avatars.githubusercontent.com/u/4684698?v=3","gravatar_id":"","url":"https://api.github.com/users/tico321","html_url":"https://github.com/tico321","followers_url":"https://api.github.com/users/tico321/followers","following_url":"https://api.github.com/users/tico321/following{/other_user}","gists_url":"https://api.github.com/users/tico321/gists{/gist_id}","starred_url":"https://api.github.com/users/tico321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tico321/subscriptions","organizations_url":"https://api.github.com/users/tico321/orgs","repos_url":"https://api.github.com/users/tico321/repos","events_url":"https://api.github.com/users/tico321/events{/privacy}","received_events_url":"https://api.github.com/users/tico321/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tico321/POCRESTful","description":"","fork":true,"url":"https://api.github.com/repos/tico321/POCRESTful","forks_url":"https://api.github.com/repos/tico321/POCRESTful/forks","keys_url":"https://api.github.com/repos/tico321/POCRESTful/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tico321/POCRESTful/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tico321/POCRESTful/teams","hooks_url":"https://api.github.com/repos/tico321/POCRESTful/hooks","issue_events_url":"https://api.github.com/repos/tico321/POCRESTful/issues/events{/number}","events_url":"https://api.github.com/repos/tico321/POCRESTful/events","assignees_url":"https://api.github.com/repos/tico321/POCRESTful/assignees{/user}","branches_url":"https://api.github.com/repos/tico321/POCRESTful/branches{/branch}","tags_url":"https://api.github.com/repos/tico321/POCRESTful/tags","blobs_url":"https://api.github.com/repos/tico321/POCRESTful/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tico321/POCRESTful/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tico321/POCRESTful/git/refs{/sha}","trees_url":"https://api.github.com/repos/tico321/POCRESTful/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tico321/POCRESTful/statuses/{sha}","languages_url":"https://api.github.com/repos/tico321/POCRESTful/languages","stargazers_url":"https://api.github.com/repos/tico321/POCRESTful/stargazers","contributors_url":"https://api.github.com/repos/tico321/POCRESTful/contributors","subscribers_url":"https://api.github.com/repos/tico321/POCRESTful/subscribers","subscription_url":"https://api.github.com/repos/tico321/POCRESTful/subscription","commits_url":"https://api.github.com/repos/tico321/POCRESTful/commits{/sha}","git_commits_url":"https://api.github.com/repos/tico321/POCRESTful/git/commits{/sha}","comments_url":"https://api.github.com/repos/tico321/POCRESTful/comments{/number}","issue_comment_url":"https://api.github.com/repos/tico321/POCRESTful/issues/comments{/number}","contents_url":"https://api.github.com/repos/tico321/POCRESTful/contents/{+path}","compare_url":"https://api.github.com/repos/tico321/POCRESTful/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tico321/POCRESTful/merges","archive_url":"https://api.github.com/repos/tico321/POCRESTful/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tico321/POCRESTful/downloads","issues_url":"https://api.github.com/repos/tico321/POCRESTful/issues{/number}","pulls_url":"https://api.github.com/repos/tico321/POCRESTful/pulls{/number}","milestones_url":"https://api.github.com/repos/tico321/POCRESTful/milestones{/number}","notifications_url":"https://api.github.com/repos/tico321/POCRESTful/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tico321/POCRESTful/labels{/name}","releases_url":"https://api.github.com/repos/tico321/POCRESTful/releases{/id}","created_at":"2015-07-06T18:34:18Z","updated_at":"2015-07-06T22:38:54Z","pushed_at":"2015-07-06T22:30:28Z","git_url":"git://github.com/tico321/POCRESTful.git","ssh_url":"git@github.com:tico321/POCRESTful.git","clone_url":"https://github.com/tico321/POCRESTful.git","svn_url":"https://github.com/tico321/POCRESTful","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"aruzamen:master","ref":"master","sha":"bfaa2f4a928f466a9775bacdd3aeb975a3d50be5","user":{"login":"aruzamen","id":1790784,"avatar_url":"https://avatars.githubusercontent.com/u/1790784?v=3","gravatar_id":"","url":"https://api.github.com/users/aruzamen","html_url":"https://github.com/aruzamen","followers_url":"https://api.github.com/users/aruzamen/followers","following_url":"https://api.github.com/users/aruzamen/following{/other_user}","gists_url":"https://api.github.com/users/aruzamen/gists{/gist_id}","starred_url":"https://api.github.com/users/aruzamen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aruzamen/subscriptions","organizations_url":"https://api.github.com/users/aruzamen/orgs","repos_url":"https://api.github.com/users/aruzamen/repos","events_url":"https://api.github.com/users/aruzamen/events{/privacy}","received_events_url":"https://api.github.com/users/aruzamen/received_events","type":"User","site_admin":false},"repo":{"id":38628965,"name":"POCRestful","full_name":"aruzamen/POCRestful","owner":{"login":"aruzamen","id":1790784,"avatar_url":"https://avatars.githubusercontent.com/u/1790784?v=3","gravatar_id":"","url":"https://api.github.com/users/aruzamen","html_url":"https://github.com/aruzamen","followers_url":"https://api.github.com/users/aruzamen/followers","following_url":"https://api.github.com/users/aruzamen/following{/other_user}","gists_url":"https://api.github.com/users/aruzamen/gists{/gist_id}","starred_url":"https://api.github.com/users/aruzamen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aruzamen/subscriptions","organizations_url":"https://api.github.com/users/aruzamen/orgs","repos_url":"https://api.github.com/users/aruzamen/repos","events_url":"https://api.github.com/users/aruzamen/events{/privacy}","received_events_url":"https://api.github.com/users/aruzamen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aruzamen/POCRestful","description":"","fork":false,"url":"https://api.github.com/repos/aruzamen/POCRestful","forks_url":"https://api.github.com/repos/aruzamen/POCRestful/forks","keys_url":"https://api.github.com/repos/aruzamen/POCRestful/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aruzamen/POCRestful/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aruzamen/POCRestful/teams","hooks_url":"https://api.github.com/repos/aruzamen/POCRestful/hooks","issue_events_url":"https://api.github.com/repos/aruzamen/POCRestful/issues/events{/number}","events_url":"https://api.github.com/repos/aruzamen/POCRestful/events","assignees_url":"https://api.github.com/repos/aruzamen/POCRestful/assignees{/user}","branches_url":"https://api.github.com/repos/aruzamen/POCRestful/branches{/branch}","tags_url":"https://api.github.com/repos/aruzamen/POCRestful/tags","blobs_url":"https://api.github.com/repos/aruzamen/POCRestful/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aruzamen/POCRestful/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aruzamen/POCRestful/git/refs{/sha}","trees_url":"https://api.github.com/repos/aruzamen/POCRestful/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aruzamen/POCRestful/statuses/{sha}","languages_url":"https://api.github.com/repos/aruzamen/POCRestful/languages","stargazers_url":"https://api.github.com/repos/aruzamen/POCRestful/stargazers","contributors_url":"https://api.github.com/repos/aruzamen/POCRestful/contributors","subscribers_url":"https://api.github.com/repos/aruzamen/POCRestful/subscribers","subscription_url":"https://api.github.com/repos/aruzamen/POCRestful/subscription","commits_url":"https://api.github.com/repos/aruzamen/POCRestful/commits{/sha}","git_commits_url":"https://api.github.com/repos/aruzamen/POCRestful/git/commits{/sha}","comments_url":"https://api.github.com/repos/aruzamen/POCRestful/comments{/number}","issue_comment_url":"https://api.github.com/repos/aruzamen/POCRestful/issues/comments{/number}","contents_url":"https://api.github.com/repos/aruzamen/POCRestful/contents/{+path}","compare_url":"https://api.github.com/repos/aruzamen/POCRestful/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aruzamen/POCRestful/merges","archive_url":"https://api.github.com/repos/aruzamen/POCRestful/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aruzamen/POCRestful/downloads","issues_url":"https://api.github.com/repos/aruzamen/POCRestful/issues{/number}","pulls_url":"https://api.github.com/repos/aruzamen/POCRestful/pulls{/number}","milestones_url":"https://api.github.com/repos/aruzamen/POCRestful/milestones{/number}","notifications_url":"https://api.github.com/repos/aruzamen/POCRestful/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aruzamen/POCRestful/labels{/name}","releases_url":"https://api.github.com/repos/aruzamen/POCRestful/releases{/id}","created_at":"2015-07-06T15:48:23Z","updated_at":"2015-07-06T22:19:58Z","pushed_at":"2015-07-06T23:16:21Z","git_url":"git://github.com/aruzamen/POCRestful.git","ssh_url":"git@github.com:aruzamen/POCRestful.git","clone_url":"https://github.com/aruzamen/POCRestful.git","svn_url":"https://github.com/aruzamen/POCRestful","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aruzamen/POCRestful/pulls/3"},"html":{"href":"https://github.com/aruzamen/POCRestful/pull/3"},"issue":{"href":"https://api.github.com/repos/aruzamen/POCRestful/issues/3"},"comments":{"href":"https://api.github.com/repos/aruzamen/POCRestful/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/aruzamen/POCRestful/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/aruzamen/POCRestful/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aruzamen/POCRestful/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/aruzamen/POCRestful/statuses/b234ae758d752c76368bb992107bf567ce3ecd9e"}}}}