{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/azure-libraries-for-java/pulls/comments/176280813","pull_request_review_id":105953130,"id":176280813,"diff_hunk":"@@ -0,0 +1,47 @@\n+/**\n+ * Copyright (c) Microsoft Corporation. All rights reserved.\n+ * Licensed under the MIT License. See License.txt in the project root for\n+ * license information.\n+ */\n+package com.microsoft.azure.management.batchai.implementation;\n+\n+import com.microsoft.azure.management.apigeneration.LangDefinition;\n+import com.microsoft.azure.management.batchai.BatchAIJob;\n+import com.microsoft.azure.management.batchai.OutputDirectory;\n+import com.microsoft.azure.management.batchai.OutputDirectorySettings;\n+import com.microsoft.azure.management.resources.fluentcore.model.implementation.IndexableWrapperImpl;\n+\n+@LangDefinition\n+class OutputDirectorySettingsImpl extends IndexableWrapperImpl<OutputDirectory>\n+        implements OutputDirectorySettings.Definition<BatchAIJob.DefinitionStages.WithCreate> {\n+    private BatchAIJobImpl parent;\n+\n+    protected OutputDirectorySettingsImpl(OutputDirectory inner, BatchAIJobImpl parent) {\n+        super(inner);\n+        this.parent = parent;\n+    }\n+\n+    @Override\n+    public OutputDirectorySettings.DefinitionStages.WithAttach<BatchAIJob.DefinitionStages.WithCreate> withPathPrefix(String pathPrefix) {\n+        inner().withPathPrefix(pathPrefix);\n+        return this;\n+    }\n+\n+    @Override\n+    public OutputDirectorySettings.DefinitionStages.WithAttach<BatchAIJob.DefinitionStages.WithCreate> withPathSuffix(String pathSuffix) {\n+        inner().withPathSuffix(pathSuffix);\n+        return this;\n+    }\n+\n+    @Override\n+    public OutputDirectorySettings.DefinitionStages.WithAttach<BatchAIJob.DefinitionStages.WithCreate> withCreateNew(boolean createNew) {\n+        inner().withCreateNew(createNew);\n+        return this;\n+    }\n+\n+    @Override\n+    public BatchAIJob.DefinitionStages.WithCreate attach() {\n+        this.parent.attachOutputDirectory(this);\n+        return parent;\n+    }","path":"azure-mgmt-batchai/src/main/java/com/microsoft/azure/management/batchai/implementation/OutputDirectorySettingsImpl.java","position":46,"original_position":46,"commit_id":"6c35302b353dc2485df1ea647c6369254b40fa0d","original_commit_id":"6c35302b353dc2485df1ea647c6369254b40fa0d","user":{"login":"anuchandy","id":1471612,"avatar_url":"https://avatars1.githubusercontent.com/u/1471612?v=4","gravatar_id":"","url":"https://api.github.com/users/anuchandy","html_url":"https://github.com/anuchandy","followers_url":"https://api.github.com/users/anuchandy/followers","following_url":"https://api.github.com/users/anuchandy/following{/other_user}","gists_url":"https://api.github.com/users/anuchandy/gists{/gist_id}","starred_url":"https://api.github.com/users/anuchandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anuchandy/subscriptions","organizations_url":"https://api.github.com/users/anuchandy/orgs","repos_url":"https://api.github.com/users/anuchandy/repos","events_url":"https://api.github.com/users/anuchandy/events{/privacy}","received_events_url":"https://api.github.com/users/anuchandy/received_events","type":"User","site_admin":false},"body":"For methods in this class : we should not use interface as return type, it should be impl.","created_at":"2018-03-22T00:34:09Z","updated_at":"2018-03-22T00:35:55Z","html_url":"https://github.com/Azure/azure-libraries-for-java/pull/251#discussion_r176280813","pull_request_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/pulls/251","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-libraries-for-java/pulls/comments/176280813"},"html":{"href":"https://github.com/Azure/azure-libraries-for-java/pull/251#discussion_r176280813"},"pull_request":{"href":"https://api.github.com/repos/Azure/azure-libraries-for-java/pulls/251"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/azure-libraries-for-java/pulls/251","id":174482350,"html_url":"https://github.com/Azure/azure-libraries-for-java/pull/251","diff_url":"https://github.com/Azure/azure-libraries-for-java/pull/251.diff","patch_url":"https://github.com/Azure/azure-libraries-for-java/pull/251.patch","issue_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/issues/251","number":251,"state":"open","locked":false,"title":"Batch AI update","user":{"login":"lenala","id":6208231,"avatar_url":"https://avatars3.githubusercontent.com/u/6208231?v=4","gravatar_id":"","url":"https://api.github.com/users/lenala","html_url":"https://github.com/lenala","followers_url":"https://api.github.com/users/lenala/followers","following_url":"https://api.github.com/users/lenala/following{/other_user}","gists_url":"https://api.github.com/users/lenala/gists{/gist_id}","starred_url":"https://api.github.com/users/lenala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenala/subscriptions","organizations_url":"https://api.github.com/users/lenala/orgs","repos_url":"https://api.github.com/users/lenala/repos","events_url":"https://api.github.com/users/lenala/events{/privacy}","received_events_url":"https://api.github.com/users/lenala/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-12T20:15:43Z","updated_at":"2018-03-22T00:35:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6321e526a5fe7eb0107304d75503c61d38614a58","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/pulls/251/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/pulls/251/comments","review_comment_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/issues/251/comments","statuses_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/statuses/6c35302b353dc2485df1ea647c6369254b40fa0d","head":{"label":"lenala:batchai2","ref":"batchai2","sha":"6c35302b353dc2485df1ea647c6369254b40fa0d","user":{"login":"lenala","id":6208231,"avatar_url":"https://avatars3.githubusercontent.com/u/6208231?v=4","gravatar_id":"","url":"https://api.github.com/users/lenala","html_url":"https://github.com/lenala","followers_url":"https://api.github.com/users/lenala/followers","following_url":"https://api.github.com/users/lenala/following{/other_user}","gists_url":"https://api.github.com/users/lenala/gists{/gist_id}","starred_url":"https://api.github.com/users/lenala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenala/subscriptions","organizations_url":"https://api.github.com/users/lenala/orgs","repos_url":"https://api.github.com/users/lenala/repos","events_url":"https://api.github.com/users/lenala/events{/privacy}","received_events_url":"https://api.github.com/users/lenala/received_events","type":"User","site_admin":false},"repo":{"id":124011072,"name":"azure-libraries-for-java","full_name":"lenala/azure-libraries-for-java","owner":{"login":"lenala","id":6208231,"avatar_url":"https://avatars3.githubusercontent.com/u/6208231?v=4","gravatar_id":"","url":"https://api.github.com/users/lenala","html_url":"https://github.com/lenala","followers_url":"https://api.github.com/users/lenala/followers","following_url":"https://api.github.com/users/lenala/following{/other_user}","gists_url":"https://api.github.com/users/lenala/gists{/gist_id}","starred_url":"https://api.github.com/users/lenala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenala/subscriptions","organizations_url":"https://api.github.com/users/lenala/orgs","repos_url":"https://api.github.com/users/lenala/repos","events_url":"https://api.github.com/users/lenala/events{/privacy}","received_events_url":"https://api.github.com/users/lenala/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lenala/azure-libraries-for-java","description":"Azure Management Libraries for Java","fork":true,"url":"https://api.github.com/repos/lenala/azure-libraries-for-java","forks_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/forks","keys_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/teams","hooks_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/hooks","issue_events_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/issues/events{/number}","events_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/events","assignees_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/assignees{/user}","branches_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/branches{/branch}","tags_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/tags","blobs_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/statuses/{sha}","languages_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/languages","stargazers_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/stargazers","contributors_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/contributors","subscribers_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/subscribers","subscription_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/subscription","commits_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/contents/{+path}","compare_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/merges","archive_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/downloads","issues_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/issues{/number}","pulls_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/pulls{/number}","milestones_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/milestones{/number}","notifications_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/labels{/name}","releases_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/releases{/id}","deployments_url":"https://api.github.com/repos/lenala/azure-libraries-for-java/deployments","created_at":"2018-03-06T02:51:41Z","updated_at":"2018-03-18T07:23:06Z","pushed_at":"2018-03-21T22:44:14Z","git_url":"git://github.com/lenala/azure-libraries-for-java.git","ssh_url":"git@github.com:lenala/azure-libraries-for-java.git","clone_url":"https://github.com/lenala/azure-libraries-for-java.git","svn_url":"https://github.com/lenala/azure-libraries-for-java","homepage":"https://azure.com/java","size":94597,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Azure:master","ref":"master","sha":"d40620a9d5c3ab35958c4c8cf2755ab3f79d3e2d","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":105314178,"name":"azure-libraries-for-java","full_name":"Azure/azure-libraries-for-java","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/azure-libraries-for-java","description":"Azure Management Libraries for Java","fork":false,"url":"https://api.github.com/repos/Azure/azure-libraries-for-java","forks_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/forks","keys_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/teams","hooks_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/events","assignees_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/tags","blobs_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/subscription","commits_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/merges","archive_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/downloads","issues_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure-libraries-for-java/deployments","created_at":"2017-09-29T20:27:25Z","updated_at":"2018-03-21T14:36:47Z","pushed_at":"2018-03-21T22:44:14Z","git_url":"git://github.com/Azure/azure-libraries-for-java.git","ssh_url":"git@github.com:Azure/azure-libraries-for-java.git","clone_url":"https://github.com/Azure/azure-libraries-for-java.git","svn_url":"https://github.com/Azure/azure-libraries-for-java","homepage":" https://docs.microsoft.com/en-us/java/azure/ ","size":96272,"stargazers_count":17,"watchers_count":17,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":36,"mirror_url":null,"archived":false,"open_issues_count":91,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":36,"open_issues":91,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-libraries-for-java/pulls/251"},"html":{"href":"https://github.com/Azure/azure-libraries-for-java/pull/251"},"issue":{"href":"https://api.github.com/repos/Azure/azure-libraries-for-java/issues/251"},"comments":{"href":"https://api.github.com/repos/Azure/azure-libraries-for-java/issues/251/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-libraries-for-java/pulls/251/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/azure-libraries-for-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/azure-libraries-for-java/pulls/251/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-libraries-for-java/statuses/6c35302b353dc2485df1ea647c6369254b40fa0d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"anuchandy"}}