{"action":"created","comment":{"url":"https://api.github.com/repos/edson-gonzales/SICARIOS/pulls/comments/39799154","id":39799154,"diff_hunk":"@@ -0,0 +1,96 @@\n+import random\n+import null as null\n+\n+__author__ = 'marcelo_garay'\n+\n+\n+class Person(object):\n+    \"\"\"\n+    Person class cna get, set the name and last name. It will add, update \n+    or delete the person.\n+    \"\"\"\n+    _codes_used = list()  # Code used for a person\n+    _code = 0\n+    _CODE_MIN = 1\n+    _CODE_MAX = 5\n+\n+    def __init__(self, first_name, last_name):\n+        \"\"\"\n+        Initialize first_name and last_name\n+        :param first_name: String\n+        :param last_name: String\n+        :return:\n+        \"\"\"\n+        self._first_name = first_name\n+        self._last_name = last_name\n+        self._code = self.generate_code\n+\n+    def get_first_name(self):\n+        \"\"\"\n+        Get Name\n+        :return: String\n+        \"\"\"\n+        return self._first_name\n+\n+    def get_last_name(self):\n+        \"\"\"\n+        Get Last name\n+        :return: String\n+        \"\"\"\n+        return self._last_name\n+\n+    def set_first_name(self, name):\n+        \"\"\"\n+        Set Name over the person created\n+        :param name:  String\n+        :return: void\n+        \"\"\"\n+        self._first_name = name\n+\n+    def set_last_name(self, last_name):\n+        \"\"\"\n+        Set Last name over the person created\n+        :param last_name: String\n+        :return: void\n+        \"\"\"\n+        self._last_name = last_name\n+\n+    def remove(self):\n+        \"\"\"\n+        Person is removeed","path":"src/admin_module/user_module/person.py","position":60,"original_position":60,"commit_id":"48cc7f4a0964c08665cd83715594966541a29fbf","original_commit_id":"48cc7f4a0964c08665cd83715594966541a29fbf","user":{"login":"edson-gonzales","id":4943497,"avatar_url":"https://avatars.githubusercontent.com/u/4943497?v=3","gravatar_id":"","url":"https://api.github.com/users/edson-gonzales","html_url":"https://github.com/edson-gonzales","followers_url":"https://api.github.com/users/edson-gonzales/followers","following_url":"https://api.github.com/users/edson-gonzales/following{/other_user}","gists_url":"https://api.github.com/users/edson-gonzales/gists{/gist_id}","starred_url":"https://api.github.com/users/edson-gonzales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edson-gonzales/subscriptions","organizations_url":"https://api.github.com/users/edson-gonzales/orgs","repos_url":"https://api.github.com/users/edson-gonzales/repos","events_url":"https://api.github.com/users/edson-gonzales/events{/privacy}","received_events_url":"https://api.github.com/users/edson-gonzales/received_events","type":"User","site_admin":false},"body":"misspelling\r\n","created_at":"2015-09-17T21:07:30Z","updated_at":"2015-09-17T21:07:30Z","html_url":"https://github.com/edson-gonzales/SICARIOS/pull/7#discussion_r39799154","pull_request_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/edson-gonzales/SICARIOS/pulls/comments/39799154"},"html":{"href":"https://github.com/edson-gonzales/SICARIOS/pull/7#discussion_r39799154"},"pull_request":{"href":"https://api.github.com/repos/edson-gonzales/SICARIOS/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/edson-gonzales/SICARIOS/pulls/7","id":45224174,"html_url":"https://github.com/edson-gonzales/SICARIOS/pull/7","diff_url":"https://github.com/edson-gonzales/SICARIOS/pull/7.diff","patch_url":"https://github.com/edson-gonzales/SICARIOS/pull/7.patch","issue_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/issues/7","number":7,"state":"open","locked":false,"title":"Mg person","user":{"login":"marcelogaray","id":3451190,"avatar_url":"https://avatars.githubusercontent.com/u/3451190?v=3","gravatar_id":"","url":"https://api.github.com/users/marcelogaray","html_url":"https://github.com/marcelogaray","followers_url":"https://api.github.com/users/marcelogaray/followers","following_url":"https://api.github.com/users/marcelogaray/following{/other_user}","gists_url":"https://api.github.com/users/marcelogaray/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelogaray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelogaray/subscriptions","organizations_url":"https://api.github.com/users/marcelogaray/orgs","repos_url":"https://api.github.com/users/marcelogaray/repos","events_url":"https://api.github.com/users/marcelogaray/events{/privacy}","received_events_url":"https://api.github.com/users/marcelogaray/received_events","type":"User","site_admin":false},"body":"Edson codereview about the standars comments\r\nUsing PEP257 standars to apply over comments for each module in the Person class","created_at":"2015-09-16T21:05:12Z","updated_at":"2015-09-17T21:07:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3942954011f2589359efd21c9a52101926e9a40d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/pulls/7/commits","review_comments_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/pulls/7/comments","review_comment_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/issues/7/comments","statuses_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/statuses/48cc7f4a0964c08665cd83715594966541a29fbf","head":{"label":"marcelogaray:mg_person","ref":"mg_person","sha":"48cc7f4a0964c08665cd83715594966541a29fbf","user":{"login":"marcelogaray","id":3451190,"avatar_url":"https://avatars.githubusercontent.com/u/3451190?v=3","gravatar_id":"","url":"https://api.github.com/users/marcelogaray","html_url":"https://github.com/marcelogaray","followers_url":"https://api.github.com/users/marcelogaray/followers","following_url":"https://api.github.com/users/marcelogaray/following{/other_user}","gists_url":"https://api.github.com/users/marcelogaray/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelogaray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelogaray/subscriptions","organizations_url":"https://api.github.com/users/marcelogaray/orgs","repos_url":"https://api.github.com/users/marcelogaray/repos","events_url":"https://api.github.com/users/marcelogaray/events{/privacy}","received_events_url":"https://api.github.com/users/marcelogaray/received_events","type":"User","site_admin":false},"repo":{"id":41937677,"name":"SICARIOS","full_name":"marcelogaray/SICARIOS","owner":{"login":"marcelogaray","id":3451190,"avatar_url":"https://avatars.githubusercontent.com/u/3451190?v=3","gravatar_id":"","url":"https://api.github.com/users/marcelogaray","html_url":"https://github.com/marcelogaray","followers_url":"https://api.github.com/users/marcelogaray/followers","following_url":"https://api.github.com/users/marcelogaray/following{/other_user}","gists_url":"https://api.github.com/users/marcelogaray/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelogaray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelogaray/subscriptions","organizations_url":"https://api.github.com/users/marcelogaray/orgs","repos_url":"https://api.github.com/users/marcelogaray/repos","events_url":"https://api.github.com/users/marcelogaray/events{/privacy}","received_events_url":"https://api.github.com/users/marcelogaray/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marcelogaray/SICARIOS","description":"","fork":true,"url":"https://api.github.com/repos/marcelogaray/SICARIOS","forks_url":"https://api.github.com/repos/marcelogaray/SICARIOS/forks","keys_url":"https://api.github.com/repos/marcelogaray/SICARIOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marcelogaray/SICARIOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marcelogaray/SICARIOS/teams","hooks_url":"https://api.github.com/repos/marcelogaray/SICARIOS/hooks","issue_events_url":"https://api.github.com/repos/marcelogaray/SICARIOS/issues/events{/number}","events_url":"https://api.github.com/repos/marcelogaray/SICARIOS/events","assignees_url":"https://api.github.com/repos/marcelogaray/SICARIOS/assignees{/user}","branches_url":"https://api.github.com/repos/marcelogaray/SICARIOS/branches{/branch}","tags_url":"https://api.github.com/repos/marcelogaray/SICARIOS/tags","blobs_url":"https://api.github.com/repos/marcelogaray/SICARIOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marcelogaray/SICARIOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marcelogaray/SICARIOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/marcelogaray/SICARIOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marcelogaray/SICARIOS/statuses/{sha}","languages_url":"https://api.github.com/repos/marcelogaray/SICARIOS/languages","stargazers_url":"https://api.github.com/repos/marcelogaray/SICARIOS/stargazers","contributors_url":"https://api.github.com/repos/marcelogaray/SICARIOS/contributors","subscribers_url":"https://api.github.com/repos/marcelogaray/SICARIOS/subscribers","subscription_url":"https://api.github.com/repos/marcelogaray/SICARIOS/subscription","commits_url":"https://api.github.com/repos/marcelogaray/SICARIOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/marcelogaray/SICARIOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/marcelogaray/SICARIOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/marcelogaray/SICARIOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/marcelogaray/SICARIOS/contents/{+path}","compare_url":"https://api.github.com/repos/marcelogaray/SICARIOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marcelogaray/SICARIOS/merges","archive_url":"https://api.github.com/repos/marcelogaray/SICARIOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marcelogaray/SICARIOS/downloads","issues_url":"https://api.github.com/repos/marcelogaray/SICARIOS/issues{/number}","pulls_url":"https://api.github.com/repos/marcelogaray/SICARIOS/pulls{/number}","milestones_url":"https://api.github.com/repos/marcelogaray/SICARIOS/milestones{/number}","notifications_url":"https://api.github.com/repos/marcelogaray/SICARIOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marcelogaray/SICARIOS/labels{/name}","releases_url":"https://api.github.com/repos/marcelogaray/SICARIOS/releases{/id}","created_at":"2015-09-04T21:04:17Z","updated_at":"2015-09-03T20:55:37Z","pushed_at":"2015-09-17T20:46:18Z","git_url":"git://github.com/marcelogaray/SICARIOS.git","ssh_url":"git@github.com:marcelogaray/SICARIOS.git","clone_url":"https://github.com/marcelogaray/SICARIOS.git","svn_url":"https://github.com/marcelogaray/SICARIOS","homepage":null,"size":105,"stargazers_count":0,"watchers_count":0,"language":null,"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":"edson-gonzales:master","ref":"master","sha":"5b61ee544f4b5c7a026faa2049d8b1ce0c3f1774","user":{"login":"edson-gonzales","id":4943497,"avatar_url":"https://avatars.githubusercontent.com/u/4943497?v=3","gravatar_id":"","url":"https://api.github.com/users/edson-gonzales","html_url":"https://github.com/edson-gonzales","followers_url":"https://api.github.com/users/edson-gonzales/followers","following_url":"https://api.github.com/users/edson-gonzales/following{/other_user}","gists_url":"https://api.github.com/users/edson-gonzales/gists{/gist_id}","starred_url":"https://api.github.com/users/edson-gonzales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edson-gonzales/subscriptions","organizations_url":"https://api.github.com/users/edson-gonzales/orgs","repos_url":"https://api.github.com/users/edson-gonzales/repos","events_url":"https://api.github.com/users/edson-gonzales/events{/privacy}","received_events_url":"https://api.github.com/users/edson-gonzales/received_events","type":"User","site_admin":false},"repo":{"id":41883334,"name":"SICARIOS","full_name":"edson-gonzales/SICARIOS","owner":{"login":"edson-gonzales","id":4943497,"avatar_url":"https://avatars.githubusercontent.com/u/4943497?v=3","gravatar_id":"","url":"https://api.github.com/users/edson-gonzales","html_url":"https://github.com/edson-gonzales","followers_url":"https://api.github.com/users/edson-gonzales/followers","following_url":"https://api.github.com/users/edson-gonzales/following{/other_user}","gists_url":"https://api.github.com/users/edson-gonzales/gists{/gist_id}","starred_url":"https://api.github.com/users/edson-gonzales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edson-gonzales/subscriptions","organizations_url":"https://api.github.com/users/edson-gonzales/orgs","repos_url":"https://api.github.com/users/edson-gonzales/repos","events_url":"https://api.github.com/users/edson-gonzales/events{/privacy}","received_events_url":"https://api.github.com/users/edson-gonzales/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/edson-gonzales/SICARIOS","description":"","fork":false,"url":"https://api.github.com/repos/edson-gonzales/SICARIOS","forks_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/forks","keys_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/teams","hooks_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/hooks","issue_events_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/issues/events{/number}","events_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/events","assignees_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/assignees{/user}","branches_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/branches{/branch}","tags_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/tags","blobs_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/statuses/{sha}","languages_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/languages","stargazers_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/stargazers","contributors_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/contributors","subscribers_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/subscribers","subscription_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/subscription","commits_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/contents/{+path}","compare_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/merges","archive_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/downloads","issues_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/issues{/number}","pulls_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/pulls{/number}","milestones_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/milestones{/number}","notifications_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/labels{/name}","releases_url":"https://api.github.com/repos/edson-gonzales/SICARIOS/releases{/id}","created_at":"2015-09-03T20:55:37Z","updated_at":"2015-09-17T21:03:28Z","pushed_at":"2015-09-17T21:03:28Z","git_url":"git://github.com/edson-gonzales/SICARIOS.git","ssh_url":"git@github.com:edson-gonzales/SICARIOS.git","clone_url":"https://github.com/edson-gonzales/SICARIOS.git","svn_url":"https://github.com/edson-gonzales/SICARIOS","homepage":null,"size":332,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edson-gonzales/SICARIOS/pulls/7"},"html":{"href":"https://github.com/edson-gonzales/SICARIOS/pull/7"},"issue":{"href":"https://api.github.com/repos/edson-gonzales/SICARIOS/issues/7"},"comments":{"href":"https://api.github.com/repos/edson-gonzales/SICARIOS/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/edson-gonzales/SICARIOS/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/edson-gonzales/SICARIOS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edson-gonzales/SICARIOS/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/edson-gonzales/SICARIOS/statuses/48cc7f4a0964c08665cd83715594966541a29fbf"}}}}