{"action":"created","comment":{"url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/pulls/comments/130226503","pull_request_review_id":53081978,"id":130226503,"diff_hunk":"@@ -0,0 +1,258 @@\n+/*  \n+ * Copyright IBM Corp. 2017\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+package com.ibm.g11n.pipeline.client;\n+\n+import java.util.EnumSet;\n+import java.util.List;\n+import java.util.Map;\n+import java.util.Set;\n+\n+/**\n+ * <code>NewTranslationRequestData</code> is used for specifying a new\n+ * translation request.\n+ * \n+ * @author Yoshito Umaoka\n+ */\n+public class NewTranslationRequestData {\n+    private final Map<String, Set<String>> targetLanguagesByBundle;\n+\n+    private String partner = \"IBM\";","path":"src/main/java/com/ibm/g11n/pipeline/client/NewTranslationRequestData.java","position":32,"original_position":32,"commit_id":"09ae2d928f163a862d72097544342363211963e3","original_commit_id":"09ae2d928f163a862d72097544342363211963e3","user":{"login":"yumaoka","id":5431140,"avatar_url":"https://avatars2.githubusercontent.com/u/5431140?v=4","gravatar_id":"","url":"https://api.github.com/users/yumaoka","html_url":"https://github.com/yumaoka","followers_url":"https://api.github.com/users/yumaoka/followers","following_url":"https://api.github.com/users/yumaoka/following{/other_user}","gists_url":"https://api.github.com/users/yumaoka/gists{/gist_id}","starred_url":"https://api.github.com/users/yumaoka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yumaoka/subscriptions","organizations_url":"https://api.github.com/users/yumaoka/orgs","repos_url":"https://api.github.com/users/yumaoka/repos","events_url":"https://api.github.com/users/yumaoka/events{/privacy}","received_events_url":"https://api.github.com/users/yumaoka/received_events","type":"User","site_admin":false},"body":"I want leave API open to user to change a partner, but default to \"IBM\". So, I think it's right to set \"IBM\" as default partner.","created_at":"2017-07-29T19:11:15Z","updated_at":"2017-07-29T19:11:15Z","html_url":"https://github.com/IBM-Bluemix/gp-java-client/pull/23#discussion_r130226503","pull_request_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/pulls/comments/130226503"},"html":{"href":"https://github.com/IBM-Bluemix/gp-java-client/pull/23#discussion_r130226503"},"pull_request":{"href":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/pulls/23","id":133019704,"html_url":"https://github.com/IBM-Bluemix/gp-java-client/pull/23","diff_url":"https://github.com/IBM-Bluemix/gp-java-client/pull/23.diff","patch_url":"https://github.com/IBM-Bluemix/gp-java-client/pull/23.patch","issue_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/issues/23","number":23,"state":"open","locked":false,"title":"Translation Request API support","user":{"login":"yumaoka","id":5431140,"avatar_url":"https://avatars2.githubusercontent.com/u/5431140?v=4","gravatar_id":"","url":"https://api.github.com/users/yumaoka","html_url":"https://github.com/yumaoka","followers_url":"https://api.github.com/users/yumaoka/followers","following_url":"https://api.github.com/users/yumaoka/following{/other_user}","gists_url":"https://api.github.com/users/yumaoka/gists{/gist_id}","starred_url":"https://api.github.com/users/yumaoka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yumaoka/subscriptions","organizations_url":"https://api.github.com/users/yumaoka/orgs","repos_url":"https://api.github.com/users/yumaoka/repos","events_url":"https://api.github.com/users/yumaoka/events{/privacy}","received_events_url":"https://api.github.com/users/yumaoka/received_events","type":"User","site_admin":false},"body":"New translation request APIs and XLIFF APIs.\nAlso improved some test cases.","created_at":"2017-07-28T17:50:47Z","updated_at":"2017-07-29T19:11:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71b5c866421ef7200d5fbaf5555795ecb49afe4f","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/pulls/23/commits","review_comments_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/pulls/23/comments","review_comment_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/issues/23/comments","statuses_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/statuses/09ae2d928f163a862d72097544342363211963e3","head":{"label":"yumaoka:tr-support","ref":"tr-support","sha":"09ae2d928f163a862d72097544342363211963e3","user":{"login":"yumaoka","id":5431140,"avatar_url":"https://avatars2.githubusercontent.com/u/5431140?v=4","gravatar_id":"","url":"https://api.github.com/users/yumaoka","html_url":"https://github.com/yumaoka","followers_url":"https://api.github.com/users/yumaoka/followers","following_url":"https://api.github.com/users/yumaoka/following{/other_user}","gists_url":"https://api.github.com/users/yumaoka/gists{/gist_id}","starred_url":"https://api.github.com/users/yumaoka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yumaoka/subscriptions","organizations_url":"https://api.github.com/users/yumaoka/orgs","repos_url":"https://api.github.com/users/yumaoka/repos","events_url":"https://api.github.com/users/yumaoka/events{/privacy}","received_events_url":"https://api.github.com/users/yumaoka/received_events","type":"User","site_admin":false},"repo":{"id":58497011,"name":"gp-java-client","full_name":"yumaoka/gp-java-client","owner":{"login":"yumaoka","id":5431140,"avatar_url":"https://avatars2.githubusercontent.com/u/5431140?v=4","gravatar_id":"","url":"https://api.github.com/users/yumaoka","html_url":"https://github.com/yumaoka","followers_url":"https://api.github.com/users/yumaoka/followers","following_url":"https://api.github.com/users/yumaoka/following{/other_user}","gists_url":"https://api.github.com/users/yumaoka/gists{/gist_id}","starred_url":"https://api.github.com/users/yumaoka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yumaoka/subscriptions","organizations_url":"https://api.github.com/users/yumaoka/orgs","repos_url":"https://api.github.com/users/yumaoka/repos","events_url":"https://api.github.com/users/yumaoka/events{/privacy}","received_events_url":"https://api.github.com/users/yumaoka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yumaoka/gp-java-client","description":"Java client for Globalization Pipeline on Bluemix","fork":true,"url":"https://api.github.com/repos/yumaoka/gp-java-client","forks_url":"https://api.github.com/repos/yumaoka/gp-java-client/forks","keys_url":"https://api.github.com/repos/yumaoka/gp-java-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yumaoka/gp-java-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yumaoka/gp-java-client/teams","hooks_url":"https://api.github.com/repos/yumaoka/gp-java-client/hooks","issue_events_url":"https://api.github.com/repos/yumaoka/gp-java-client/issues/events{/number}","events_url":"https://api.github.com/repos/yumaoka/gp-java-client/events","assignees_url":"https://api.github.com/repos/yumaoka/gp-java-client/assignees{/user}","branches_url":"https://api.github.com/repos/yumaoka/gp-java-client/branches{/branch}","tags_url":"https://api.github.com/repos/yumaoka/gp-java-client/tags","blobs_url":"https://api.github.com/repos/yumaoka/gp-java-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yumaoka/gp-java-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yumaoka/gp-java-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/yumaoka/gp-java-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yumaoka/gp-java-client/statuses/{sha}","languages_url":"https://api.github.com/repos/yumaoka/gp-java-client/languages","stargazers_url":"https://api.github.com/repos/yumaoka/gp-java-client/stargazers","contributors_url":"https://api.github.com/repos/yumaoka/gp-java-client/contributors","subscribers_url":"https://api.github.com/repos/yumaoka/gp-java-client/subscribers","subscription_url":"https://api.github.com/repos/yumaoka/gp-java-client/subscription","commits_url":"https://api.github.com/repos/yumaoka/gp-java-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/yumaoka/gp-java-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/yumaoka/gp-java-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/yumaoka/gp-java-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/yumaoka/gp-java-client/contents/{+path}","compare_url":"https://api.github.com/repos/yumaoka/gp-java-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yumaoka/gp-java-client/merges","archive_url":"https://api.github.com/repos/yumaoka/gp-java-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yumaoka/gp-java-client/downloads","issues_url":"https://api.github.com/repos/yumaoka/gp-java-client/issues{/number}","pulls_url":"https://api.github.com/repos/yumaoka/gp-java-client/pulls{/number}","milestones_url":"https://api.github.com/repos/yumaoka/gp-java-client/milestones{/number}","notifications_url":"https://api.github.com/repos/yumaoka/gp-java-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yumaoka/gp-java-client/labels{/name}","releases_url":"https://api.github.com/repos/yumaoka/gp-java-client/releases{/id}","deployments_url":"https://api.github.com/repos/yumaoka/gp-java-client/deployments","created_at":"2016-05-10T22:19:53Z","updated_at":"2016-11-11T15:22:36Z","pushed_at":"2017-07-28T17:49:23Z","git_url":"git://github.com/yumaoka/gp-java-client.git","ssh_url":"git@github.com:yumaoka/gp-java-client.git","clone_url":"https://github.com/yumaoka/gp-java-client.git","svn_url":"https://github.com/yumaoka/gp-java-client","homepage":"https://www.ng.bluemix.net/docs/services/GlobalizationPipeline/index.html","size":222,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"IBM-Bluemix:master","ref":"master","sha":"2c4e566e4f3e9d0caecdad812481fb2f4b34aad6","user":{"login":"IBM-Bluemix","id":7284885,"avatar_url":"https://avatars1.githubusercontent.com/u/7284885?v=4","gravatar_id":"","url":"https://api.github.com/users/IBM-Bluemix","html_url":"https://github.com/IBM-Bluemix","followers_url":"https://api.github.com/users/IBM-Bluemix/followers","following_url":"https://api.github.com/users/IBM-Bluemix/following{/other_user}","gists_url":"https://api.github.com/users/IBM-Bluemix/gists{/gist_id}","starred_url":"https://api.github.com/users/IBM-Bluemix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBM-Bluemix/subscriptions","organizations_url":"https://api.github.com/users/IBM-Bluemix/orgs","repos_url":"https://api.github.com/users/IBM-Bluemix/repos","events_url":"https://api.github.com/users/IBM-Bluemix/events{/privacy}","received_events_url":"https://api.github.com/users/IBM-Bluemix/received_events","type":"Organization","site_admin":false},"repo":{"id":34081022,"name":"gp-java-client","full_name":"IBM-Bluemix/gp-java-client","owner":{"login":"IBM-Bluemix","id":7284885,"avatar_url":"https://avatars1.githubusercontent.com/u/7284885?v=4","gravatar_id":"","url":"https://api.github.com/users/IBM-Bluemix","html_url":"https://github.com/IBM-Bluemix","followers_url":"https://api.github.com/users/IBM-Bluemix/followers","following_url":"https://api.github.com/users/IBM-Bluemix/following{/other_user}","gists_url":"https://api.github.com/users/IBM-Bluemix/gists{/gist_id}","starred_url":"https://api.github.com/users/IBM-Bluemix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBM-Bluemix/subscriptions","organizations_url":"https://api.github.com/users/IBM-Bluemix/orgs","repos_url":"https://api.github.com/users/IBM-Bluemix/repos","events_url":"https://api.github.com/users/IBM-Bluemix/events{/privacy}","received_events_url":"https://api.github.com/users/IBM-Bluemix/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IBM-Bluemix/gp-java-client","description":"Java client for Globalization Pipeline on Bluemix","fork":false,"url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client","forks_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/forks","keys_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/teams","hooks_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/hooks","issue_events_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/issues/events{/number}","events_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/events","assignees_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/assignees{/user}","branches_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/branches{/branch}","tags_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/tags","blobs_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/statuses/{sha}","languages_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/languages","stargazers_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/stargazers","contributors_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/contributors","subscribers_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/subscribers","subscription_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/subscription","commits_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/contents/{+path}","compare_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/merges","archive_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/downloads","issues_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/issues{/number}","pulls_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/pulls{/number}","milestones_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/milestones{/number}","notifications_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/labels{/name}","releases_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/releases{/id}","deployments_url":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/deployments","created_at":"2015-04-16T21:15:46Z","updated_at":"2016-12-16T19:09:52Z","pushed_at":"2017-07-28T17:50:48Z","git_url":"git://github.com/IBM-Bluemix/gp-java-client.git","ssh_url":"git@github.com:IBM-Bluemix/gp-java-client.git","clone_url":"https://github.com/IBM-Bluemix/gp-java-client.git","svn_url":"https://github.com/IBM-Bluemix/gp-java-client","homepage":"https://www.ng.bluemix.net/docs/services/GlobalizationPipeline/index.html","size":202,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":6,"forks":6,"open_issues":6,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/pulls/23"},"html":{"href":"https://github.com/IBM-Bluemix/gp-java-client/pull/23"},"issue":{"href":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/issues/23"},"comments":{"href":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/IBM-Bluemix/gp-java-client/statuses/09ae2d928f163a862d72097544342363211963e3"}}}}
{"actor":{"display_login":"yumaoka"}}