{"action":"created","comment":{"url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/comments/63343699","id":63343699,"diff_hunk":"@@ -0,0 +1,17 @@\n+package fi.helsinki.opintoni.dto.portfolio;\n+\n+public class CourseMaterialDto {\n+\n+    public CourseMaterialDto(String courseMaterialUri, CourseMaterialType courseMaterialType) {\n+        this.courseMaterialUri = courseMaterialUri;\n+        this.courseMaterialType = courseMaterialType;\n+    }\n+\n+    public enum CourseMaterialType {","path":"app/src/main/java/fi/helsinki/opintoni/dto/portfolio/CourseMaterialDto.java","position":10,"original_position":10,"commit_id":"885ac54858aabed3ea23a7c13e23a4cd583c26de","original_commit_id":"885ac54858aabed3ea23a7c13e23a4cd583c26de","user":{"login":"hheiskanen","id":6654979,"avatar_url":"https://avatars.githubusercontent.com/u/6654979?v=3","gravatar_id":"","url":"https://api.github.com/users/hheiskanen","html_url":"https://github.com/hheiskanen","followers_url":"https://api.github.com/users/hheiskanen/followers","following_url":"https://api.github.com/users/hheiskanen/following{/other_user}","gists_url":"https://api.github.com/users/hheiskanen/gists{/gist_id}","starred_url":"https://api.github.com/users/hheiskanen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hheiskanen/subscriptions","organizations_url":"https://api.github.com/users/hheiskanen/orgs","repos_url":"https://api.github.com/users/hheiskanen/repos","events_url":"https://api.github.com/users/hheiskanen/events{/privacy}","received_events_url":"https://api.github.com/users/hheiskanen/received_events","type":"User","site_admin":false},"body":"Voisiko tässä käyttää `CourseDto.CourseMaterialType`ä, kun ovat samanlaisia?","created_at":"2016-05-16T12:07:06Z","updated_at":"2016-05-16T12:07:06Z","html_url":"https://github.com/UH-StudentServices/mystudies-myteaching-backend/pull/52#discussion_r63343699","pull_request_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/52","_links":{"self":{"href":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/comments/63343699"},"html":{"href":"https://github.com/UH-StudentServices/mystudies-myteaching-backend/pull/52#discussion_r63343699"},"pull_request":{"href":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/52"}}},"pull_request":{"url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/52","id":70187014,"html_url":"https://github.com/UH-StudentServices/mystudies-myteaching-backend/pull/52","diff_url":"https://github.com/UH-StudentServices/mystudies-myteaching-backend/pull/52.diff","patch_url":"https://github.com/UH-StudentServices/mystudies-myteaching-backend/pull/52.patch","issue_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/issues/52","number":52,"state":"open","locked":false,"title":"Course material changes","user":{"login":"markorautajoki","id":1059322,"avatar_url":"https://avatars.githubusercontent.com/u/1059322?v=3","gravatar_id":"","url":"https://api.github.com/users/markorautajoki","html_url":"https://github.com/markorautajoki","followers_url":"https://api.github.com/users/markorautajoki/followers","following_url":"https://api.github.com/users/markorautajoki/following{/other_user}","gists_url":"https://api.github.com/users/markorautajoki/gists{/gist_id}","starred_url":"https://api.github.com/users/markorautajoki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markorautajoki/subscriptions","organizations_url":"https://api.github.com/users/markorautajoki/orgs","repos_url":"https://api.github.com/users/markorautajoki/repos","events_url":"https://api.github.com/users/markorautajoki/events{/privacy}","received_events_url":"https://api.github.com/users/markorautajoki/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-16T12:02:12Z","updated_at":"2016-05-16T12:07:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9eb260297ffae539428d3a2104286598b83bfa88","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/52/commits","review_comments_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/52/comments","review_comment_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/issues/52/comments","statuses_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/statuses/885ac54858aabed3ea23a7c13e23a4cd583c26de","head":{"label":"UH-StudentServices:course-material-changes","ref":"course-material-changes","sha":"885ac54858aabed3ea23a7c13e23a4cd583c26de","user":{"login":"UH-StudentServices","id":11271527,"avatar_url":"https://avatars.githubusercontent.com/u/11271527?v=3","gravatar_id":"","url":"https://api.github.com/users/UH-StudentServices","html_url":"https://github.com/UH-StudentServices","followers_url":"https://api.github.com/users/UH-StudentServices/followers","following_url":"https://api.github.com/users/UH-StudentServices/following{/other_user}","gists_url":"https://api.github.com/users/UH-StudentServices/gists{/gist_id}","starred_url":"https://api.github.com/users/UH-StudentServices/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UH-StudentServices/subscriptions","organizations_url":"https://api.github.com/users/UH-StudentServices/orgs","repos_url":"https://api.github.com/users/UH-StudentServices/repos","events_url":"https://api.github.com/users/UH-StudentServices/events{/privacy}","received_events_url":"https://api.github.com/users/UH-StudentServices/received_events","type":"Organization","site_admin":false},"repo":{"id":46273704,"name":"mystudies-myteaching-backend","full_name":"UH-StudentServices/mystudies-myteaching-backend","owner":{"login":"UH-StudentServices","id":11271527,"avatar_url":"https://avatars.githubusercontent.com/u/11271527?v=3","gravatar_id":"","url":"https://api.github.com/users/UH-StudentServices","html_url":"https://github.com/UH-StudentServices","followers_url":"https://api.github.com/users/UH-StudentServices/followers","following_url":"https://api.github.com/users/UH-StudentServices/following{/other_user}","gists_url":"https://api.github.com/users/UH-StudentServices/gists{/gist_id}","starred_url":"https://api.github.com/users/UH-StudentServices/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UH-StudentServices/subscriptions","organizations_url":"https://api.github.com/users/UH-StudentServices/orgs","repos_url":"https://api.github.com/users/UH-StudentServices/repos","events_url":"https://api.github.com/users/UH-StudentServices/events{/privacy}","received_events_url":"https://api.github.com/users/UH-StudentServices/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UH-StudentServices/mystudies-myteaching-backend","description":"","fork":false,"url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend","forks_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/forks","keys_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/teams","hooks_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/hooks","issue_events_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/issues/events{/number}","events_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/events","assignees_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/assignees{/user}","branches_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/branches{/branch}","tags_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/tags","blobs_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/languages","stargazers_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/stargazers","contributors_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/contributors","subscribers_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/subscribers","subscription_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/subscription","commits_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/contents/{+path}","compare_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/merges","archive_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/downloads","issues_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/issues{/number}","pulls_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/labels{/name}","releases_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/releases{/id}","deployments_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/deployments","created_at":"2015-11-16T12:38:03Z","updated_at":"2016-01-13T07:58:23Z","pushed_at":"2016-05-16T12:02:12Z","git_url":"git://github.com/UH-StudentServices/mystudies-myteaching-backend.git","ssh_url":"git@github.com:UH-StudentServices/mystudies-myteaching-backend.git","clone_url":"https://github.com/UH-StudentServices/mystudies-myteaching-backend.git","svn_url":"https://github.com/UH-StudentServices/mystudies-myteaching-backend","homepage":null,"size":4940,"stargazers_count":1,"watchers_count":1,"language":"Java","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":1,"default_branch":"develop"}},"base":{"label":"UH-StudentServices:develop","ref":"develop","sha":"85682168c147a82c06e767239ef5c175a210b11a","user":{"login":"UH-StudentServices","id":11271527,"avatar_url":"https://avatars.githubusercontent.com/u/11271527?v=3","gravatar_id":"","url":"https://api.github.com/users/UH-StudentServices","html_url":"https://github.com/UH-StudentServices","followers_url":"https://api.github.com/users/UH-StudentServices/followers","following_url":"https://api.github.com/users/UH-StudentServices/following{/other_user}","gists_url":"https://api.github.com/users/UH-StudentServices/gists{/gist_id}","starred_url":"https://api.github.com/users/UH-StudentServices/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UH-StudentServices/subscriptions","organizations_url":"https://api.github.com/users/UH-StudentServices/orgs","repos_url":"https://api.github.com/users/UH-StudentServices/repos","events_url":"https://api.github.com/users/UH-StudentServices/events{/privacy}","received_events_url":"https://api.github.com/users/UH-StudentServices/received_events","type":"Organization","site_admin":false},"repo":{"id":46273704,"name":"mystudies-myteaching-backend","full_name":"UH-StudentServices/mystudies-myteaching-backend","owner":{"login":"UH-StudentServices","id":11271527,"avatar_url":"https://avatars.githubusercontent.com/u/11271527?v=3","gravatar_id":"","url":"https://api.github.com/users/UH-StudentServices","html_url":"https://github.com/UH-StudentServices","followers_url":"https://api.github.com/users/UH-StudentServices/followers","following_url":"https://api.github.com/users/UH-StudentServices/following{/other_user}","gists_url":"https://api.github.com/users/UH-StudentServices/gists{/gist_id}","starred_url":"https://api.github.com/users/UH-StudentServices/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UH-StudentServices/subscriptions","organizations_url":"https://api.github.com/users/UH-StudentServices/orgs","repos_url":"https://api.github.com/users/UH-StudentServices/repos","events_url":"https://api.github.com/users/UH-StudentServices/events{/privacy}","received_events_url":"https://api.github.com/users/UH-StudentServices/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UH-StudentServices/mystudies-myteaching-backend","description":"","fork":false,"url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend","forks_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/forks","keys_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/teams","hooks_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/hooks","issue_events_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/issues/events{/number}","events_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/events","assignees_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/assignees{/user}","branches_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/branches{/branch}","tags_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/tags","blobs_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/languages","stargazers_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/stargazers","contributors_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/contributors","subscribers_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/subscribers","subscription_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/subscription","commits_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/contents/{+path}","compare_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/merges","archive_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/downloads","issues_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/issues{/number}","pulls_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/labels{/name}","releases_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/releases{/id}","deployments_url":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/deployments","created_at":"2015-11-16T12:38:03Z","updated_at":"2016-01-13T07:58:23Z","pushed_at":"2016-05-16T12:02:12Z","git_url":"git://github.com/UH-StudentServices/mystudies-myteaching-backend.git","ssh_url":"git@github.com:UH-StudentServices/mystudies-myteaching-backend.git","clone_url":"https://github.com/UH-StudentServices/mystudies-myteaching-backend.git","svn_url":"https://github.com/UH-StudentServices/mystudies-myteaching-backend","homepage":null,"size":4940,"stargazers_count":1,"watchers_count":1,"language":"Java","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":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/52"},"html":{"href":"https://github.com/UH-StudentServices/mystudies-myteaching-backend/pull/52"},"issue":{"href":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/issues/52"},"comments":{"href":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/UH-StudentServices/mystudies-myteaching-backend/statuses/885ac54858aabed3ea23a7c13e23a4cd583c26de"}}}}