{"action":"created","comment":{"url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/pulls/comments/147436663","pull_request_review_id":72536116,"id":147436663,"diff_hunk":"@@ -172,9 +175,16 @@ func (c *FakeClient) PollLastOperation(r *v2.LastOperationRequest) (*v2.LastOper\n \tc.Mutex.Lock()\n \tdefer c.Mutex.Unlock()\n \n+\tvar lastActionType ActionType","path":"v2/fake/fake.go","position":28,"original_position":28,"commit_id":"90631af41d077f6c90b15831cbc2f73e7dcb0799","original_commit_id":"90631af41d077f6c90b15831cbc2f73e7dcb0799","user":{"login":"n3wscott","id":32305648,"avatar_url":"https://avatars3.githubusercontent.com/u/32305648?v=4","gravatar_id":"","url":"https://api.github.com/users/n3wscott","html_url":"https://github.com/n3wscott","followers_url":"https://api.github.com/users/n3wscott/followers","following_url":"https://api.github.com/users/n3wscott/following{/other_user}","gists_url":"https://api.github.com/users/n3wscott/gists{/gist_id}","starred_url":"https://api.github.com/users/n3wscott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n3wscott/subscriptions","organizations_url":"https://api.github.com/users/n3wscott/orgs","repos_url":"https://api.github.com/users/n3wscott/repos","events_url":"https://api.github.com/users/n3wscott/events{/privacy}","received_events_url":"https://api.github.com/users/n3wscott/received_events","type":"User","site_admin":false},"body":"I like the idea!","created_at":"2017-10-27T15:08:18Z","updated_at":"2017-10-27T15:08:19Z","html_url":"https://github.com/pmorie/go-open-service-broker-client/pull/86#discussion_r147436663","pull_request_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/pulls/86","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/pmorie/go-open-service-broker-client/pulls/comments/147436663"},"html":{"href":"https://github.com/pmorie/go-open-service-broker-client/pull/86#discussion_r147436663"},"pull_request":{"href":"https://api.github.com/repos/pmorie/go-open-service-broker-client/pulls/86"}},"in_reply_to_id":146984921},"pull_request":{"url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/pulls/86","id":148760628,"html_url":"https://github.com/pmorie/go-open-service-broker-client/pull/86","diff_url":"https://github.com/pmorie/go-open-service-broker-client/pull/86.diff","patch_url":"https://github.com/pmorie/go-open-service-broker-client/pull/86.patch","issue_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/issues/86","number":86,"state":"open","locked":false,"title":"Adding a map for last action poll response.","user":{"login":"n3wscott","id":32305648,"avatar_url":"https://avatars3.githubusercontent.com/u/32305648?v=4","gravatar_id":"","url":"https://api.github.com/users/n3wscott","html_url":"https://github.com/n3wscott","followers_url":"https://api.github.com/users/n3wscott/followers","following_url":"https://api.github.com/users/n3wscott/following{/other_user}","gists_url":"https://api.github.com/users/n3wscott/gists{/gist_id}","starred_url":"https://api.github.com/users/n3wscott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n3wscott/subscriptions","organizations_url":"https://api.github.com/users/n3wscott/orgs","repos_url":"https://api.github.com/users/n3wscott/repos","events_url":"https://api.github.com/users/n3wscott/events{/privacy}","received_events_url":"https://api.github.com/users/n3wscott/received_events","type":"User","site_admin":false},"body":"I would like to be able to codify what response the last action response should be from the fake based on the last operation the fake saw.","created_at":"2017-10-25T19:35:31Z","updated_at":"2017-10-27T15:08:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ecf91e9ebc6813d4406005809cde031f8c825d51","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/pulls/86/commits","review_comments_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/pulls/86/comments","review_comment_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/issues/86/comments","statuses_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/statuses/90631af41d077f6c90b15831cbc2f73e7dcb0799","head":{"label":"n3wscott:master","ref":"master","sha":"90631af41d077f6c90b15831cbc2f73e7dcb0799","user":{"login":"n3wscott","id":32305648,"avatar_url":"https://avatars3.githubusercontent.com/u/32305648?v=4","gravatar_id":"","url":"https://api.github.com/users/n3wscott","html_url":"https://github.com/n3wscott","followers_url":"https://api.github.com/users/n3wscott/followers","following_url":"https://api.github.com/users/n3wscott/following{/other_user}","gists_url":"https://api.github.com/users/n3wscott/gists{/gist_id}","starred_url":"https://api.github.com/users/n3wscott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n3wscott/subscriptions","organizations_url":"https://api.github.com/users/n3wscott/orgs","repos_url":"https://api.github.com/users/n3wscott/repos","events_url":"https://api.github.com/users/n3wscott/events{/privacy}","received_events_url":"https://api.github.com/users/n3wscott/received_events","type":"User","site_admin":false},"repo":{"id":108312434,"name":"go-open-service-broker-client","full_name":"n3wscott/go-open-service-broker-client","owner":{"login":"n3wscott","id":32305648,"avatar_url":"https://avatars3.githubusercontent.com/u/32305648?v=4","gravatar_id":"","url":"https://api.github.com/users/n3wscott","html_url":"https://github.com/n3wscott","followers_url":"https://api.github.com/users/n3wscott/followers","following_url":"https://api.github.com/users/n3wscott/following{/other_user}","gists_url":"https://api.github.com/users/n3wscott/gists{/gist_id}","starred_url":"https://api.github.com/users/n3wscott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n3wscott/subscriptions","organizations_url":"https://api.github.com/users/n3wscott/orgs","repos_url":"https://api.github.com/users/n3wscott/repos","events_url":"https://api.github.com/users/n3wscott/events{/privacy}","received_events_url":"https://api.github.com/users/n3wscott/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/n3wscott/go-open-service-broker-client","description":"A golang client for service brokers implementing the Open Service Broker API","fork":true,"url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client","forks_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/forks","keys_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/teams","hooks_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/hooks","issue_events_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/issues/events{/number}","events_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/events","assignees_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/assignees{/user}","branches_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/branches{/branch}","tags_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/tags","blobs_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/statuses/{sha}","languages_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/languages","stargazers_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/stargazers","contributors_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/contributors","subscribers_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/subscribers","subscription_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/subscription","commits_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/contents/{+path}","compare_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/merges","archive_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/downloads","issues_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/issues{/number}","pulls_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/pulls{/number}","milestones_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/milestones{/number}","notifications_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/labels{/name}","releases_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/releases{/id}","deployments_url":"https://api.github.com/repos/n3wscott/go-open-service-broker-client/deployments","created_at":"2017-10-25T18:54:14Z","updated_at":"2017-10-25T18:54:15Z","pushed_at":"2017-10-25T19:33:26Z","git_url":"git://github.com/n3wscott/go-open-service-broker-client.git","ssh_url":"git@github.com:n3wscott/go-open-service-broker-client.git","clone_url":"https://github.com/n3wscott/go-open-service-broker-client.git","svn_url":"https://github.com/n3wscott/go-open-service-broker-client","homepage":null,"size":143,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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":"pmorie:master","ref":"master","sha":"b513a8f881fd96303c005fc1419982348333bf0a","user":{"login":"pmorie","id":366488,"avatar_url":"https://avatars2.githubusercontent.com/u/366488?v=4","gravatar_id":"","url":"https://api.github.com/users/pmorie","html_url":"https://github.com/pmorie","followers_url":"https://api.github.com/users/pmorie/followers","following_url":"https://api.github.com/users/pmorie/following{/other_user}","gists_url":"https://api.github.com/users/pmorie/gists{/gist_id}","starred_url":"https://api.github.com/users/pmorie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmorie/subscriptions","organizations_url":"https://api.github.com/users/pmorie/orgs","repos_url":"https://api.github.com/users/pmorie/repos","events_url":"https://api.github.com/users/pmorie/events{/privacy}","received_events_url":"https://api.github.com/users/pmorie/received_events","type":"User","site_admin":false},"repo":{"id":90553041,"name":"go-open-service-broker-client","full_name":"pmorie/go-open-service-broker-client","owner":{"login":"pmorie","id":366488,"avatar_url":"https://avatars2.githubusercontent.com/u/366488?v=4","gravatar_id":"","url":"https://api.github.com/users/pmorie","html_url":"https://github.com/pmorie","followers_url":"https://api.github.com/users/pmorie/followers","following_url":"https://api.github.com/users/pmorie/following{/other_user}","gists_url":"https://api.github.com/users/pmorie/gists{/gist_id}","starred_url":"https://api.github.com/users/pmorie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmorie/subscriptions","organizations_url":"https://api.github.com/users/pmorie/orgs","repos_url":"https://api.github.com/users/pmorie/repos","events_url":"https://api.github.com/users/pmorie/events{/privacy}","received_events_url":"https://api.github.com/users/pmorie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pmorie/go-open-service-broker-client","description":"A golang client for service brokers implementing the Open Service Broker API","fork":false,"url":"https://api.github.com/repos/pmorie/go-open-service-broker-client","forks_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/forks","keys_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/teams","hooks_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/hooks","issue_events_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/issues/events{/number}","events_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/events","assignees_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/assignees{/user}","branches_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/branches{/branch}","tags_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/tags","blobs_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/statuses/{sha}","languages_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/languages","stargazers_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/stargazers","contributors_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/contributors","subscribers_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/subscribers","subscription_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/subscription","commits_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/contents/{+path}","compare_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/merges","archive_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/downloads","issues_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/issues{/number}","pulls_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/pulls{/number}","milestones_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/milestones{/number}","notifications_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/labels{/name}","releases_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/releases{/id}","deployments_url":"https://api.github.com/repos/pmorie/go-open-service-broker-client/deployments","created_at":"2017-05-07T18:28:01Z","updated_at":"2017-10-25T13:01:49Z","pushed_at":"2017-10-25T19:35:31Z","git_url":"git://github.com/pmorie/go-open-service-broker-client.git","ssh_url":"git@github.com:pmorie/go-open-service-broker-client.git","clone_url":"https://github.com/pmorie/go-open-service-broker-client.git","svn_url":"https://github.com/pmorie/go-open-service-broker-client","homepage":null,"size":142,"stargazers_count":12,"watchers_count":12,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":8,"forks":9,"open_issues":8,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pmorie/go-open-service-broker-client/pulls/86"},"html":{"href":"https://github.com/pmorie/go-open-service-broker-client/pull/86"},"issue":{"href":"https://api.github.com/repos/pmorie/go-open-service-broker-client/issues/86"},"comments":{"href":"https://api.github.com/repos/pmorie/go-open-service-broker-client/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/pmorie/go-open-service-broker-client/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/pmorie/go-open-service-broker-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pmorie/go-open-service-broker-client/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/pmorie/go-open-service-broker-client/statuses/90631af41d077f6c90b15831cbc2f73e7dcb0799"}},"author_association":"NONE"}}
{"actor":{"display_login":"n3wscott"}}