{"action":"created","comment":{"url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/pulls/comments/151847164","pull_request_review_id":77625558,"id":151847164,"diff_hunk":"@@ -0,0 +1,156 @@\n+﻿using System;\n+using System.Collections.Generic;\n+using System.Linq;\n+using System.Threading.Tasks;\n+using ucsdscheduleme.Models;\n+\n+namespace ucsdscheduleme.Repo\n+{\n+    public class FormatRepo\n+    {\n+        private static readonly int START_HOUR = 7;\n+        private static readonly int START_MINUTES = 30;\n+        private static readonly int MINUTES_IN_HOUR = 60;\n+\n+        public static ScheduleViewModel FormatSectionsToCalendarEvent(List<Section> sections)\n+        {\n+\n+            ScheduleViewModel model = new ScheduleViewModel();\n+            List<CalendarEvent> events = new List<CalendarEvent>();\n+            List<OneTimeEvent> oneTimeEvents = new List<OneTimeEvent>();\n+            List<Metadata> classMetadata = new List<Metadata>();\n+            Metadata overall = new Metadata();\n+","path":"ucsdscheduleme/Repo/FormatRepo.cs","position":23,"original_position":23,"commit_id":"5c991b4da371af2348f7c24e7839af70d940a65d","original_commit_id":"5c991b4da371af2348f7c24e7839af70d940a65d","user":{"login":"cjimene","id":26916005,"avatar_url":"https://avatars2.githubusercontent.com/u/26916005?v=4","gravatar_id":"","url":"https://api.github.com/users/cjimene","html_url":"https://github.com/cjimene","followers_url":"https://api.github.com/users/cjimene/followers","following_url":"https://api.github.com/users/cjimene/following{/other_user}","gists_url":"https://api.github.com/users/cjimene/gists{/gist_id}","starred_url":"https://api.github.com/users/cjimene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjimene/subscriptions","organizations_url":"https://api.github.com/users/cjimene/orgs","repos_url":"https://api.github.com/users/cjimene/repos","events_url":"https://api.github.com/users/cjimene/events{/privacy}","received_events_url":"https://api.github.com/users/cjimene/received_events","type":"User","site_admin":false},"body":"Add comments to the effect of \"initializing locals\" and \"defining objects\" or something like that, just for ease of skimming.","created_at":"2017-11-18T21:03:29Z","updated_at":"2017-11-18T21:22:56Z","html_url":"https://github.com/KennethLundberg/ucsdscheduleme/pull/32#discussion_r151847164","pull_request_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/pulls/32","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/pulls/comments/151847164"},"html":{"href":"https://github.com/KennethLundberg/ucsdscheduleme/pull/32#discussion_r151847164"},"pull_request":{"href":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/pulls/32","id":153422341,"html_url":"https://github.com/KennethLundberg/ucsdscheduleme/pull/32","diff_url":"https://github.com/KennethLundberg/ucsdscheduleme/pull/32.diff","patch_url":"https://github.com/KennethLundberg/ucsdscheduleme/pull/32.patch","issue_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/issues/32","number":32,"state":"open","locked":false,"title":"Added Google Login functionality and tables.","user":{"login":"KennethLundberg","id":27309575,"avatar_url":"https://avatars3.githubusercontent.com/u/27309575?v=4","gravatar_id":"","url":"https://api.github.com/users/KennethLundberg","html_url":"https://github.com/KennethLundberg","followers_url":"https://api.github.com/users/KennethLundberg/followers","following_url":"https://api.github.com/users/KennethLundberg/following{/other_user}","gists_url":"https://api.github.com/users/KennethLundberg/gists{/gist_id}","starred_url":"https://api.github.com/users/KennethLundberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KennethLundberg/subscriptions","organizations_url":"https://api.github.com/users/KennethLundberg/orgs","repos_url":"https://api.github.com/users/KennethLundberg/repos","events_url":"https://api.github.com/users/KennethLundberg/events{/privacy}","received_events_url":"https://api.github.com/users/KennethLundberg/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-18T00:23:59Z","updated_at":"2017-11-18T21:22:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3f61f88e9032109a7eb1f0c1ee340ff8e997ddfc","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/pulls/32/commits","review_comments_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/pulls/32/comments","review_comment_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/issues/32/comments","statuses_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/statuses/5c991b4da371af2348f7c24e7839af70d940a65d","head":{"label":"KennethLundberg:AddLoginFunctionality","ref":"AddLoginFunctionality","sha":"5c991b4da371af2348f7c24e7839af70d940a65d","user":{"login":"KennethLundberg","id":27309575,"avatar_url":"https://avatars3.githubusercontent.com/u/27309575?v=4","gravatar_id":"","url":"https://api.github.com/users/KennethLundberg","html_url":"https://github.com/KennethLundberg","followers_url":"https://api.github.com/users/KennethLundberg/followers","following_url":"https://api.github.com/users/KennethLundberg/following{/other_user}","gists_url":"https://api.github.com/users/KennethLundberg/gists{/gist_id}","starred_url":"https://api.github.com/users/KennethLundberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KennethLundberg/subscriptions","organizations_url":"https://api.github.com/users/KennethLundberg/orgs","repos_url":"https://api.github.com/users/KennethLundberg/repos","events_url":"https://api.github.com/users/KennethLundberg/events{/privacy}","received_events_url":"https://api.github.com/users/KennethLundberg/received_events","type":"User","site_admin":false},"repo":{"id":107714728,"name":"ucsdscheduleme","full_name":"KennethLundberg/ucsdscheduleme","owner":{"login":"KennethLundberg","id":27309575,"avatar_url":"https://avatars3.githubusercontent.com/u/27309575?v=4","gravatar_id":"","url":"https://api.github.com/users/KennethLundberg","html_url":"https://github.com/KennethLundberg","followers_url":"https://api.github.com/users/KennethLundberg/followers","following_url":"https://api.github.com/users/KennethLundberg/following{/other_user}","gists_url":"https://api.github.com/users/KennethLundberg/gists{/gist_id}","starred_url":"https://api.github.com/users/KennethLundberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KennethLundberg/subscriptions","organizations_url":"https://api.github.com/users/KennethLundberg/orgs","repos_url":"https://api.github.com/users/KennethLundberg/repos","events_url":"https://api.github.com/users/KennethLundberg/events{/privacy}","received_events_url":"https://api.github.com/users/KennethLundberg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KennethLundberg/ucsdscheduleme","description":null,"fork":false,"url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme","forks_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/forks","keys_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/teams","hooks_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/hooks","issue_events_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/issues/events{/number}","events_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/events","assignees_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/assignees{/user}","branches_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/branches{/branch}","tags_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/tags","blobs_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/git/refs{/sha}","trees_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/statuses/{sha}","languages_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/languages","stargazers_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/stargazers","contributors_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/contributors","subscribers_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/subscribers","subscription_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/subscription","commits_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/commits{/sha}","git_commits_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/git/commits{/sha}","comments_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/comments{/number}","issue_comment_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/issues/comments{/number}","contents_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/contents/{+path}","compare_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/merges","archive_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/downloads","issues_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/issues{/number}","pulls_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/pulls{/number}","milestones_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/milestones{/number}","notifications_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/labels{/name}","releases_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/releases{/id}","deployments_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/deployments","created_at":"2017-10-20T18:49:15Z","updated_at":"2017-10-25T00:13:29Z","pushed_at":"2017-11-18T18:55:26Z","git_url":"git://github.com/KennethLundberg/ucsdscheduleme.git","ssh_url":"git@github.com:KennethLundberg/ucsdscheduleme.git","clone_url":"https://github.com/KennethLundberg/ucsdscheduleme.git","svn_url":"https://github.com/KennethLundberg/ucsdscheduleme","homepage":null,"size":744,"stargazers_count":0,"watchers_count":0,"language":"C#","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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"KennethLundberg:master","ref":"master","sha":"17d2ea9e9b261d290f3bfccfa59286aff56e5731","user":{"login":"KennethLundberg","id":27309575,"avatar_url":"https://avatars3.githubusercontent.com/u/27309575?v=4","gravatar_id":"","url":"https://api.github.com/users/KennethLundberg","html_url":"https://github.com/KennethLundberg","followers_url":"https://api.github.com/users/KennethLundberg/followers","following_url":"https://api.github.com/users/KennethLundberg/following{/other_user}","gists_url":"https://api.github.com/users/KennethLundberg/gists{/gist_id}","starred_url":"https://api.github.com/users/KennethLundberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KennethLundberg/subscriptions","organizations_url":"https://api.github.com/users/KennethLundberg/orgs","repos_url":"https://api.github.com/users/KennethLundberg/repos","events_url":"https://api.github.com/users/KennethLundberg/events{/privacy}","received_events_url":"https://api.github.com/users/KennethLundberg/received_events","type":"User","site_admin":false},"repo":{"id":107714728,"name":"ucsdscheduleme","full_name":"KennethLundberg/ucsdscheduleme","owner":{"login":"KennethLundberg","id":27309575,"avatar_url":"https://avatars3.githubusercontent.com/u/27309575?v=4","gravatar_id":"","url":"https://api.github.com/users/KennethLundberg","html_url":"https://github.com/KennethLundberg","followers_url":"https://api.github.com/users/KennethLundberg/followers","following_url":"https://api.github.com/users/KennethLundberg/following{/other_user}","gists_url":"https://api.github.com/users/KennethLundberg/gists{/gist_id}","starred_url":"https://api.github.com/users/KennethLundberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KennethLundberg/subscriptions","organizations_url":"https://api.github.com/users/KennethLundberg/orgs","repos_url":"https://api.github.com/users/KennethLundberg/repos","events_url":"https://api.github.com/users/KennethLundberg/events{/privacy}","received_events_url":"https://api.github.com/users/KennethLundberg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KennethLundberg/ucsdscheduleme","description":null,"fork":false,"url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme","forks_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/forks","keys_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/teams","hooks_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/hooks","issue_events_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/issues/events{/number}","events_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/events","assignees_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/assignees{/user}","branches_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/branches{/branch}","tags_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/tags","blobs_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/git/refs{/sha}","trees_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/statuses/{sha}","languages_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/languages","stargazers_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/stargazers","contributors_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/contributors","subscribers_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/subscribers","subscription_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/subscription","commits_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/commits{/sha}","git_commits_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/git/commits{/sha}","comments_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/comments{/number}","issue_comment_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/issues/comments{/number}","contents_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/contents/{+path}","compare_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/merges","archive_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/downloads","issues_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/issues{/number}","pulls_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/pulls{/number}","milestones_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/milestones{/number}","notifications_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/labels{/name}","releases_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/releases{/id}","deployments_url":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/deployments","created_at":"2017-10-20T18:49:15Z","updated_at":"2017-10-25T00:13:29Z","pushed_at":"2017-11-18T18:55:26Z","git_url":"git://github.com/KennethLundberg/ucsdscheduleme.git","ssh_url":"git@github.com:KennethLundberg/ucsdscheduleme.git","clone_url":"https://github.com/KennethLundberg/ucsdscheduleme.git","svn_url":"https://github.com/KennethLundberg/ucsdscheduleme","homepage":null,"size":744,"stargazers_count":0,"watchers_count":0,"language":"C#","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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/pulls/32"},"html":{"href":"https://github.com/KennethLundberg/ucsdscheduleme/pull/32"},"issue":{"href":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/issues/32"},"comments":{"href":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/KennethLundberg/ucsdscheduleme/statuses/5c991b4da371af2348f7c24e7839af70d940a65d"}},"author_association":"OWNER"}}
{"actor":{"display_login":"cjimene"}}