{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/autorest/pulls/comments/98965817","pull_request_review_id":19621545,"id":98965817,"diff_hunk":"@@ -73,8 +72,11 @@ public CodeGeneratorRba()\n                     continue;\n                 }\n \n-                var modelTemplate = new ModelTemplate { Model = model };\n-                await Write(modelTemplate, Path.Combine(GeneratorSettingsRb.Instance.modelsPath, CodeNamer.UnderscoreCase(model.Name) + ImplementationFileExtension));\n+                var modelTemplate = new AzureModelTemplate { Model = model };","path":"src/generator/AutoRest.Ruby.Azure/CodeGeneratorRba.cs","position":20,"original_position":16,"commit_id":"9e3e93bfced5585905cc7803342f470a3cbf2da1","original_commit_id":"48f1173adad3b1b91f5bf484095ef7f27070095a","user":{"login":"vishrutshah","id":8782776,"avatar_url":"https://avatars.githubusercontent.com/u/8782776?v=3","gravatar_id":"","url":"https://api.github.com/users/vishrutshah","html_url":"https://github.com/vishrutshah","followers_url":"https://api.github.com/users/vishrutshah/followers","following_url":"https://api.github.com/users/vishrutshah/following{/other_user}","gists_url":"https://api.github.com/users/vishrutshah/gists{/gist_id}","starred_url":"https://api.github.com/users/vishrutshah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishrutshah/subscriptions","organizations_url":"https://api.github.com/users/vishrutshah/orgs","repos_url":"https://api.github.com/users/vishrutshah/repos","events_url":"https://api.github.com/users/vishrutshah/events{/privacy}","received_events_url":"https://api.github.com/users/vishrutshah/received_events","type":"User","site_admin":false},"body":"I liked the idea that @veronicagg has but looks like you guys already discussed and reached to mutual conclusion","created_at":"2017-02-01T18:50:45Z","updated_at":"2017-02-01T18:54:22Z","html_url":"https://github.com/Azure/autorest/pull/1769#discussion_r98965817","pull_request_url":"https://api.github.com/repos/Azure/autorest/pulls/1769","_links":{"self":{"href":"https://api.github.com/repos/Azure/autorest/pulls/comments/98965817"},"html":{"href":"https://github.com/Azure/autorest/pull/1769#discussion_r98965817"},"pull_request":{"href":"https://api.github.com/repos/Azure/autorest/pulls/1769"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/autorest/pulls/1769","id":103888592,"html_url":"https://github.com/Azure/autorest/pull/1769","diff_url":"https://github.com/Azure/autorest/pull/1769.diff","patch_url":"https://github.com/Azure/autorest/pull/1769.patch","issue_url":"https://api.github.com/repos/Azure/autorest/issues/1769","number":1769,"state":"open","locked":false,"title":"Code changes to generate resources/subresources","user":{"login":"sarangan12","id":602456,"avatar_url":"https://avatars.githubusercontent.com/u/602456?v=3","gravatar_id":"","url":"https://api.github.com/users/sarangan12","html_url":"https://github.com/sarangan12","followers_url":"https://api.github.com/users/sarangan12/followers","following_url":"https://api.github.com/users/sarangan12/following{/other_user}","gists_url":"https://api.github.com/users/sarangan12/gists{/gist_id}","starred_url":"https://api.github.com/users/sarangan12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarangan12/subscriptions","organizations_url":"https://api.github.com/users/sarangan12/orgs","repos_url":"https://api.github.com/users/sarangan12/repos","events_url":"https://api.github.com/users/sarangan12/events{/privacy}","received_events_url":"https://api.github.com/users/sarangan12/received_events","type":"User","site_admin":false},"body":"@veronicagg @vishrutshah @salameer Please review.","created_at":"2017-01-31T08:16:14Z","updated_at":"2017-02-01T18:54:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eebf7bf2bb9c3d2d4b0606d289e7aa3e996871c7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/autorest/pulls/1769/commits","review_comments_url":"https://api.github.com/repos/Azure/autorest/pulls/1769/comments","review_comment_url":"https://api.github.com/repos/Azure/autorest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/autorest/issues/1769/comments","statuses_url":"https://api.github.com/repos/Azure/autorest/statuses/9e3e93bfced5585905cc7803342f470a3cbf2da1","head":{"label":"sarangan12:AssociateResourceSubResources","ref":"AssociateResourceSubResources","sha":"9e3e93bfced5585905cc7803342f470a3cbf2da1","user":{"login":"sarangan12","id":602456,"avatar_url":"https://avatars.githubusercontent.com/u/602456?v=3","gravatar_id":"","url":"https://api.github.com/users/sarangan12","html_url":"https://github.com/sarangan12","followers_url":"https://api.github.com/users/sarangan12/followers","following_url":"https://api.github.com/users/sarangan12/following{/other_user}","gists_url":"https://api.github.com/users/sarangan12/gists{/gist_id}","starred_url":"https://api.github.com/users/sarangan12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarangan12/subscriptions","organizations_url":"https://api.github.com/users/sarangan12/orgs","repos_url":"https://api.github.com/users/sarangan12/repos","events_url":"https://api.github.com/users/sarangan12/events{/privacy}","received_events_url":"https://api.github.com/users/sarangan12/received_events","type":"User","site_admin":false},"repo":{"id":68033012,"name":"autorest","full_name":"sarangan12/autorest","owner":{"login":"sarangan12","id":602456,"avatar_url":"https://avatars.githubusercontent.com/u/602456?v=3","gravatar_id":"","url":"https://api.github.com/users/sarangan12","html_url":"https://github.com/sarangan12","followers_url":"https://api.github.com/users/sarangan12/followers","following_url":"https://api.github.com/users/sarangan12/following{/other_user}","gists_url":"https://api.github.com/users/sarangan12/gists{/gist_id}","starred_url":"https://api.github.com/users/sarangan12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarangan12/subscriptions","organizations_url":"https://api.github.com/users/sarangan12/orgs","repos_url":"https://api.github.com/users/sarangan12/repos","events_url":"https://api.github.com/users/sarangan12/events{/privacy}","received_events_url":"https://api.github.com/users/sarangan12/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sarangan12/autorest","description":"Swagger (OpenAPI) Specification code generator featuring C# and Razor templates. Supports C#, Java, Node.js, TypeScript, Python and Ruby.","fork":true,"url":"https://api.github.com/repos/sarangan12/autorest","forks_url":"https://api.github.com/repos/sarangan12/autorest/forks","keys_url":"https://api.github.com/repos/sarangan12/autorest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sarangan12/autorest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sarangan12/autorest/teams","hooks_url":"https://api.github.com/repos/sarangan12/autorest/hooks","issue_events_url":"https://api.github.com/repos/sarangan12/autorest/issues/events{/number}","events_url":"https://api.github.com/repos/sarangan12/autorest/events","assignees_url":"https://api.github.com/repos/sarangan12/autorest/assignees{/user}","branches_url":"https://api.github.com/repos/sarangan12/autorest/branches{/branch}","tags_url":"https://api.github.com/repos/sarangan12/autorest/tags","blobs_url":"https://api.github.com/repos/sarangan12/autorest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sarangan12/autorest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sarangan12/autorest/git/refs{/sha}","trees_url":"https://api.github.com/repos/sarangan12/autorest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sarangan12/autorest/statuses/{sha}","languages_url":"https://api.github.com/repos/sarangan12/autorest/languages","stargazers_url":"https://api.github.com/repos/sarangan12/autorest/stargazers","contributors_url":"https://api.github.com/repos/sarangan12/autorest/contributors","subscribers_url":"https://api.github.com/repos/sarangan12/autorest/subscribers","subscription_url":"https://api.github.com/repos/sarangan12/autorest/subscription","commits_url":"https://api.github.com/repos/sarangan12/autorest/commits{/sha}","git_commits_url":"https://api.github.com/repos/sarangan12/autorest/git/commits{/sha}","comments_url":"https://api.github.com/repos/sarangan12/autorest/comments{/number}","issue_comment_url":"https://api.github.com/repos/sarangan12/autorest/issues/comments{/number}","contents_url":"https://api.github.com/repos/sarangan12/autorest/contents/{+path}","compare_url":"https://api.github.com/repos/sarangan12/autorest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sarangan12/autorest/merges","archive_url":"https://api.github.com/repos/sarangan12/autorest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sarangan12/autorest/downloads","issues_url":"https://api.github.com/repos/sarangan12/autorest/issues{/number}","pulls_url":"https://api.github.com/repos/sarangan12/autorest/pulls{/number}","milestones_url":"https://api.github.com/repos/sarangan12/autorest/milestones{/number}","notifications_url":"https://api.github.com/repos/sarangan12/autorest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sarangan12/autorest/labels{/name}","releases_url":"https://api.github.com/repos/sarangan12/autorest/releases{/id}","deployments_url":"https://api.github.com/repos/sarangan12/autorest/deployments","created_at":"2016-09-12T17:48:16Z","updated_at":"2016-09-12T17:48:25Z","pushed_at":"2017-02-01T18:13:43Z","git_url":"git://github.com/sarangan12/autorest.git","ssh_url":"git@github.com:sarangan12/autorest.git","clone_url":"https://github.com/sarangan12/autorest.git","svn_url":"https://github.com/sarangan12/autorest","homepage":"","size":58011,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"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":0,"default_branch":"master"}},"base":{"label":"Azure:master","ref":"master","sha":"285ba60fd8df7c71ecc73eed18285f6c78e32812","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","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":31089461,"name":"autorest","full_name":"Azure/autorest","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","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/autorest","description":"Swagger (OpenAPI) Specification code generator featuring C# and Razor templates. Supports C#, Java, Node.js, TypeScript, Python and Ruby.","fork":false,"url":"https://api.github.com/repos/Azure/autorest","forks_url":"https://api.github.com/repos/Azure/autorest/forks","keys_url":"https://api.github.com/repos/Azure/autorest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/autorest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/autorest/teams","hooks_url":"https://api.github.com/repos/Azure/autorest/hooks","issue_events_url":"https://api.github.com/repos/Azure/autorest/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/autorest/events","assignees_url":"https://api.github.com/repos/Azure/autorest/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/autorest/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/autorest/tags","blobs_url":"https://api.github.com/repos/Azure/autorest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/autorest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/autorest/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/autorest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/autorest/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/autorest/languages","stargazers_url":"https://api.github.com/repos/Azure/autorest/stargazers","contributors_url":"https://api.github.com/repos/Azure/autorest/contributors","subscribers_url":"https://api.github.com/repos/Azure/autorest/subscribers","subscription_url":"https://api.github.com/repos/Azure/autorest/subscription","commits_url":"https://api.github.com/repos/Azure/autorest/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/autorest/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/autorest/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/autorest/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/autorest/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/autorest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/autorest/merges","archive_url":"https://api.github.com/repos/Azure/autorest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/autorest/downloads","issues_url":"https://api.github.com/repos/Azure/autorest/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/autorest/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/autorest/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/autorest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/autorest/labels{/name}","releases_url":"https://api.github.com/repos/Azure/autorest/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/autorest/deployments","created_at":"2015-02-20T23:02:54Z","updated_at":"2017-01-30T23:09:25Z","pushed_at":"2017-02-01T18:16:17Z","git_url":"git://github.com/Azure/autorest.git","ssh_url":"git@github.com:Azure/autorest.git","clone_url":"https://github.com/Azure/autorest.git","svn_url":"https://github.com/Azure/autorest","homepage":"","size":59239,"stargazers_count":637,"watchers_count":637,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":204,"mirror_url":null,"open_issues_count":153,"forks":204,"open_issues":153,"watchers":637,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/autorest/pulls/1769"},"html":{"href":"https://github.com/Azure/autorest/pull/1769"},"issue":{"href":"https://api.github.com/repos/Azure/autorest/issues/1769"},"comments":{"href":"https://api.github.com/repos/Azure/autorest/issues/1769/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/autorest/pulls/1769/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/autorest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/autorest/pulls/1769/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/autorest/statuses/9e3e93bfced5585905cc7803342f470a3cbf2da1"}}}}
{"actor":{"display_login":"vishrutshah"}}