{"action":"created","comment":{"url":"https://api.github.com/repos/SvetlanaTs/how-much/pulls/comments/201369141","pull_request_review_id":135856752,"id":201369141,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTM2OTE0MQ==","diff_hunk":"@@ -8,27 +8,9 @@\n \n import Foundation\n \n-enum NoteType {\n-    case forTwo\n-    case forThree\n-    case forFour\n-    \n-    init(count: Int) {\n-        switch count {\n-        case 2: self = .forTwo\n-        case 3: self = .forThree\n-        case 4: self = .forFour\n-        default: self = .forTwo\n-        }\n-    }\n-}\n-\n final class Note {\n     ","path":"HowMuch/Code/Models/Note.swift","position":20,"original_position":20,"commit_id":"d25db8eddb730548152ed4d1ba520dabc4d6c6c4","original_commit_id":"d25db8eddb730548152ed4d1ba520dabc4d6c6c4","user":{"login":"SvetlanaTs","id":2356305,"node_id":"MDQ6VXNlcjIzNTYzMDU=","avatar_url":"https://avatars0.githubusercontent.com/u/2356305?v=4","gravatar_id":"","url":"https://api.github.com/users/SvetlanaTs","html_url":"https://github.com/SvetlanaTs","followers_url":"https://api.github.com/users/SvetlanaTs/followers","following_url":"https://api.github.com/users/SvetlanaTs/following{/other_user}","gists_url":"https://api.github.com/users/SvetlanaTs/gists{/gist_id}","starred_url":"https://api.github.com/users/SvetlanaTs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvetlanaTs/subscriptions","organizations_url":"https://api.github.com/users/SvetlanaTs/orgs","repos_url":"https://api.github.com/users/SvetlanaTs/repos","events_url":"https://api.github.com/users/SvetlanaTs/events{/privacy}","received_events_url":"https://api.github.com/users/SvetlanaTs/received_events","type":"User","site_admin":false},"body":"Пустая строка - чтобы строчка класса не нависала. Но это не так важно, можно и убрать. Классы выбрала намеренно, потому что структуры не дают изменить свойства. Они сначала и были структурами, но в дальнейшем, при разработке столкнулась с тем, что их свойствам нужно было присвоить другие значения. Можно сейчас сделать структурами, потом, при необходимости, изменить.","created_at":"2018-07-10T14:39:48Z","updated_at":"2018-07-10T14:39:49Z","html_url":"https://github.com/SvetlanaTs/how-much/pull/2#discussion_r201369141","pull_request_url":"https://api.github.com/repos/SvetlanaTs/how-much/pulls/2","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/SvetlanaTs/how-much/pulls/comments/201369141"},"html":{"href":"https://github.com/SvetlanaTs/how-much/pull/2#discussion_r201369141"},"pull_request":{"href":"https://api.github.com/repos/SvetlanaTs/how-much/pulls/2"}},"in_reply_to_id":201360644},"pull_request":{"url":"https://api.github.com/repos/SvetlanaTs/how-much/pulls/2","id":200411038,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwNDExMDM4","html_url":"https://github.com/SvetlanaTs/how-much/pull/2","diff_url":"https://github.com/SvetlanaTs/how-much/pull/2.diff","patch_url":"https://github.com/SvetlanaTs/how-much/pull/2.patch","issue_url":"https://api.github.com/repos/SvetlanaTs/how-much/issues/2","number":2,"state":"open","locked":false,"title":"Data model has been changed.","user":{"login":"SvetlanaTs","id":2356305,"node_id":"MDQ6VXNlcjIzNTYzMDU=","avatar_url":"https://avatars0.githubusercontent.com/u/2356305?v=4","gravatar_id":"","url":"https://api.github.com/users/SvetlanaTs","html_url":"https://github.com/SvetlanaTs","followers_url":"https://api.github.com/users/SvetlanaTs/followers","following_url":"https://api.github.com/users/SvetlanaTs/following{/other_user}","gists_url":"https://api.github.com/users/SvetlanaTs/gists{/gist_id}","starred_url":"https://api.github.com/users/SvetlanaTs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvetlanaTs/subscriptions","organizations_url":"https://api.github.com/users/SvetlanaTs/orgs","repos_url":"https://api.github.com/users/SvetlanaTs/repos","events_url":"https://api.github.com/users/SvetlanaTs/events{/privacy}","received_events_url":"https://api.github.com/users/SvetlanaTs/received_events","type":"User","site_admin":false},"body":"Удалила NoteType.","created_at":"2018-07-10T14:13:59Z","updated_at":"2018-07-10T14:39:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c68b9c2603ae374c7f4fe00e8dc6a625c788bc23","assignee":{"login":"bealex","id":2905495,"node_id":"MDQ6VXNlcjI5MDU0OTU=","avatar_url":"https://avatars3.githubusercontent.com/u/2905495?v=4","gravatar_id":"","url":"https://api.github.com/users/bealex","html_url":"https://github.com/bealex","followers_url":"https://api.github.com/users/bealex/followers","following_url":"https://api.github.com/users/bealex/following{/other_user}","gists_url":"https://api.github.com/users/bealex/gists{/gist_id}","starred_url":"https://api.github.com/users/bealex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bealex/subscriptions","organizations_url":"https://api.github.com/users/bealex/orgs","repos_url":"https://api.github.com/users/bealex/repos","events_url":"https://api.github.com/users/bealex/events{/privacy}","received_events_url":"https://api.github.com/users/bealex/received_events","type":"User","site_admin":false},"assignees":[{"login":"bealex","id":2905495,"node_id":"MDQ6VXNlcjI5MDU0OTU=","avatar_url":"https://avatars3.githubusercontent.com/u/2905495?v=4","gravatar_id":"","url":"https://api.github.com/users/bealex","html_url":"https://github.com/bealex","followers_url":"https://api.github.com/users/bealex/followers","following_url":"https://api.github.com/users/bealex/following{/other_user}","gists_url":"https://api.github.com/users/bealex/gists{/gist_id}","starred_url":"https://api.github.com/users/bealex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bealex/subscriptions","organizations_url":"https://api.github.com/users/bealex/orgs","repos_url":"https://api.github.com/users/bealex/repos","events_url":"https://api.github.com/users/bealex/events{/privacy}","received_events_url":"https://api.github.com/users/bealex/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SvetlanaTs/how-much/pulls/2/commits","review_comments_url":"https://api.github.com/repos/SvetlanaTs/how-much/pulls/2/comments","review_comment_url":"https://api.github.com/repos/SvetlanaTs/how-much/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SvetlanaTs/how-much/issues/2/comments","statuses_url":"https://api.github.com/repos/SvetlanaTs/how-much/statuses/d25db8eddb730548152ed4d1ba520dabc4d6c6c4","head":{"label":"SvetlanaTs:develop","ref":"develop","sha":"d25db8eddb730548152ed4d1ba520dabc4d6c6c4","user":{"login":"SvetlanaTs","id":2356305,"node_id":"MDQ6VXNlcjIzNTYzMDU=","avatar_url":"https://avatars0.githubusercontent.com/u/2356305?v=4","gravatar_id":"","url":"https://api.github.com/users/SvetlanaTs","html_url":"https://github.com/SvetlanaTs","followers_url":"https://api.github.com/users/SvetlanaTs/followers","following_url":"https://api.github.com/users/SvetlanaTs/following{/other_user}","gists_url":"https://api.github.com/users/SvetlanaTs/gists{/gist_id}","starred_url":"https://api.github.com/users/SvetlanaTs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvetlanaTs/subscriptions","organizations_url":"https://api.github.com/users/SvetlanaTs/orgs","repos_url":"https://api.github.com/users/SvetlanaTs/repos","events_url":"https://api.github.com/users/SvetlanaTs/events{/privacy}","received_events_url":"https://api.github.com/users/SvetlanaTs/received_events","type":"User","site_admin":false},"repo":{"id":140306650,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAzMDY2NTA=","name":"how-much","full_name":"SvetlanaTs/how-much","owner":{"login":"SvetlanaTs","id":2356305,"node_id":"MDQ6VXNlcjIzNTYzMDU=","avatar_url":"https://avatars0.githubusercontent.com/u/2356305?v=4","gravatar_id":"","url":"https://api.github.com/users/SvetlanaTs","html_url":"https://github.com/SvetlanaTs","followers_url":"https://api.github.com/users/SvetlanaTs/followers","following_url":"https://api.github.com/users/SvetlanaTs/following{/other_user}","gists_url":"https://api.github.com/users/SvetlanaTs/gists{/gist_id}","starred_url":"https://api.github.com/users/SvetlanaTs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvetlanaTs/subscriptions","organizations_url":"https://api.github.com/users/SvetlanaTs/orgs","repos_url":"https://api.github.com/users/SvetlanaTs/repos","events_url":"https://api.github.com/users/SvetlanaTs/events{/privacy}","received_events_url":"https://api.github.com/users/SvetlanaTs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SvetlanaTs/how-much","description":null,"fork":false,"url":"https://api.github.com/repos/SvetlanaTs/how-much","forks_url":"https://api.github.com/repos/SvetlanaTs/how-much/forks","keys_url":"https://api.github.com/repos/SvetlanaTs/how-much/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SvetlanaTs/how-much/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SvetlanaTs/how-much/teams","hooks_url":"https://api.github.com/repos/SvetlanaTs/how-much/hooks","issue_events_url":"https://api.github.com/repos/SvetlanaTs/how-much/issues/events{/number}","events_url":"https://api.github.com/repos/SvetlanaTs/how-much/events","assignees_url":"https://api.github.com/repos/SvetlanaTs/how-much/assignees{/user}","branches_url":"https://api.github.com/repos/SvetlanaTs/how-much/branches{/branch}","tags_url":"https://api.github.com/repos/SvetlanaTs/how-much/tags","blobs_url":"https://api.github.com/repos/SvetlanaTs/how-much/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SvetlanaTs/how-much/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SvetlanaTs/how-much/git/refs{/sha}","trees_url":"https://api.github.com/repos/SvetlanaTs/how-much/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SvetlanaTs/how-much/statuses/{sha}","languages_url":"https://api.github.com/repos/SvetlanaTs/how-much/languages","stargazers_url":"https://api.github.com/repos/SvetlanaTs/how-much/stargazers","contributors_url":"https://api.github.com/repos/SvetlanaTs/how-much/contributors","subscribers_url":"https://api.github.com/repos/SvetlanaTs/how-much/subscribers","subscription_url":"https://api.github.com/repos/SvetlanaTs/how-much/subscription","commits_url":"https://api.github.com/repos/SvetlanaTs/how-much/commits{/sha}","git_commits_url":"https://api.github.com/repos/SvetlanaTs/how-much/git/commits{/sha}","comments_url":"https://api.github.com/repos/SvetlanaTs/how-much/comments{/number}","issue_comment_url":"https://api.github.com/repos/SvetlanaTs/how-much/issues/comments{/number}","contents_url":"https://api.github.com/repos/SvetlanaTs/how-much/contents/{+path}","compare_url":"https://api.github.com/repos/SvetlanaTs/how-much/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SvetlanaTs/how-much/merges","archive_url":"https://api.github.com/repos/SvetlanaTs/how-much/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SvetlanaTs/how-much/downloads","issues_url":"https://api.github.com/repos/SvetlanaTs/how-much/issues{/number}","pulls_url":"https://api.github.com/repos/SvetlanaTs/how-much/pulls{/number}","milestones_url":"https://api.github.com/repos/SvetlanaTs/how-much/milestones{/number}","notifications_url":"https://api.github.com/repos/SvetlanaTs/how-much/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SvetlanaTs/how-much/labels{/name}","releases_url":"https://api.github.com/repos/SvetlanaTs/how-much/releases{/id}","deployments_url":"https://api.github.com/repos/SvetlanaTs/how-much/deployments","created_at":"2018-07-09T15:39:06Z","updated_at":"2018-07-10T14:09:56Z","pushed_at":"2018-07-10T14:14:00Z","git_url":"git://github.com/SvetlanaTs/how-much.git","ssh_url":"git@github.com:SvetlanaTs/how-much.git","clone_url":"https://github.com/SvetlanaTs/how-much.git","svn_url":"https://github.com/SvetlanaTs/how-much","homepage":null,"size":19,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"SvetlanaTs:master","ref":"master","sha":"eb23e109149db1be3c4a07b2ce6062fb0ab85d5c","user":{"login":"SvetlanaTs","id":2356305,"node_id":"MDQ6VXNlcjIzNTYzMDU=","avatar_url":"https://avatars0.githubusercontent.com/u/2356305?v=4","gravatar_id":"","url":"https://api.github.com/users/SvetlanaTs","html_url":"https://github.com/SvetlanaTs","followers_url":"https://api.github.com/users/SvetlanaTs/followers","following_url":"https://api.github.com/users/SvetlanaTs/following{/other_user}","gists_url":"https://api.github.com/users/SvetlanaTs/gists{/gist_id}","starred_url":"https://api.github.com/users/SvetlanaTs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvetlanaTs/subscriptions","organizations_url":"https://api.github.com/users/SvetlanaTs/orgs","repos_url":"https://api.github.com/users/SvetlanaTs/repos","events_url":"https://api.github.com/users/SvetlanaTs/events{/privacy}","received_events_url":"https://api.github.com/users/SvetlanaTs/received_events","type":"User","site_admin":false},"repo":{"id":140306650,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAzMDY2NTA=","name":"how-much","full_name":"SvetlanaTs/how-much","owner":{"login":"SvetlanaTs","id":2356305,"node_id":"MDQ6VXNlcjIzNTYzMDU=","avatar_url":"https://avatars0.githubusercontent.com/u/2356305?v=4","gravatar_id":"","url":"https://api.github.com/users/SvetlanaTs","html_url":"https://github.com/SvetlanaTs","followers_url":"https://api.github.com/users/SvetlanaTs/followers","following_url":"https://api.github.com/users/SvetlanaTs/following{/other_user}","gists_url":"https://api.github.com/users/SvetlanaTs/gists{/gist_id}","starred_url":"https://api.github.com/users/SvetlanaTs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvetlanaTs/subscriptions","organizations_url":"https://api.github.com/users/SvetlanaTs/orgs","repos_url":"https://api.github.com/users/SvetlanaTs/repos","events_url":"https://api.github.com/users/SvetlanaTs/events{/privacy}","received_events_url":"https://api.github.com/users/SvetlanaTs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SvetlanaTs/how-much","description":null,"fork":false,"url":"https://api.github.com/repos/SvetlanaTs/how-much","forks_url":"https://api.github.com/repos/SvetlanaTs/how-much/forks","keys_url":"https://api.github.com/repos/SvetlanaTs/how-much/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SvetlanaTs/how-much/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SvetlanaTs/how-much/teams","hooks_url":"https://api.github.com/repos/SvetlanaTs/how-much/hooks","issue_events_url":"https://api.github.com/repos/SvetlanaTs/how-much/issues/events{/number}","events_url":"https://api.github.com/repos/SvetlanaTs/how-much/events","assignees_url":"https://api.github.com/repos/SvetlanaTs/how-much/assignees{/user}","branches_url":"https://api.github.com/repos/SvetlanaTs/how-much/branches{/branch}","tags_url":"https://api.github.com/repos/SvetlanaTs/how-much/tags","blobs_url":"https://api.github.com/repos/SvetlanaTs/how-much/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SvetlanaTs/how-much/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SvetlanaTs/how-much/git/refs{/sha}","trees_url":"https://api.github.com/repos/SvetlanaTs/how-much/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SvetlanaTs/how-much/statuses/{sha}","languages_url":"https://api.github.com/repos/SvetlanaTs/how-much/languages","stargazers_url":"https://api.github.com/repos/SvetlanaTs/how-much/stargazers","contributors_url":"https://api.github.com/repos/SvetlanaTs/how-much/contributors","subscribers_url":"https://api.github.com/repos/SvetlanaTs/how-much/subscribers","subscription_url":"https://api.github.com/repos/SvetlanaTs/how-much/subscription","commits_url":"https://api.github.com/repos/SvetlanaTs/how-much/commits{/sha}","git_commits_url":"https://api.github.com/repos/SvetlanaTs/how-much/git/commits{/sha}","comments_url":"https://api.github.com/repos/SvetlanaTs/how-much/comments{/number}","issue_comment_url":"https://api.github.com/repos/SvetlanaTs/how-much/issues/comments{/number}","contents_url":"https://api.github.com/repos/SvetlanaTs/how-much/contents/{+path}","compare_url":"https://api.github.com/repos/SvetlanaTs/how-much/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SvetlanaTs/how-much/merges","archive_url":"https://api.github.com/repos/SvetlanaTs/how-much/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SvetlanaTs/how-much/downloads","issues_url":"https://api.github.com/repos/SvetlanaTs/how-much/issues{/number}","pulls_url":"https://api.github.com/repos/SvetlanaTs/how-much/pulls{/number}","milestones_url":"https://api.github.com/repos/SvetlanaTs/how-much/milestones{/number}","notifications_url":"https://api.github.com/repos/SvetlanaTs/how-much/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SvetlanaTs/how-much/labels{/name}","releases_url":"https://api.github.com/repos/SvetlanaTs/how-much/releases{/id}","deployments_url":"https://api.github.com/repos/SvetlanaTs/how-much/deployments","created_at":"2018-07-09T15:39:06Z","updated_at":"2018-07-10T14:09:56Z","pushed_at":"2018-07-10T14:14:00Z","git_url":"git://github.com/SvetlanaTs/how-much.git","ssh_url":"git@github.com:SvetlanaTs/how-much.git","clone_url":"https://github.com/SvetlanaTs/how-much.git","svn_url":"https://github.com/SvetlanaTs/how-much","homepage":null,"size":19,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SvetlanaTs/how-much/pulls/2"},"html":{"href":"https://github.com/SvetlanaTs/how-much/pull/2"},"issue":{"href":"https://api.github.com/repos/SvetlanaTs/how-much/issues/2"},"comments":{"href":"https://api.github.com/repos/SvetlanaTs/how-much/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/SvetlanaTs/how-much/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/SvetlanaTs/how-much/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SvetlanaTs/how-much/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/SvetlanaTs/how-much/statuses/d25db8eddb730548152ed4d1ba520dabc4d6c6c4"}},"author_association":"OWNER"}}
{"actor":{"display_login":"SvetlanaTs"}}