{"action":"created","comment":{"url":"https://api.github.com/repos/mungaiandela/cp1a-amity/pulls/comments/106877629","pull_request_review_id":27813761,"id":106877629,"diff_hunk":"@@ -0,0 +1,221 @@\n+#!/usr/bin/python\n+# -*- coding: utf-8 -*-\n+\n+import random\n+import sys\n+from Office import Office\n+from LivingSpace import LivingSpace\n+from Fellow import Fellow\n+from Staff import Staff\n+\n+\n+class Amity(object):\n+    '''\n+    Rooms dictionary containing created offices or living spaces.\n+    Room names are stored in lists.\n+    '''\n+    rooms = {\"Office\": [], \"LivingSpace\": []}\n+    people = {\n+        \"FELLOWS\": [],\n+        \"STAFF\": []\n+    }\n+    allocated_persons = []\n+    unallocated_persons = []\n+\n+    def create_room(self, room_name, room_type):\n+        if type(room_name) != str:\n+            print \"Room name should be a string\"\n+            try:\n+                sys.exit()\n+            except:\n+                print \"Exception accomodates tdd\"\n+        if room_name in self.get_roomname(self.rooms[\"LivingSpace\"]):\n+            print \"Cannot create duplicate rooms\"\n+            try:\n+                sys.exit()\n+            except:\n+                print \"Exception accomodates tdd\"\n+        if room_name in self.get_roomname(self.rooms[\"Office\"]):\n+            print \"Cannot create duplicate rooms\"\n+            try:\n+                sys.exit()\n+            except:\n+                print \"Exception accomodates tdd\"\n+        if room_type == \"LivingSpace\":\n+            livingspace = LivingSpace(room_name)\n+            self.rooms[\"LivingSpace\"].append(livingspace)\n+            print \"Living space {0} successfuly created\".format(\n+                livingspace.room_name)\n+        if room_type == \"Office\":\n+            office = Office(room_name)\n+            self.rooms[\"Office\"].append(office)\n+            print \"Room {0} successfuly created\".format(\n+                office.room_name)\n+\n+    def add_people(self, person_name, person_type, wants_space=\"N\"):\n+        if person_type == \"FELLOW\" and wants_space == \"Y\":\n+            if type(person_name) == str:\n+                try:\n+                    if len(self.get_listofrooms()) != 0:\n+                        fellow = Fellow(person_name)\n+                        self.people[\"FELLOWS\"].append(fellow)\n+                        allocated = random.choice(self.get_listofrooms())\n+                        fellow.allocated = True\n+                        allocated.occupants.append(fellow)\n+                        self.allocated_persons.append([fellow, allocated])\n+                    else:\n+                        fellow = Fellow(person_name)\n+                        # fellow.allocated = False\n+                        self.unallocated_persons.append(fellow)\n+                        return \"No rooms to add people to please create a room\"\n+                except IndexError:\n+                    self.unallocated_persons.append(person_name)\n+                    return \"Extra person not allocated added to unallocated\"\n+        if person_type == \"STAFF\" and wants_space == \"N\":\n+            staff = Staff(person_name)\n+            self.people[\"STAFF\"].append(staff)\n+        elif person_type == \"STAFF\" and wants_space == \"Y\":\n+            print \"Staff not allowed to have living spaces\"\n+\n+    def allocate_person(self, person_name, person_type, room_name):\n+        person_obj = self.get_fellowobject(person_name)\n+        if person_obj not in self.unallocated_persons:\n+            room = self.get_roomobject(room_name)\n+            room.occupants.append(person_obj)\n+            self.allocated_persons.persons([person_obj, room])\n+            print \"{0} was reallocated to {1}\".format(\n+                person_obj.name, room.room_name)\n+\n+        else:\n+            print \"{0} is already allocated, try reallocating.\\\n+                Call help for assistance\".format(person_name)\n+\n+    def deallocate_fellow(self, person_object, room_object):\n+        if room_object in self.rooms[\"LivingSpace\"]:\n+            room_object.occupants.remove(person_object)\n+            self.allocated_persons.remove([person_object, room_object])\n+        else:\n+            return \"{0} not in a room\".format(person_object, room_object)\n+\n+    def reallocatePerson(self, person_name, person_type, room_name):\n+        target = self.get_fellowobject(person_name)\n+        assigned = self.return_room_allocated(target)\n+        if target not in self.people[\"FELLOWS\"]:\n+            print \"{0} does not exit\".format(person_name)\n+            try:\n+                sys.exit()\n+            except:\n+                print \"Exception accomodates tdd\"\n+        if person_type == \"FELLOW\":\n+            self.deallocate_fellow(target, assigned)\n+            new_room = self.get_roomobject(room_name)\n+            new_room.occupants.append(target)\n+            self.allocated_persons.append([target, new_room])\n+            print \"{0} was reallocated to {1}\".format(\n+                target.name, new_room.room_name)\n+\n+    def get_roomname(self, rooms):\n+        all_room_names = []\n+        for room in rooms:\n+            all_room_names.append(room.room_name)\n+        return all_room_names\n+\n+    def get_fellowobject(self, person_name):\n+        for person in self.people[\"FELLOWS\"]:\n+            if person.name == person_name:\n+                return person\n+\n+    def get_roomobject(self, room_name):\n+        for room in self.rooms[\"LivingSpace\"]:\n+            if room.room_name == room_name:\n+                return room\n+\n+    def get_staffobject(self, person_name):\n+        for person in self.people[\"STAFF\"]:\n+            if person.name == person_name:\n+                return person\n+\n+    def get_listofrooms(self):\n+        all_rooms = []\n+        for room in self.rooms[\"LivingSpace\"]:\n+            if len(room.occupants) < 4:\n+                all_rooms.append(room)\n+        for rooms in self.rooms[\"Office\"]:\n+            if len(room.occupants) < 4:\n+                all_rooms.append(rooms)\n+        return all_rooms\n+\n+    def get_livingspaceobject(self, room_name):\n+        for room in self.rooms[\"LivingSpace\"]:\n+            if room.room_name == room_name:\n+                return room\n+\n+    def return_people_allocated(self):\n+        for person in self.people[\"FELLOWS\"]:\n+            if person.allocated is True:\n+                return person\n+\n+    def return_room_allocated(self, person_object):\n+        for room in self.rooms[\"LivingSpace\"]:\n+            if person_object in room.occupants:\n+                print room.occupants\n+                return room\n+            else:\n+                return \"Person not allocated, check in unallocated lists\"\n+\n+    def print_rooms(self):\n+        room_names_list = []\n+        rooms = self.get_listofrooms()\n+        for room in rooms:\n+            room_names_list.append(room.room_name)\n+        return room_names_list\n+\n+    def print_allocations(self):\n+        if len(self.allocated_persons) > 0:\n+            for person in self.allocated_persons:\n+                try:\n+                    print \"{0} was allocated to {1}\".format(\n+                        person[0].name, person[1].room_name)\n+                except AttributeError:\n+                    print \"END OF LIST\"\n+        else:\n+            print \"Fellows have not been allocated yet, Please add a fellow\"\n+\n+    def print_unallocated(self):","path":"models/Amity.py","position":184,"original_position":184,"commit_id":"c58721f896d739aac77a794ee2f2e162b0022ce2","original_commit_id":"c58721f896d739aac77a794ee2f2e162b0022ce2","user":{"login":"youknowitsbarney","id":22341590,"avatar_url":"https://avatars3.githubusercontent.com/u/22341590?v=3","gravatar_id":"","url":"https://api.github.com/users/youknowitsbarney","html_url":"https://github.com/youknowitsbarney","followers_url":"https://api.github.com/users/youknowitsbarney/followers","following_url":"https://api.github.com/users/youknowitsbarney/following{/other_user}","gists_url":"https://api.github.com/users/youknowitsbarney/gists{/gist_id}","starred_url":"https://api.github.com/users/youknowitsbarney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youknowitsbarney/subscriptions","organizations_url":"https://api.github.com/users/youknowitsbarney/orgs","repos_url":"https://api.github.com/users/youknowitsbarney/repos","events_url":"https://api.github.com/users/youknowitsbarney/events{/privacy}","received_events_url":"https://api.github.com/users/youknowitsbarney/received_events","type":"User","site_admin":false},"body":"Not really sure but shouldn't this method print out a list of all unallocated fellows? Similar to printing allocations?","created_at":"2017-03-20T11:19:42Z","updated_at":"2017-03-20T11:26:18Z","html_url":"https://github.com/mungaiandela/cp1a-amity/pull/1#discussion_r106877629","pull_request_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/mungaiandela/cp1a-amity/pulls/comments/106877629"},"html":{"href":"https://github.com/mungaiandela/cp1a-amity/pull/1#discussion_r106877629"},"pull_request":{"href":"https://api.github.com/repos/mungaiandela/cp1a-amity/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/mungaiandela/cp1a-amity/pulls/1","id":111516702,"html_url":"https://github.com/mungaiandela/cp1a-amity/pull/1","diff_url":"https://github.com/mungaiandela/cp1a-amity/pull/1.diff","patch_url":"https://github.com/mungaiandela/cp1a-amity/pull/1.patch","issue_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/issues/1","number":1,"state":"open","locked":false,"title":"Review","user":{"login":"mungaiandela","id":25161540,"avatar_url":"https://avatars1.githubusercontent.com/u/25161540?v=3","gravatar_id":"","url":"https://api.github.com/users/mungaiandela","html_url":"https://github.com/mungaiandela","followers_url":"https://api.github.com/users/mungaiandela/followers","following_url":"https://api.github.com/users/mungaiandela/following{/other_user}","gists_url":"https://api.github.com/users/mungaiandela/gists{/gist_id}","starred_url":"https://api.github.com/users/mungaiandela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mungaiandela/subscriptions","organizations_url":"https://api.github.com/users/mungaiandela/orgs","repos_url":"https://api.github.com/users/mungaiandela/repos","events_url":"https://api.github.com/users/mungaiandela/events{/privacy}","received_events_url":"https://api.github.com/users/mungaiandela/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nReview should be based on changes necessary before code defense\r\n#### Description of Task to be completed?\r\nErrors should be corrected and any other oversights.\r\n#### How should this be manually tested?\r\nThe command `nosetests` runs tests on the app","created_at":"2017-03-20T09:52:12Z","updated_at":"2017-03-20T11:26:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0fba7b5e221a15170fdb816a8f804f1972f71ec0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/pulls/1/commits","review_comments_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/pulls/1/comments","review_comment_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/issues/1/comments","statuses_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/statuses/c58721f896d739aac77a794ee2f2e162b0022ce2","head":{"label":"mungaiandela:review","ref":"review","sha":"c58721f896d739aac77a794ee2f2e162b0022ce2","user":{"login":"mungaiandela","id":25161540,"avatar_url":"https://avatars1.githubusercontent.com/u/25161540?v=3","gravatar_id":"","url":"https://api.github.com/users/mungaiandela","html_url":"https://github.com/mungaiandela","followers_url":"https://api.github.com/users/mungaiandela/followers","following_url":"https://api.github.com/users/mungaiandela/following{/other_user}","gists_url":"https://api.github.com/users/mungaiandela/gists{/gist_id}","starred_url":"https://api.github.com/users/mungaiandela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mungaiandela/subscriptions","organizations_url":"https://api.github.com/users/mungaiandela/orgs","repos_url":"https://api.github.com/users/mungaiandela/repos","events_url":"https://api.github.com/users/mungaiandela/events{/privacy}","received_events_url":"https://api.github.com/users/mungaiandela/received_events","type":"User","site_admin":false},"repo":{"id":84843497,"name":"cp1a-amity","full_name":"mungaiandela/cp1a-amity","owner":{"login":"mungaiandela","id":25161540,"avatar_url":"https://avatars1.githubusercontent.com/u/25161540?v=3","gravatar_id":"","url":"https://api.github.com/users/mungaiandela","html_url":"https://github.com/mungaiandela","followers_url":"https://api.github.com/users/mungaiandela/followers","following_url":"https://api.github.com/users/mungaiandela/following{/other_user}","gists_url":"https://api.github.com/users/mungaiandela/gists{/gist_id}","starred_url":"https://api.github.com/users/mungaiandela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mungaiandela/subscriptions","organizations_url":"https://api.github.com/users/mungaiandela/orgs","repos_url":"https://api.github.com/users/mungaiandela/repos","events_url":"https://api.github.com/users/mungaiandela/events{/privacy}","received_events_url":"https://api.github.com/users/mungaiandela/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mungaiandela/cp1a-amity","description":null,"fork":false,"url":"https://api.github.com/repos/mungaiandela/cp1a-amity","forks_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/forks","keys_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/teams","hooks_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/hooks","issue_events_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/issues/events{/number}","events_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/events","assignees_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/assignees{/user}","branches_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/branches{/branch}","tags_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/tags","blobs_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/git/refs{/sha}","trees_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/statuses/{sha}","languages_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/languages","stargazers_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/stargazers","contributors_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/contributors","subscribers_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/subscribers","subscription_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/subscription","commits_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/commits{/sha}","git_commits_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/git/commits{/sha}","comments_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/comments{/number}","issue_comment_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/issues/comments{/number}","contents_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/contents/{+path}","compare_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/merges","archive_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/downloads","issues_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/issues{/number}","pulls_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/pulls{/number}","milestones_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/milestones{/number}","notifications_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/labels{/name}","releases_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/releases{/id}","deployments_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/deployments","created_at":"2017-03-13T15:34:40Z","updated_at":"2017-03-13T15:39:34Z","pushed_at":"2017-03-20T09:52:13Z","git_url":"git://github.com/mungaiandela/cp1a-amity.git","ssh_url":"git@github.com:mungaiandela/cp1a-amity.git","clone_url":"https://github.com/mungaiandela/cp1a-amity.git","svn_url":"https://github.com/mungaiandela/cp1a-amity","homepage":null,"size":236,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"develop"}},"base":{"label":"mungaiandela:master","ref":"master","sha":"ed6f0d8f5c4b1d3e46ae094c0f0fb7ea8c9cd900","user":{"login":"mungaiandela","id":25161540,"avatar_url":"https://avatars1.githubusercontent.com/u/25161540?v=3","gravatar_id":"","url":"https://api.github.com/users/mungaiandela","html_url":"https://github.com/mungaiandela","followers_url":"https://api.github.com/users/mungaiandela/followers","following_url":"https://api.github.com/users/mungaiandela/following{/other_user}","gists_url":"https://api.github.com/users/mungaiandela/gists{/gist_id}","starred_url":"https://api.github.com/users/mungaiandela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mungaiandela/subscriptions","organizations_url":"https://api.github.com/users/mungaiandela/orgs","repos_url":"https://api.github.com/users/mungaiandela/repos","events_url":"https://api.github.com/users/mungaiandela/events{/privacy}","received_events_url":"https://api.github.com/users/mungaiandela/received_events","type":"User","site_admin":false},"repo":{"id":84843497,"name":"cp1a-amity","full_name":"mungaiandela/cp1a-amity","owner":{"login":"mungaiandela","id":25161540,"avatar_url":"https://avatars1.githubusercontent.com/u/25161540?v=3","gravatar_id":"","url":"https://api.github.com/users/mungaiandela","html_url":"https://github.com/mungaiandela","followers_url":"https://api.github.com/users/mungaiandela/followers","following_url":"https://api.github.com/users/mungaiandela/following{/other_user}","gists_url":"https://api.github.com/users/mungaiandela/gists{/gist_id}","starred_url":"https://api.github.com/users/mungaiandela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mungaiandela/subscriptions","organizations_url":"https://api.github.com/users/mungaiandela/orgs","repos_url":"https://api.github.com/users/mungaiandela/repos","events_url":"https://api.github.com/users/mungaiandela/events{/privacy}","received_events_url":"https://api.github.com/users/mungaiandela/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mungaiandela/cp1a-amity","description":null,"fork":false,"url":"https://api.github.com/repos/mungaiandela/cp1a-amity","forks_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/forks","keys_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/teams","hooks_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/hooks","issue_events_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/issues/events{/number}","events_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/events","assignees_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/assignees{/user}","branches_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/branches{/branch}","tags_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/tags","blobs_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/git/refs{/sha}","trees_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/statuses/{sha}","languages_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/languages","stargazers_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/stargazers","contributors_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/contributors","subscribers_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/subscribers","subscription_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/subscription","commits_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/commits{/sha}","git_commits_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/git/commits{/sha}","comments_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/comments{/number}","issue_comment_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/issues/comments{/number}","contents_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/contents/{+path}","compare_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/merges","archive_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/downloads","issues_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/issues{/number}","pulls_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/pulls{/number}","milestones_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/milestones{/number}","notifications_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/labels{/name}","releases_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/releases{/id}","deployments_url":"https://api.github.com/repos/mungaiandela/cp1a-amity/deployments","created_at":"2017-03-13T15:34:40Z","updated_at":"2017-03-13T15:39:34Z","pushed_at":"2017-03-20T09:52:13Z","git_url":"git://github.com/mungaiandela/cp1a-amity.git","ssh_url":"git@github.com:mungaiandela/cp1a-amity.git","clone_url":"https://github.com/mungaiandela/cp1a-amity.git","svn_url":"https://github.com/mungaiandela/cp1a-amity","homepage":null,"size":236,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/mungaiandela/cp1a-amity/pulls/1"},"html":{"href":"https://github.com/mungaiandela/cp1a-amity/pull/1"},"issue":{"href":"https://api.github.com/repos/mungaiandela/cp1a-amity/issues/1"},"comments":{"href":"https://api.github.com/repos/mungaiandela/cp1a-amity/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/mungaiandela/cp1a-amity/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/mungaiandela/cp1a-amity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mungaiandela/cp1a-amity/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/mungaiandela/cp1a-amity/statuses/c58721f896d739aac77a794ee2f2e162b0022ce2"}}}}
{"actor":{"display_login":"youknowitsbarney"}}