{"action":"created","issue":{"url":"https://api.github.com/repos/darrencauthon/csharp-sparkpost/issues/115","repository_url":"https://api.github.com/repos/darrencauthon/csharp-sparkpost","labels_url":"https://api.github.com/repos/darrencauthon/csharp-sparkpost/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/darrencauthon/csharp-sparkpost/issues/115/comments","events_url":"https://api.github.com/repos/darrencauthon/csharp-sparkpost/issues/115/events","html_url":"https://github.com/darrencauthon/csharp-sparkpost/issues/115","id":189026291,"number":115,"title":"Is Metrics API supported?","user":{"login":"jasneo","id":5520408,"avatar_url":"https://avatars.githubusercontent.com/u/5520408?v=3","gravatar_id":"","url":"https://api.github.com/users/jasneo","html_url":"https://github.com/jasneo","followers_url":"https://api.github.com/users/jasneo/followers","following_url":"https://api.github.com/users/jasneo/following{/other_user}","gists_url":"https://api.github.com/users/jasneo/gists{/gist_id}","starred_url":"https://api.github.com/users/jasneo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasneo/subscriptions","organizations_url":"https://api.github.com/users/jasneo/orgs","repos_url":"https://api.github.com/users/jasneo/repos","events_url":"https://api.github.com/users/jasneo/events{/privacy}","received_events_url":"https://api.github.com/users/jasneo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-11-14T04:25:41Z","updated_at":"2016-11-28T15:46:05Z","closed_at":null,"body":"I don't see any references to Metrics API. I am checking whether it's supported in this project.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/darrencauthon/csharp-sparkpost/issues/comments/263305775","html_url":"https://github.com/darrencauthon/csharp-sparkpost/issues/115#issuecomment-263305775","issue_url":"https://api.github.com/repos/darrencauthon/csharp-sparkpost/issues/115","id":263305775,"user":{"login":"asherber","id":5248041,"avatar_url":"https://avatars.githubusercontent.com/u/5248041?v=3","gravatar_id":"","url":"https://api.github.com/users/asherber","html_url":"https://github.com/asherber","followers_url":"https://api.github.com/users/asherber/followers","following_url":"https://api.github.com/users/asherber/following{/other_user}","gists_url":"https://api.github.com/users/asherber/gists{/gist_id}","starred_url":"https://api.github.com/users/asherber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asherber/subscriptions","organizations_url":"https://api.github.com/users/asherber/orgs","repos_url":"https://api.github.com/users/asherber/repos","events_url":"https://api.github.com/users/asherber/events{/privacy}","received_events_url":"https://api.github.com/users/asherber/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T15:46:05Z","updated_at":"2016-11-28T15:46:05Z","body":"Happy to discuss strings vs. enums with you further. As you'll see, these aren't technically enums -- they're a class with `static readonly` fields that are convertible to strings. The idea is for the user to be able to do something like:\r\n```csharp\r\nstring domain = dict[MetricsField.Domain];\r\n```\r\nrather than\r\n```csharp\r\nstring domain = dict[\"domain\"];\r\n```\r\nand having to make sure they spelled 'domain' correctly, every time they use it. Using a type lets the user have IntelliSense for discoverability and compile-time checking.\r\n\r\nOTOH, if I play with conversion operators, I think I can get the dictionary keyed by string but still give the user the choice of using the enum to access it, if they want. "}}
{"actor":{"display_login":"asherber"}}