{"action":"created","comment":{"url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/comments/95178672","pull_request_review_id":15724824,"id":95178672,"diff_hunk":"@@ -0,0 +1,43 @@\n+// Download the twilio-csharp library from twilio.com/docs/libraries/csharp\n+using System;\n+using System.Collections.Generic;\n+using Twilio;\n+using Twilio.Rest.Lookups.V1;\n+using Twilio.Rest.Pricing.V1.Messaging;\n+using Twilio.Types;\n+\n+public class Example\n+{\n+    public static void Main(string[] args)\n+    {\n+        // Find your Account SID and Auth Token at twilio.com/console\n+        const string accountSid = \"ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\";\n+        const string authToken = \"your_auth_token\";\n+\n+        TwilioClient.Init(accountSid, authToken);\n+\n+        var phoneNumber = PhoneNumberResource.Fetch(\n+            new PhoneNumber(\"+15108675309\"),\n+            type: new List<string> {\"carrier\"});\n+\n+        var mcc = phoneNumber.Carrier[\"mobile_country_code\"];\n+        var mnc = phoneNumber.Carrier[\"mobile_network_code\"];\n+\n+        var countryCode = phoneNumber.CountryCode;\n+        var countries = CountryResource.Fetch(countryCode);\n+\n+        foreach (var country in countries.OutboundSmsPrices)","path":"pricing/get-lookup-pricing/get-lookup-pricing.5.x.cs","position":29,"original_position":29,"commit_id":"89317866be54c1c47db81fd2ab744d5aad3591e9","original_commit_id":"89317866be54c1c47db81fd2ab744d5aad3591e9","user":{"login":"acamino","id":957202,"avatar_url":"https://avatars.githubusercontent.com/u/957202?v=3","gravatar_id":"","url":"https://api.github.com/users/acamino","html_url":"https://github.com/acamino","followers_url":"https://api.github.com/users/acamino/followers","following_url":"https://api.github.com/users/acamino/following{/other_user}","gists_url":"https://api.github.com/users/acamino/gists{/gist_id}","starred_url":"https://api.github.com/users/acamino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acamino/subscriptions","organizations_url":"https://api.github.com/users/acamino/orgs","repos_url":"https://api.github.com/users/acamino/repos","events_url":"https://api.github.com/users/acamino/events{/privacy}","received_events_url":"https://api.github.com/users/acamino/received_events","type":"User","site_admin":false},"body":"I really like your suggestion! I can't believe how do I miss `Where`. You can think of `Aggregate` as a _reduce_ function.","created_at":"2017-01-09T15:38:15Z","updated_at":"2017-01-09T15:38:15Z","html_url":"https://github.com/TwilioDevEd/api-snippets/pull/219#discussion_r95178672","pull_request_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/219","_links":{"self":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/comments/95178672"},"html":{"href":"https://github.com/TwilioDevEd/api-snippets/pull/219#discussion_r95178672"},"pull_request":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/219"}}},"pull_request":{"url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/219","id":99021041,"html_url":"https://github.com/TwilioDevEd/api-snippets/pull/219","diff_url":"https://github.com/TwilioDevEd/api-snippets/pull/219.diff","patch_url":"https://github.com/TwilioDevEd/api-snippets/pull/219.patch","issue_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/219","number":219,"state":"open","locked":false,"title":"Add C# next-gen snippets (remaining snippets)","user":{"login":"acamino","id":957202,"avatar_url":"https://avatars.githubusercontent.com/u/957202?v=3","gravatar_id":"","url":"https://api.github.com/users/acamino","html_url":"https://github.com/acamino","followers_url":"https://api.github.com/users/acamino/followers","following_url":"https://api.github.com/users/acamino/following{/other_user}","gists_url":"https://api.github.com/users/acamino/gists{/gist_id}","starred_url":"https://api.github.com/users/acamino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acamino/subscriptions","organizations_url":"https://api.github.com/users/acamino/orgs","repos_url":"https://api.github.com/users/acamino/repos","events_url":"https://api.github.com/users/acamino/events{/privacy}","received_events_url":"https://api.github.com/users/acamino/received_events","type":"User","site_admin":false},"body":"Snippets for the C# next-gen Twilio Library 5.0.0rca2.\r\n\r\n## TODO\r\n\r\n- [x] client\r\n- [x] guides\r\n- [x] insights -- only mobile examples\r\n- [x] ip-messaging\r\n- [x] lookups\r\n- [x] monitor\r\n- [x] notifications\r\n- [x] pricing -- under test on Travis\r\n- [x] security -- under test on Travis. This **can't be done until the next helper library release**. The required functionality is available on the [request-validator](https://github.com/twilio/twilio-csharp/tree/request-validator) pull request.\r\n- [x] stun-turn\r\n- [x] sync\r\n- [x] video\r\n- [x] voice\r\n- [x] wireless\r\n","created_at":"2016-12-21T23:05:59Z","updated_at":"2017-01-09T15:38:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"04adc4a8064ffb228b715f6fa7dfd22dfd8e16f2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/219/commits","review_comments_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/219/comments","review_comment_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/219/comments","statuses_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/statuses/89317866be54c1c47db81fd2ab744d5aad3591e9","head":{"label":"TwilioDevEd:add-remaining-csharp-snippets","ref":"add-remaining-csharp-snippets","sha":"89317866be54c1c47db81fd2ab744d5aad3591e9","user":{"login":"TwilioDevEd","id":8114879,"avatar_url":"https://avatars.githubusercontent.com/u/8114879?v=3","gravatar_id":"","url":"https://api.github.com/users/TwilioDevEd","html_url":"https://github.com/TwilioDevEd","followers_url":"https://api.github.com/users/TwilioDevEd/followers","following_url":"https://api.github.com/users/TwilioDevEd/following{/other_user}","gists_url":"https://api.github.com/users/TwilioDevEd/gists{/gist_id}","starred_url":"https://api.github.com/users/TwilioDevEd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TwilioDevEd/subscriptions","organizations_url":"https://api.github.com/users/TwilioDevEd/orgs","repos_url":"https://api.github.com/users/TwilioDevEd/repos","events_url":"https://api.github.com/users/TwilioDevEd/events{/privacy}","received_events_url":"https://api.github.com/users/TwilioDevEd/received_events","type":"Organization","site_admin":false},"repo":{"id":49965712,"name":"api-snippets","full_name":"TwilioDevEd/api-snippets","owner":{"login":"TwilioDevEd","id":8114879,"avatar_url":"https://avatars.githubusercontent.com/u/8114879?v=3","gravatar_id":"","url":"https://api.github.com/users/TwilioDevEd","html_url":"https://github.com/TwilioDevEd","followers_url":"https://api.github.com/users/TwilioDevEd/followers","following_url":"https://api.github.com/users/TwilioDevEd/following{/other_user}","gists_url":"https://api.github.com/users/TwilioDevEd/gists{/gist_id}","starred_url":"https://api.github.com/users/TwilioDevEd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TwilioDevEd/subscriptions","organizations_url":"https://api.github.com/users/TwilioDevEd/orgs","repos_url":"https://api.github.com/users/TwilioDevEd/repos","events_url":"https://api.github.com/users/TwilioDevEd/events{/privacy}","received_events_url":"https://api.github.com/users/TwilioDevEd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TwilioDevEd/api-snippets","description":"Code snippets for the Twilio API Documentation","fork":false,"url":"https://api.github.com/repos/TwilioDevEd/api-snippets","forks_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/forks","keys_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/teams","hooks_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/hooks","issue_events_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/events{/number}","events_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/events","assignees_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/assignees{/user}","branches_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/branches{/branch}","tags_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/tags","blobs_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/refs{/sha}","trees_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/statuses/{sha}","languages_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/languages","stargazers_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/stargazers","contributors_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/contributors","subscribers_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/subscribers","subscription_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/subscription","commits_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/commits{/sha}","git_commits_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/commits{/sha}","comments_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/comments{/number}","issue_comment_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/comments{/number}","contents_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/contents/{+path}","compare_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/merges","archive_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/downloads","issues_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues{/number}","pulls_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls{/number}","milestones_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/milestones{/number}","notifications_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/labels{/name}","releases_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/releases{/id}","deployments_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/deployments","created_at":"2016-01-19T16:21:44Z","updated_at":"2017-01-05T15:37:33Z","pushed_at":"2017-01-09T12:35:15Z","git_url":"git://github.com/TwilioDevEd/api-snippets.git","ssh_url":"git@github.com:TwilioDevEd/api-snippets.git","clone_url":"https://github.com/TwilioDevEd/api-snippets.git","svn_url":"https://github.com/TwilioDevEd/api-snippets","homepage":null,"size":17685,"stargazers_count":14,"watchers_count":14,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":10,"forks":26,"open_issues":10,"watchers":14,"default_branch":"master"}},"base":{"label":"TwilioDevEd:master","ref":"master","sha":"0b457d907e059e79b8da4cf8e24cc5a0dc83b7f5","user":{"login":"TwilioDevEd","id":8114879,"avatar_url":"https://avatars.githubusercontent.com/u/8114879?v=3","gravatar_id":"","url":"https://api.github.com/users/TwilioDevEd","html_url":"https://github.com/TwilioDevEd","followers_url":"https://api.github.com/users/TwilioDevEd/followers","following_url":"https://api.github.com/users/TwilioDevEd/following{/other_user}","gists_url":"https://api.github.com/users/TwilioDevEd/gists{/gist_id}","starred_url":"https://api.github.com/users/TwilioDevEd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TwilioDevEd/subscriptions","organizations_url":"https://api.github.com/users/TwilioDevEd/orgs","repos_url":"https://api.github.com/users/TwilioDevEd/repos","events_url":"https://api.github.com/users/TwilioDevEd/events{/privacy}","received_events_url":"https://api.github.com/users/TwilioDevEd/received_events","type":"Organization","site_admin":false},"repo":{"id":49965712,"name":"api-snippets","full_name":"TwilioDevEd/api-snippets","owner":{"login":"TwilioDevEd","id":8114879,"avatar_url":"https://avatars.githubusercontent.com/u/8114879?v=3","gravatar_id":"","url":"https://api.github.com/users/TwilioDevEd","html_url":"https://github.com/TwilioDevEd","followers_url":"https://api.github.com/users/TwilioDevEd/followers","following_url":"https://api.github.com/users/TwilioDevEd/following{/other_user}","gists_url":"https://api.github.com/users/TwilioDevEd/gists{/gist_id}","starred_url":"https://api.github.com/users/TwilioDevEd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TwilioDevEd/subscriptions","organizations_url":"https://api.github.com/users/TwilioDevEd/orgs","repos_url":"https://api.github.com/users/TwilioDevEd/repos","events_url":"https://api.github.com/users/TwilioDevEd/events{/privacy}","received_events_url":"https://api.github.com/users/TwilioDevEd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TwilioDevEd/api-snippets","description":"Code snippets for the Twilio API Documentation","fork":false,"url":"https://api.github.com/repos/TwilioDevEd/api-snippets","forks_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/forks","keys_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/teams","hooks_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/hooks","issue_events_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/events{/number}","events_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/events","assignees_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/assignees{/user}","branches_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/branches{/branch}","tags_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/tags","blobs_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/refs{/sha}","trees_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/statuses/{sha}","languages_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/languages","stargazers_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/stargazers","contributors_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/contributors","subscribers_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/subscribers","subscription_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/subscription","commits_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/commits{/sha}","git_commits_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/commits{/sha}","comments_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/comments{/number}","issue_comment_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/comments{/number}","contents_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/contents/{+path}","compare_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/merges","archive_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/downloads","issues_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues{/number}","pulls_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls{/number}","milestones_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/milestones{/number}","notifications_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/labels{/name}","releases_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/releases{/id}","deployments_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/deployments","created_at":"2016-01-19T16:21:44Z","updated_at":"2017-01-05T15:37:33Z","pushed_at":"2017-01-09T12:35:15Z","git_url":"git://github.com/TwilioDevEd/api-snippets.git","ssh_url":"git@github.com:TwilioDevEd/api-snippets.git","clone_url":"https://github.com/TwilioDevEd/api-snippets.git","svn_url":"https://github.com/TwilioDevEd/api-snippets","homepage":null,"size":17685,"stargazers_count":14,"watchers_count":14,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":10,"forks":26,"open_issues":10,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/219"},"html":{"href":"https://github.com/TwilioDevEd/api-snippets/pull/219"},"issue":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/219"},"comments":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/219/comments"},"review_comments":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/219/comments"},"review_comment":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/219/commits"},"statuses":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/statuses/89317866be54c1c47db81fd2ab744d5aad3591e9"}}}}
{"actor":{"display_login":"acamino"}}