{"action":"created","comment":{"url":"https://api.github.com/repos/lcl-terada/iOSTraining/pulls/comments/207784528","pull_request_review_id":143464605,"id":207784528,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNzc4NDUyOA==","diff_hunk":"@@ -0,0 +1,24 @@\n+struct users {\n+    \n+    let name: String\n+    let gender: Int\n+    let era: Int\n+    let age: Int\n+    let visits: Any\n+\n+    init(name: String, gender: Int, era: Int, age: Int, visits: Any) {\n+        self.name = name\n+        self.gender = gender\n+        self.era = era\n+        self.age = age\n+        self.visits = visits\n+    }\n+}\n+\n+    let dr = users(name: \"Dr. Emmett Brown\", gender: 1, era: 1985, age: 65, visits: [1885, 1955, 1985, 2015])\n+    let marty = users(name: \"Marty McFly\", gender: 1, era: 1985, age: 17, visits: [1885 , 1955, 1985, 2015])\n+    let lorraine = users(name: \"Lorraine Baines\", gender: 0, era: 1955, age: 18, visits: \"null\")\n+\n+    let allUser: [users] = [dr, marty, lorraine]","path":"taskTwo.playground/Contents.swift","position":22,"original_position":22,"commit_id":"f2337741e145ac64071c90f33245cf5a6f5c461c","original_commit_id":"f2337741e145ac64071c90f33245cf5a6f5c461c","user":{"login":"lcl-yamashita","id":30494281,"node_id":"MDQ6VXNlcjMwNDk0Mjgx","avatar_url":"https://avatars3.githubusercontent.com/u/30494281?v=4","gravatar_id":"","url":"https://api.github.com/users/lcl-yamashita","html_url":"https://github.com/lcl-yamashita","followers_url":"https://api.github.com/users/lcl-yamashita/followers","following_url":"https://api.github.com/users/lcl-yamashita/following{/other_user}","gists_url":"https://api.github.com/users/lcl-yamashita/gists{/gist_id}","starred_url":"https://api.github.com/users/lcl-yamashita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcl-yamashita/subscriptions","organizations_url":"https://api.github.com/users/lcl-yamashita/orgs","repos_url":"https://api.github.com/users/lcl-yamashita/repos","events_url":"https://api.github.com/users/lcl-yamashita/events{/privacy}","received_events_url":"https://api.github.com/users/lcl-yamashita/received_events","type":"User","site_admin":false},"body":"let allUser: [users]\r\n\r\n[users]の変数名がallUserなのは変ですよね..\r\nクラス名がおかしいがために、型名も変数名もおかしくなっていると思います。\r\n\r\nクラス名を直したら適切な変数名になるはずです","created_at":"2018-08-06T06:28:23Z","updated_at":"2018-08-06T06:28:24Z","html_url":"https://github.com/lcl-terada/iOSTraining/pull/2#discussion_r207784528","pull_request_url":"https://api.github.com/repos/lcl-terada/iOSTraining/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/lcl-terada/iOSTraining/pulls/comments/207784528"},"html":{"href":"https://github.com/lcl-terada/iOSTraining/pull/2#discussion_r207784528"},"pull_request":{"href":"https://api.github.com/repos/lcl-terada/iOSTraining/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/lcl-terada/iOSTraining/pulls/2","id":206278424,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2Mjc4NDI0","html_url":"https://github.com/lcl-terada/iOSTraining/pull/2","diff_url":"https://github.com/lcl-terada/iOSTraining/pull/2.diff","patch_url":"https://github.com/lcl-terada/iOSTraining/pull/2.patch","issue_url":"https://api.github.com/repos/lcl-terada/iOSTraining/issues/2","number":2,"state":"open","locked":false,"title":"課題２，３","user":{"login":"lcl-terada","id":41151971,"node_id":"MDQ6VXNlcjQxMTUxOTcx","avatar_url":"https://avatars3.githubusercontent.com/u/41151971?v=4","gravatar_id":"","url":"https://api.github.com/users/lcl-terada","html_url":"https://github.com/lcl-terada","followers_url":"https://api.github.com/users/lcl-terada/followers","following_url":"https://api.github.com/users/lcl-terada/following{/other_user}","gists_url":"https://api.github.com/users/lcl-terada/gists{/gist_id}","starred_url":"https://api.github.com/users/lcl-terada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcl-terada/subscriptions","organizations_url":"https://api.github.com/users/lcl-terada/orgs","repos_url":"https://api.github.com/users/lcl-terada/repos","events_url":"https://api.github.com/users/lcl-terada/events{/privacy}","received_events_url":"https://api.github.com/users/lcl-terada/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-06T03:04:56Z","updated_at":"2018-08-06T06:28:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e54c07c086b831ae2f2a2fed5762256b211a8d2b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/lcl-terada/iOSTraining/pulls/2/commits","review_comments_url":"https://api.github.com/repos/lcl-terada/iOSTraining/pulls/2/comments","review_comment_url":"https://api.github.com/repos/lcl-terada/iOSTraining/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lcl-terada/iOSTraining/issues/2/comments","statuses_url":"https://api.github.com/repos/lcl-terada/iOSTraining/statuses/f2337741e145ac64071c90f33245cf5a6f5c461c","head":{"label":"lcl-terada:taskTwo","ref":"taskTwo","sha":"f2337741e145ac64071c90f33245cf5a6f5c461c","user":{"login":"lcl-terada","id":41151971,"node_id":"MDQ6VXNlcjQxMTUxOTcx","avatar_url":"https://avatars3.githubusercontent.com/u/41151971?v=4","gravatar_id":"","url":"https://api.github.com/users/lcl-terada","html_url":"https://github.com/lcl-terada","followers_url":"https://api.github.com/users/lcl-terada/followers","following_url":"https://api.github.com/users/lcl-terada/following{/other_user}","gists_url":"https://api.github.com/users/lcl-terada/gists{/gist_id}","starred_url":"https://api.github.com/users/lcl-terada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcl-terada/subscriptions","organizations_url":"https://api.github.com/users/lcl-terada/orgs","repos_url":"https://api.github.com/users/lcl-terada/repos","events_url":"https://api.github.com/users/lcl-terada/events{/privacy}","received_events_url":"https://api.github.com/users/lcl-terada/received_events","type":"User","site_admin":false},"repo":{"id":142816086,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI4MTYwODY=","name":"iOSTraining","full_name":"lcl-terada/iOSTraining","owner":{"login":"lcl-terada","id":41151971,"node_id":"MDQ6VXNlcjQxMTUxOTcx","avatar_url":"https://avatars3.githubusercontent.com/u/41151971?v=4","gravatar_id":"","url":"https://api.github.com/users/lcl-terada","html_url":"https://github.com/lcl-terada","followers_url":"https://api.github.com/users/lcl-terada/followers","following_url":"https://api.github.com/users/lcl-terada/following{/other_user}","gists_url":"https://api.github.com/users/lcl-terada/gists{/gist_id}","starred_url":"https://api.github.com/users/lcl-terada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcl-terada/subscriptions","organizations_url":"https://api.github.com/users/lcl-terada/orgs","repos_url":"https://api.github.com/users/lcl-terada/repos","events_url":"https://api.github.com/users/lcl-terada/events{/privacy}","received_events_url":"https://api.github.com/users/lcl-terada/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lcl-terada/iOSTraining","description":null,"fork":false,"url":"https://api.github.com/repos/lcl-terada/iOSTraining","forks_url":"https://api.github.com/repos/lcl-terada/iOSTraining/forks","keys_url":"https://api.github.com/repos/lcl-terada/iOSTraining/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lcl-terada/iOSTraining/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lcl-terada/iOSTraining/teams","hooks_url":"https://api.github.com/repos/lcl-terada/iOSTraining/hooks","issue_events_url":"https://api.github.com/repos/lcl-terada/iOSTraining/issues/events{/number}","events_url":"https://api.github.com/repos/lcl-terada/iOSTraining/events","assignees_url":"https://api.github.com/repos/lcl-terada/iOSTraining/assignees{/user}","branches_url":"https://api.github.com/repos/lcl-terada/iOSTraining/branches{/branch}","tags_url":"https://api.github.com/repos/lcl-terada/iOSTraining/tags","blobs_url":"https://api.github.com/repos/lcl-terada/iOSTraining/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lcl-terada/iOSTraining/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lcl-terada/iOSTraining/git/refs{/sha}","trees_url":"https://api.github.com/repos/lcl-terada/iOSTraining/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lcl-terada/iOSTraining/statuses/{sha}","languages_url":"https://api.github.com/repos/lcl-terada/iOSTraining/languages","stargazers_url":"https://api.github.com/repos/lcl-terada/iOSTraining/stargazers","contributors_url":"https://api.github.com/repos/lcl-terada/iOSTraining/contributors","subscribers_url":"https://api.github.com/repos/lcl-terada/iOSTraining/subscribers","subscription_url":"https://api.github.com/repos/lcl-terada/iOSTraining/subscription","commits_url":"https://api.github.com/repos/lcl-terada/iOSTraining/commits{/sha}","git_commits_url":"https://api.github.com/repos/lcl-terada/iOSTraining/git/commits{/sha}","comments_url":"https://api.github.com/repos/lcl-terada/iOSTraining/comments{/number}","issue_comment_url":"https://api.github.com/repos/lcl-terada/iOSTraining/issues/comments{/number}","contents_url":"https://api.github.com/repos/lcl-terada/iOSTraining/contents/{+path}","compare_url":"https://api.github.com/repos/lcl-terada/iOSTraining/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lcl-terada/iOSTraining/merges","archive_url":"https://api.github.com/repos/lcl-terada/iOSTraining/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lcl-terada/iOSTraining/downloads","issues_url":"https://api.github.com/repos/lcl-terada/iOSTraining/issues{/number}","pulls_url":"https://api.github.com/repos/lcl-terada/iOSTraining/pulls{/number}","milestones_url":"https://api.github.com/repos/lcl-terada/iOSTraining/milestones{/number}","notifications_url":"https://api.github.com/repos/lcl-terada/iOSTraining/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lcl-terada/iOSTraining/labels{/name}","releases_url":"https://api.github.com/repos/lcl-terada/iOSTraining/releases{/id}","deployments_url":"https://api.github.com/repos/lcl-terada/iOSTraining/deployments","created_at":"2018-07-30T02:43:13Z","updated_at":"2018-07-30T02:44:20Z","pushed_at":"2018-08-06T03:23:24Z","git_url":"git://github.com/lcl-terada/iOSTraining.git","ssh_url":"git@github.com:lcl-terada/iOSTraining.git","clone_url":"https://github.com/lcl-terada/iOSTraining.git","svn_url":"https://github.com/lcl-terada/iOSTraining","homepage":null,"size":28,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"lcl-terada:master","ref":"master","sha":"2c8308f2eaf2be6d7f95b44a3f082ffaf1369187","user":{"login":"lcl-terada","id":41151971,"node_id":"MDQ6VXNlcjQxMTUxOTcx","avatar_url":"https://avatars3.githubusercontent.com/u/41151971?v=4","gravatar_id":"","url":"https://api.github.com/users/lcl-terada","html_url":"https://github.com/lcl-terada","followers_url":"https://api.github.com/users/lcl-terada/followers","following_url":"https://api.github.com/users/lcl-terada/following{/other_user}","gists_url":"https://api.github.com/users/lcl-terada/gists{/gist_id}","starred_url":"https://api.github.com/users/lcl-terada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcl-terada/subscriptions","organizations_url":"https://api.github.com/users/lcl-terada/orgs","repos_url":"https://api.github.com/users/lcl-terada/repos","events_url":"https://api.github.com/users/lcl-terada/events{/privacy}","received_events_url":"https://api.github.com/users/lcl-terada/received_events","type":"User","site_admin":false},"repo":{"id":142816086,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI4MTYwODY=","name":"iOSTraining","full_name":"lcl-terada/iOSTraining","owner":{"login":"lcl-terada","id":41151971,"node_id":"MDQ6VXNlcjQxMTUxOTcx","avatar_url":"https://avatars3.githubusercontent.com/u/41151971?v=4","gravatar_id":"","url":"https://api.github.com/users/lcl-terada","html_url":"https://github.com/lcl-terada","followers_url":"https://api.github.com/users/lcl-terada/followers","following_url":"https://api.github.com/users/lcl-terada/following{/other_user}","gists_url":"https://api.github.com/users/lcl-terada/gists{/gist_id}","starred_url":"https://api.github.com/users/lcl-terada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcl-terada/subscriptions","organizations_url":"https://api.github.com/users/lcl-terada/orgs","repos_url":"https://api.github.com/users/lcl-terada/repos","events_url":"https://api.github.com/users/lcl-terada/events{/privacy}","received_events_url":"https://api.github.com/users/lcl-terada/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lcl-terada/iOSTraining","description":null,"fork":false,"url":"https://api.github.com/repos/lcl-terada/iOSTraining","forks_url":"https://api.github.com/repos/lcl-terada/iOSTraining/forks","keys_url":"https://api.github.com/repos/lcl-terada/iOSTraining/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lcl-terada/iOSTraining/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lcl-terada/iOSTraining/teams","hooks_url":"https://api.github.com/repos/lcl-terada/iOSTraining/hooks","issue_events_url":"https://api.github.com/repos/lcl-terada/iOSTraining/issues/events{/number}","events_url":"https://api.github.com/repos/lcl-terada/iOSTraining/events","assignees_url":"https://api.github.com/repos/lcl-terada/iOSTraining/assignees{/user}","branches_url":"https://api.github.com/repos/lcl-terada/iOSTraining/branches{/branch}","tags_url":"https://api.github.com/repos/lcl-terada/iOSTraining/tags","blobs_url":"https://api.github.com/repos/lcl-terada/iOSTraining/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lcl-terada/iOSTraining/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lcl-terada/iOSTraining/git/refs{/sha}","trees_url":"https://api.github.com/repos/lcl-terada/iOSTraining/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lcl-terada/iOSTraining/statuses/{sha}","languages_url":"https://api.github.com/repos/lcl-terada/iOSTraining/languages","stargazers_url":"https://api.github.com/repos/lcl-terada/iOSTraining/stargazers","contributors_url":"https://api.github.com/repos/lcl-terada/iOSTraining/contributors","subscribers_url":"https://api.github.com/repos/lcl-terada/iOSTraining/subscribers","subscription_url":"https://api.github.com/repos/lcl-terada/iOSTraining/subscription","commits_url":"https://api.github.com/repos/lcl-terada/iOSTraining/commits{/sha}","git_commits_url":"https://api.github.com/repos/lcl-terada/iOSTraining/git/commits{/sha}","comments_url":"https://api.github.com/repos/lcl-terada/iOSTraining/comments{/number}","issue_comment_url":"https://api.github.com/repos/lcl-terada/iOSTraining/issues/comments{/number}","contents_url":"https://api.github.com/repos/lcl-terada/iOSTraining/contents/{+path}","compare_url":"https://api.github.com/repos/lcl-terada/iOSTraining/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lcl-terada/iOSTraining/merges","archive_url":"https://api.github.com/repos/lcl-terada/iOSTraining/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lcl-terada/iOSTraining/downloads","issues_url":"https://api.github.com/repos/lcl-terada/iOSTraining/issues{/number}","pulls_url":"https://api.github.com/repos/lcl-terada/iOSTraining/pulls{/number}","milestones_url":"https://api.github.com/repos/lcl-terada/iOSTraining/milestones{/number}","notifications_url":"https://api.github.com/repos/lcl-terada/iOSTraining/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lcl-terada/iOSTraining/labels{/name}","releases_url":"https://api.github.com/repos/lcl-terada/iOSTraining/releases{/id}","deployments_url":"https://api.github.com/repos/lcl-terada/iOSTraining/deployments","created_at":"2018-07-30T02:43:13Z","updated_at":"2018-07-30T02:44:20Z","pushed_at":"2018-08-06T03:23:24Z","git_url":"git://github.com/lcl-terada/iOSTraining.git","ssh_url":"git@github.com:lcl-terada/iOSTraining.git","clone_url":"https://github.com/lcl-terada/iOSTraining.git","svn_url":"https://github.com/lcl-terada/iOSTraining","homepage":null,"size":28,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lcl-terada/iOSTraining/pulls/2"},"html":{"href":"https://github.com/lcl-terada/iOSTraining/pull/2"},"issue":{"href":"https://api.github.com/repos/lcl-terada/iOSTraining/issues/2"},"comments":{"href":"https://api.github.com/repos/lcl-terada/iOSTraining/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/lcl-terada/iOSTraining/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/lcl-terada/iOSTraining/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lcl-terada/iOSTraining/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/lcl-terada/iOSTraining/statuses/f2337741e145ac64071c90f33245cf5a6f5c461c"}},"author_association":"OWNER"}}
{"actor":{"display_login":"lcl-yamashita"}}