{"action":"created","comment":{"url":"https://api.github.com/repos/fog/fog/pulls/comments/43748577","id":43748577,"diff_hunk":"@@ -0,0 +1,68 @@\n+module Fog\n+  module Compute\n+    class Vsphere\n+      class Real\n+        def list_child_snapshots(snapshot, opts = {})\n+          s = Hash === snapshot ?\n+            Snapshot.new(snapshot.update(service: self)) : snapshot\n+          s.tree_node.childSnapshotList.map do |snap|","path":"lib/fog/vsphere/requests/compute/list_child_snapshots.rb","position":8,"original_position":8,"commit_id":"febe810f1333fbed942e52fb1ab088df4b62c27a","original_commit_id":"febe810f1333fbed942e52fb1ab088df4b62c27a","user":{"login":"plribeiro3000","id":672952,"avatar_url":"https://avatars.githubusercontent.com/u/672952?v=3","gravatar_id":"","url":"https://api.github.com/users/plribeiro3000","html_url":"https://github.com/plribeiro3000","followers_url":"https://api.github.com/users/plribeiro3000/followers","following_url":"https://api.github.com/users/plribeiro3000/following{/other_user}","gists_url":"https://api.github.com/users/plribeiro3000/gists{/gist_id}","starred_url":"https://api.github.com/users/plribeiro3000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plribeiro3000/subscriptions","organizations_url":"https://api.github.com/users/plribeiro3000/orgs","repos_url":"https://api.github.com/users/plribeiro3000/repos","events_url":"https://api.github.com/users/plribeiro3000/events{/privacy}","received_events_url":"https://api.github.com/users/plribeiro3000/received_events","type":"User","site_admin":false},"body":"Damm. Is not in your hands then. Too bad the guys on `rbvmomi` made such a confusion.\r\nThe mixed up both snake_case and camelCase. =s\r\n\r\nFrom their own example:\r\n\r\n```ruby\r\nvim.serviceInstance.find_datacenter(\"mydatacenter\")\r\n```\r\n\r\n=s","created_at":"2015-11-03T13:50:41Z","updated_at":"2015-11-03T13:50:41Z","html_url":"https://github.com/fog/fog/pull/3749#discussion_r43748577","pull_request_url":"https://api.github.com/repos/fog/fog/pulls/3749","_links":{"self":{"href":"https://api.github.com/repos/fog/fog/pulls/comments/43748577"},"html":{"href":"https://github.com/fog/fog/pull/3749#discussion_r43748577"},"pull_request":{"href":"https://api.github.com/repos/fog/fog/pulls/3749"}}},"pull_request":{"url":"https://api.github.com/repos/fog/fog/pulls/3749","id":49538555,"html_url":"https://github.com/fog/fog/pull/3749","diff_url":"https://github.com/fog/fog/pull/3749.diff","patch_url":"https://github.com/fog/fog/pull/3749.patch","issue_url":"https://api.github.com/repos/fog/fog/issues/3749","number":3749,"state":"open","locked":false,"title":"[vsphere] support for snapshot list and revert","user":{"login":"ireznice","id":8779206,"avatar_url":"https://avatars.githubusercontent.com/u/8779206?v=3","gravatar_id":"","url":"https://api.github.com/users/ireznice","html_url":"https://github.com/ireznice","followers_url":"https://api.github.com/users/ireznice/followers","following_url":"https://api.github.com/users/ireznice/following{/other_user}","gists_url":"https://api.github.com/users/ireznice/gists{/gist_id}","starred_url":"https://api.github.com/users/ireznice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ireznice/subscriptions","organizations_url":"https://api.github.com/users/ireznice/orgs","repos_url":"https://api.github.com/users/ireznice/repos","events_url":"https://api.github.com/users/ireznice/events{/privacy}","received_events_url":"https://api.github.com/users/ireznice/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-03T10:24:24Z","updated_at":"2015-11-03T13:50:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"500d5f984fad22f943271041322e4fdb5065db3c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fog/fog/pulls/3749/commits","review_comments_url":"https://api.github.com/repos/fog/fog/pulls/3749/comments","review_comment_url":"https://api.github.com/repos/fog/fog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fog/fog/issues/3749/comments","statuses_url":"https://api.github.com/repos/fog/fog/statuses/febe810f1333fbed942e52fb1ab088df4b62c27a","head":{"label":"ireznice:ir_snapshots","ref":"ir_snapshots","sha":"febe810f1333fbed942e52fb1ab088df4b62c27a","user":{"login":"ireznice","id":8779206,"avatar_url":"https://avatars.githubusercontent.com/u/8779206?v=3","gravatar_id":"","url":"https://api.github.com/users/ireznice","html_url":"https://github.com/ireznice","followers_url":"https://api.github.com/users/ireznice/followers","following_url":"https://api.github.com/users/ireznice/following{/other_user}","gists_url":"https://api.github.com/users/ireznice/gists{/gist_id}","starred_url":"https://api.github.com/users/ireznice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ireznice/subscriptions","organizations_url":"https://api.github.com/users/ireznice/orgs","repos_url":"https://api.github.com/users/ireznice/repos","events_url":"https://api.github.com/users/ireznice/events{/privacy}","received_events_url":"https://api.github.com/users/ireznice/received_events","type":"User","site_admin":false},"repo":{"id":44090057,"name":"fog","full_name":"ireznice/fog","owner":{"login":"ireznice","id":8779206,"avatar_url":"https://avatars.githubusercontent.com/u/8779206?v=3","gravatar_id":"","url":"https://api.github.com/users/ireznice","html_url":"https://github.com/ireznice","followers_url":"https://api.github.com/users/ireznice/followers","following_url":"https://api.github.com/users/ireznice/following{/other_user}","gists_url":"https://api.github.com/users/ireznice/gists{/gist_id}","starred_url":"https://api.github.com/users/ireznice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ireznice/subscriptions","organizations_url":"https://api.github.com/users/ireznice/orgs","repos_url":"https://api.github.com/users/ireznice/repos","events_url":"https://api.github.com/users/ireznice/events{/privacy}","received_events_url":"https://api.github.com/users/ireznice/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ireznice/fog","description":"The Ruby cloud services library.","fork":true,"url":"https://api.github.com/repos/ireznice/fog","forks_url":"https://api.github.com/repos/ireznice/fog/forks","keys_url":"https://api.github.com/repos/ireznice/fog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ireznice/fog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ireznice/fog/teams","hooks_url":"https://api.github.com/repos/ireznice/fog/hooks","issue_events_url":"https://api.github.com/repos/ireznice/fog/issues/events{/number}","events_url":"https://api.github.com/repos/ireznice/fog/events","assignees_url":"https://api.github.com/repos/ireznice/fog/assignees{/user}","branches_url":"https://api.github.com/repos/ireznice/fog/branches{/branch}","tags_url":"https://api.github.com/repos/ireznice/fog/tags","blobs_url":"https://api.github.com/repos/ireznice/fog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ireznice/fog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ireznice/fog/git/refs{/sha}","trees_url":"https://api.github.com/repos/ireznice/fog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ireznice/fog/statuses/{sha}","languages_url":"https://api.github.com/repos/ireznice/fog/languages","stargazers_url":"https://api.github.com/repos/ireznice/fog/stargazers","contributors_url":"https://api.github.com/repos/ireznice/fog/contributors","subscribers_url":"https://api.github.com/repos/ireznice/fog/subscribers","subscription_url":"https://api.github.com/repos/ireznice/fog/subscription","commits_url":"https://api.github.com/repos/ireznice/fog/commits{/sha}","git_commits_url":"https://api.github.com/repos/ireznice/fog/git/commits{/sha}","comments_url":"https://api.github.com/repos/ireznice/fog/comments{/number}","issue_comment_url":"https://api.github.com/repos/ireznice/fog/issues/comments{/number}","contents_url":"https://api.github.com/repos/ireznice/fog/contents/{+path}","compare_url":"https://api.github.com/repos/ireznice/fog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ireznice/fog/merges","archive_url":"https://api.github.com/repos/ireznice/fog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ireznice/fog/downloads","issues_url":"https://api.github.com/repos/ireznice/fog/issues{/number}","pulls_url":"https://api.github.com/repos/ireznice/fog/pulls{/number}","milestones_url":"https://api.github.com/repos/ireznice/fog/milestones{/number}","notifications_url":"https://api.github.com/repos/ireznice/fog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ireznice/fog/labels{/name}","releases_url":"https://api.github.com/repos/ireznice/fog/releases{/id}","created_at":"2015-10-12T07:06:47Z","updated_at":"2015-10-12T07:06:55Z","pushed_at":"2015-11-03T10:18:08Z","git_url":"git://github.com/ireznice/fog.git","ssh_url":"git@github.com:ireznice/fog.git","clone_url":"https://github.com/ireznice/fog.git","svn_url":"https://github.com/ireznice/fog","homepage":"http://fog.io","size":21045,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fog:master","ref":"master","sha":"a09525c586ac2ede11b82033ddc8f16d7ab6440a","user":{"login":"fog","id":991149,"avatar_url":"https://avatars.githubusercontent.com/u/991149?v=3","gravatar_id":"","url":"https://api.github.com/users/fog","html_url":"https://github.com/fog","followers_url":"https://api.github.com/users/fog/followers","following_url":"https://api.github.com/users/fog/following{/other_user}","gists_url":"https://api.github.com/users/fog/gists{/gist_id}","starred_url":"https://api.github.com/users/fog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fog/subscriptions","organizations_url":"https://api.github.com/users/fog/orgs","repos_url":"https://api.github.com/users/fog/repos","events_url":"https://api.github.com/users/fog/events{/privacy}","received_events_url":"https://api.github.com/users/fog/received_events","type":"Organization","site_admin":false},"repo":{"id":203666,"name":"fog","full_name":"fog/fog","owner":{"login":"fog","id":991149,"avatar_url":"https://avatars.githubusercontent.com/u/991149?v=3","gravatar_id":"","url":"https://api.github.com/users/fog","html_url":"https://github.com/fog","followers_url":"https://api.github.com/users/fog/followers","following_url":"https://api.github.com/users/fog/following{/other_user}","gists_url":"https://api.github.com/users/fog/gists{/gist_id}","starred_url":"https://api.github.com/users/fog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fog/subscriptions","organizations_url":"https://api.github.com/users/fog/orgs","repos_url":"https://api.github.com/users/fog/repos","events_url":"https://api.github.com/users/fog/events{/privacy}","received_events_url":"https://api.github.com/users/fog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fog/fog","description":"The Ruby cloud services library.","fork":false,"url":"https://api.github.com/repos/fog/fog","forks_url":"https://api.github.com/repos/fog/fog/forks","keys_url":"https://api.github.com/repos/fog/fog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fog/fog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fog/fog/teams","hooks_url":"https://api.github.com/repos/fog/fog/hooks","issue_events_url":"https://api.github.com/repos/fog/fog/issues/events{/number}","events_url":"https://api.github.com/repos/fog/fog/events","assignees_url":"https://api.github.com/repos/fog/fog/assignees{/user}","branches_url":"https://api.github.com/repos/fog/fog/branches{/branch}","tags_url":"https://api.github.com/repos/fog/fog/tags","blobs_url":"https://api.github.com/repos/fog/fog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fog/fog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fog/fog/git/refs{/sha}","trees_url":"https://api.github.com/repos/fog/fog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fog/fog/statuses/{sha}","languages_url":"https://api.github.com/repos/fog/fog/languages","stargazers_url":"https://api.github.com/repos/fog/fog/stargazers","contributors_url":"https://api.github.com/repos/fog/fog/contributors","subscribers_url":"https://api.github.com/repos/fog/fog/subscribers","subscription_url":"https://api.github.com/repos/fog/fog/subscription","commits_url":"https://api.github.com/repos/fog/fog/commits{/sha}","git_commits_url":"https://api.github.com/repos/fog/fog/git/commits{/sha}","comments_url":"https://api.github.com/repos/fog/fog/comments{/number}","issue_comment_url":"https://api.github.com/repos/fog/fog/issues/comments{/number}","contents_url":"https://api.github.com/repos/fog/fog/contents/{+path}","compare_url":"https://api.github.com/repos/fog/fog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fog/fog/merges","archive_url":"https://api.github.com/repos/fog/fog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fog/fog/downloads","issues_url":"https://api.github.com/repos/fog/fog/issues{/number}","pulls_url":"https://api.github.com/repos/fog/fog/pulls{/number}","milestones_url":"https://api.github.com/repos/fog/fog/milestones{/number}","notifications_url":"https://api.github.com/repos/fog/fog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fog/fog/labels{/name}","releases_url":"https://api.github.com/repos/fog/fog/releases{/id}","created_at":"2009-05-18T07:14:04Z","updated_at":"2015-11-03T01:25:17Z","pushed_at":"2015-11-03T12:40:00Z","git_url":"git://github.com/fog/fog.git","ssh_url":"git@github.com:fog/fog.git","clone_url":"https://github.com/fog/fog.git","svn_url":"https://github.com/fog/fog","homepage":"http://fog.io","size":50919,"stargazers_count":3672,"watchers_count":3672,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1504,"mirror_url":null,"open_issues_count":93,"forks":1504,"open_issues":93,"watchers":3672,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fog/fog/pulls/3749"},"html":{"href":"https://github.com/fog/fog/pull/3749"},"issue":{"href":"https://api.github.com/repos/fog/fog/issues/3749"},"comments":{"href":"https://api.github.com/repos/fog/fog/issues/3749/comments"},"review_comments":{"href":"https://api.github.com/repos/fog/fog/pulls/3749/comments"},"review_comment":{"href":"https://api.github.com/repos/fog/fog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fog/fog/pulls/3749/commits"},"statuses":{"href":"https://api.github.com/repos/fog/fog/statuses/febe810f1333fbed942e52fb1ab088df4b62c27a"}}}}