{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/autorest.csharp/pulls/comments/150992728","pull_request_review_id":76629436,"id":150992728,"diff_hunk":"@@ -0,0 +1,115 @@\n+// <auto-generated>\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+// Code generated by Microsoft (R) AutoRest Code Generator.\n+// Changes may cause incorrect behavior and will be lost if the code is\n+// regenerated.\n+// </auto-generated>\n+\n+namespace Fixtures.AcceptanceTestsExtensibleEnums.Models\n+{\n+    using Newtonsoft.Json;\n+\n+    /// <summary>\n+    /// Defines values for DaysOfWeekExtensibleEnum.\n+    /// </summary>\n+    /// <summary>\n+    /// Determine base value for a given allowed value if exists, else return\n+    /// the value itself\n+    /// </summary>\n+    [JsonConverter(typeof(DaysOfWeekExtensibleEnumConverter))]\n+    public struct DaysOfWeekExtensibleEnum : System.IEquatable<DaysOfWeekExtensibleEnum>\n+    {\n+        private DaysOfWeekExtensibleEnum(string underlyingValue)\n+        {\n+            UnderlyingValue=underlyingValue;\n+        }\n+\n+        public static readonly DaysOfWeekExtensibleEnum Monday = \"Monday\";\n+\n+        public static readonly DaysOfWeekExtensibleEnum Tuesday = \"Tuesday\";\n+\n+        public static readonly DaysOfWeekExtensibleEnum Wednesday = \"Wednesday\";\n+\n+        public static readonly DaysOfWeekExtensibleEnum Thursday = \"Thursday\";\n+\n+        public static readonly DaysOfWeekExtensibleEnum Friday = \"Friday\";\n+\n+        public static readonly DaysOfWeekExtensibleEnum Saturday = \"Saturday\";\n+\n+        public static readonly DaysOfWeekExtensibleEnum Sunday = \"Sunday\";\n+\n+\n+        /// <summary>\n+        /// Underlying value of enum DaysOfWeekExtensibleEnum\n+        /// </summary>\n+        private readonly string UnderlyingValue;\n+\n+        /// <summary>\n+        /// Returns string representation for DaysOfWeekExtensibleEnum\n+        /// </summary>\n+        public override string ToString()\n+        {\n+            return UnderlyingValue.ToString();\n+        }\n+\n+        /// <summary>\n+        /// Compares enums of type DaysOfWeekExtensibleEnum\n+        /// </summary>\n+        public bool Equals(DaysOfWeekExtensibleEnum e)\n+        {\n+            return UnderlyingValue.Equals(e.UnderlyingValue);\n+        }\n+\n+        /// <summary>\n+        /// Implicit operator to convert string to DaysOfWeekExtensibleEnum\n+        /// </summary>\n+        public static implicit operator DaysOfWeekExtensibleEnum(string value)\n+        {\n+            return new DaysOfWeekExtensibleEnum(value);\n+        }\n+\n+        /// <summary>\n+        /// Implicit operator to convert DaysOfWeekExtensibleEnum to string\n+        /// </summary>\n+        public static implicit operator string(DaysOfWeekExtensibleEnum e)","path":"test/vanilla/Expected/AcceptanceTests/ExtensibleEnums/Models/DaysOfWeekExtensibleEnum.cs","position":77,"original_position":77,"commit_id":"92721f7a4015f4af07f2ad8aae1a6104cff09e0a","original_commit_id":"17812f5a7cf87e3db1f3861c7915ee22a9836518","user":{"login":"fearthecowboy","id":133736,"avatar_url":"https://avatars3.githubusercontent.com/u/133736?v=4","gravatar_id":"","url":"https://api.github.com/users/fearthecowboy","html_url":"https://github.com/fearthecowboy","followers_url":"https://api.github.com/users/fearthecowboy/followers","following_url":"https://api.github.com/users/fearthecowboy/following{/other_user}","gists_url":"https://api.github.com/users/fearthecowboy/gists{/gist_id}","starred_url":"https://api.github.com/users/fearthecowboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fearthecowboy/subscriptions","organizations_url":"https://api.github.com/users/fearthecowboy/orgs","repos_url":"https://api.github.com/users/fearthecowboy/repos","events_url":"https://api.github.com/users/fearthecowboy/events{/privacy}","received_events_url":"https://api.github.com/users/fearthecowboy/received_events","type":"User","site_admin":false},"body":"Perhaps we should make implicit/explicit optional.","created_at":"2017-11-14T23:14:51Z","updated_at":"2017-11-14T23:14:51Z","html_url":"https://github.com/Azure/autorest.csharp/pull/45#discussion_r150992728","pull_request_url":"https://api.github.com/repos/Azure/autorest.csharp/pulls/45","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Azure/autorest.csharp/pulls/comments/150992728"},"html":{"href":"https://github.com/Azure/autorest.csharp/pull/45#discussion_r150992728"},"pull_request":{"href":"https://api.github.com/repos/Azure/autorest.csharp/pulls/45"}},"in_reply_to_id":149527913},"pull_request":{"url":"https://api.github.com/repos/Azure/autorest.csharp/pulls/45","id":150990503,"html_url":"https://github.com/Azure/autorest.csharp/pull/45","diff_url":"https://github.com/Azure/autorest.csharp/pull/45.diff","patch_url":"https://github.com/Azure/autorest.csharp/pull/45.patch","issue_url":"https://api.github.com/repos/Azure/autorest.csharp/issues/45","number":45,"state":"open","locked":false,"title":"Implementing extensible enums as structs","user":{"login":"dsgouda","id":14796031,"avatar_url":"https://avatars2.githubusercontent.com/u/14796031?v=4","gravatar_id":"","url":"https://api.github.com/users/dsgouda","html_url":"https://github.com/dsgouda","followers_url":"https://api.github.com/users/dsgouda/followers","following_url":"https://api.github.com/users/dsgouda/following{/other_user}","gists_url":"https://api.github.com/users/dsgouda/gists{/gist_id}","starred_url":"https://api.github.com/users/dsgouda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsgouda/subscriptions","organizations_url":"https://api.github.com/users/dsgouda/orgs","repos_url":"https://api.github.com/users/dsgouda/repos","events_url":"https://api.github.com/users/dsgouda/events{/privacy}","received_events_url":"https://api.github.com/users/dsgouda/received_events","type":"User","site_admin":false},"body":"- Still need to update references to the modeler package, dependent on https://github.com/Azure/autorest.modeler/pull/27","created_at":"2017-11-06T23:48:02Z","updated_at":"2017-11-14T23:14:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b1138a10a06fb1a4f9977dfcfafecea58f2bdc2","assignee":null,"assignees":[],"requested_reviewers":[{"login":"fearthecowboy","id":133736,"avatar_url":"https://avatars3.githubusercontent.com/u/133736?v=4","gravatar_id":"","url":"https://api.github.com/users/fearthecowboy","html_url":"https://github.com/fearthecowboy","followers_url":"https://api.github.com/users/fearthecowboy/followers","following_url":"https://api.github.com/users/fearthecowboy/following{/other_user}","gists_url":"https://api.github.com/users/fearthecowboy/gists{/gist_id}","starred_url":"https://api.github.com/users/fearthecowboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fearthecowboy/subscriptions","organizations_url":"https://api.github.com/users/fearthecowboy/orgs","repos_url":"https://api.github.com/users/fearthecowboy/repos","events_url":"https://api.github.com/users/fearthecowboy/events{/privacy}","received_events_url":"https://api.github.com/users/fearthecowboy/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/autorest.csharp/pulls/45/commits","review_comments_url":"https://api.github.com/repos/Azure/autorest.csharp/pulls/45/comments","review_comment_url":"https://api.github.com/repos/Azure/autorest.csharp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/autorest.csharp/issues/45/comments","statuses_url":"https://api.github.com/repos/Azure/autorest.csharp/statuses/92721f7a4015f4af07f2ad8aae1a6104cff09e0a","head":{"label":"dsgouda:extenums1","ref":"extenums1","sha":"92721f7a4015f4af07f2ad8aae1a6104cff09e0a","user":{"login":"dsgouda","id":14796031,"avatar_url":"https://avatars2.githubusercontent.com/u/14796031?v=4","gravatar_id":"","url":"https://api.github.com/users/dsgouda","html_url":"https://github.com/dsgouda","followers_url":"https://api.github.com/users/dsgouda/followers","following_url":"https://api.github.com/users/dsgouda/following{/other_user}","gists_url":"https://api.github.com/users/dsgouda/gists{/gist_id}","starred_url":"https://api.github.com/users/dsgouda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsgouda/subscriptions","organizations_url":"https://api.github.com/users/dsgouda/orgs","repos_url":"https://api.github.com/users/dsgouda/repos","events_url":"https://api.github.com/users/dsgouda/events{/privacy}","received_events_url":"https://api.github.com/users/dsgouda/received_events","type":"User","site_admin":false},"repo":{"id":103986083,"name":"autorest.csharp","full_name":"dsgouda/autorest.csharp","owner":{"login":"dsgouda","id":14796031,"avatar_url":"https://avatars2.githubusercontent.com/u/14796031?v=4","gravatar_id":"","url":"https://api.github.com/users/dsgouda","html_url":"https://github.com/dsgouda","followers_url":"https://api.github.com/users/dsgouda/followers","following_url":"https://api.github.com/users/dsgouda/following{/other_user}","gists_url":"https://api.github.com/users/dsgouda/gists{/gist_id}","starred_url":"https://api.github.com/users/dsgouda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsgouda/subscriptions","organizations_url":"https://api.github.com/users/dsgouda/orgs","repos_url":"https://api.github.com/users/dsgouda/repos","events_url":"https://api.github.com/users/dsgouda/events{/privacy}","received_events_url":"https://api.github.com/users/dsgouda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dsgouda/autorest.csharp","description":"Extension for AutoRest (https://github.com/Azure/autorest) that generates C# code","fork":true,"url":"https://api.github.com/repos/dsgouda/autorest.csharp","forks_url":"https://api.github.com/repos/dsgouda/autorest.csharp/forks","keys_url":"https://api.github.com/repos/dsgouda/autorest.csharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dsgouda/autorest.csharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dsgouda/autorest.csharp/teams","hooks_url":"https://api.github.com/repos/dsgouda/autorest.csharp/hooks","issue_events_url":"https://api.github.com/repos/dsgouda/autorest.csharp/issues/events{/number}","events_url":"https://api.github.com/repos/dsgouda/autorest.csharp/events","assignees_url":"https://api.github.com/repos/dsgouda/autorest.csharp/assignees{/user}","branches_url":"https://api.github.com/repos/dsgouda/autorest.csharp/branches{/branch}","tags_url":"https://api.github.com/repos/dsgouda/autorest.csharp/tags","blobs_url":"https://api.github.com/repos/dsgouda/autorest.csharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dsgouda/autorest.csharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dsgouda/autorest.csharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/dsgouda/autorest.csharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dsgouda/autorest.csharp/statuses/{sha}","languages_url":"https://api.github.com/repos/dsgouda/autorest.csharp/languages","stargazers_url":"https://api.github.com/repos/dsgouda/autorest.csharp/stargazers","contributors_url":"https://api.github.com/repos/dsgouda/autorest.csharp/contributors","subscribers_url":"https://api.github.com/repos/dsgouda/autorest.csharp/subscribers","subscription_url":"https://api.github.com/repos/dsgouda/autorest.csharp/subscription","commits_url":"https://api.github.com/repos/dsgouda/autorest.csharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/dsgouda/autorest.csharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/dsgouda/autorest.csharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/dsgouda/autorest.csharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/dsgouda/autorest.csharp/contents/{+path}","compare_url":"https://api.github.com/repos/dsgouda/autorest.csharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dsgouda/autorest.csharp/merges","archive_url":"https://api.github.com/repos/dsgouda/autorest.csharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dsgouda/autorest.csharp/downloads","issues_url":"https://api.github.com/repos/dsgouda/autorest.csharp/issues{/number}","pulls_url":"https://api.github.com/repos/dsgouda/autorest.csharp/pulls{/number}","milestones_url":"https://api.github.com/repos/dsgouda/autorest.csharp/milestones{/number}","notifications_url":"https://api.github.com/repos/dsgouda/autorest.csharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dsgouda/autorest.csharp/labels{/name}","releases_url":"https://api.github.com/repos/dsgouda/autorest.csharp/releases{/id}","deployments_url":"https://api.github.com/repos/dsgouda/autorest.csharp/deployments","created_at":"2017-09-18T20:03:23Z","updated_at":"2017-09-18T20:03:27Z","pushed_at":"2017-11-14T00:07:24Z","git_url":"git://github.com/dsgouda/autorest.csharp.git","ssh_url":"git@github.com:dsgouda/autorest.csharp.git","clone_url":"https://github.com/dsgouda/autorest.csharp.git","svn_url":"https://github.com/dsgouda/autorest.csharp","homepage":null,"size":1339,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Azure:master","ref":"master","sha":"b0015e3aea89b6e5af53dd2068b2266e5a628faf","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":100315623,"name":"autorest.csharp","full_name":"Azure/autorest.csharp","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/autorest.csharp","description":"Extension for AutoRest (https://github.com/Azure/autorest) that generates C# code","fork":false,"url":"https://api.github.com/repos/Azure/autorest.csharp","forks_url":"https://api.github.com/repos/Azure/autorest.csharp/forks","keys_url":"https://api.github.com/repos/Azure/autorest.csharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/autorest.csharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/autorest.csharp/teams","hooks_url":"https://api.github.com/repos/Azure/autorest.csharp/hooks","issue_events_url":"https://api.github.com/repos/Azure/autorest.csharp/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/autorest.csharp/events","assignees_url":"https://api.github.com/repos/Azure/autorest.csharp/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/autorest.csharp/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/autorest.csharp/tags","blobs_url":"https://api.github.com/repos/Azure/autorest.csharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/autorest.csharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/autorest.csharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/autorest.csharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/autorest.csharp/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/autorest.csharp/languages","stargazers_url":"https://api.github.com/repos/Azure/autorest.csharp/stargazers","contributors_url":"https://api.github.com/repos/Azure/autorest.csharp/contributors","subscribers_url":"https://api.github.com/repos/Azure/autorest.csharp/subscribers","subscription_url":"https://api.github.com/repos/Azure/autorest.csharp/subscription","commits_url":"https://api.github.com/repos/Azure/autorest.csharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/autorest.csharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/autorest.csharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/autorest.csharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/autorest.csharp/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/autorest.csharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/autorest.csharp/merges","archive_url":"https://api.github.com/repos/Azure/autorest.csharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/autorest.csharp/downloads","issues_url":"https://api.github.com/repos/Azure/autorest.csharp/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/autorest.csharp/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/autorest.csharp/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/autorest.csharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/autorest.csharp/labels{/name}","releases_url":"https://api.github.com/repos/Azure/autorest.csharp/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/autorest.csharp/deployments","created_at":"2017-08-14T22:52:14Z","updated_at":"2017-11-04T17:47:43Z","pushed_at":"2017-11-14T22:38:36Z","git_url":"git://github.com/Azure/autorest.csharp.git","ssh_url":"git@github.com:Azure/autorest.csharp.git","clone_url":"https://github.com/Azure/autorest.csharp.git","svn_url":"https://github.com/Azure/autorest.csharp","homepage":null,"size":1667,"stargazers_count":1,"watchers_count":1,"language":"C#","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":5,"forks":9,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/autorest.csharp/pulls/45"},"html":{"href":"https://github.com/Azure/autorest.csharp/pull/45"},"issue":{"href":"https://api.github.com/repos/Azure/autorest.csharp/issues/45"},"comments":{"href":"https://api.github.com/repos/Azure/autorest.csharp/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/autorest.csharp/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/autorest.csharp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/autorest.csharp/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/autorest.csharp/statuses/92721f7a4015f4af07f2ad8aae1a6104cff09e0a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"fearthecowboy"}}