{"action":"created","comment":{"url":"https://api.github.com/repos/plivo/plivo-go/pulls/comments/240082771","pull_request_review_id":183027874,"id":240082771,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDA4Mjc3MQ==","diff_hunk":"@@ -0,0 +1,73 @@\n+package plivo\n+\n+const nodeType = \"multi_party_call\"\n+\n+type Phlo struct {\n+\tBaseResource\n+\n+\tPhloId    string `json:\"phlo_id\" url:\"phlo_id\"`\n+\tName      string `json:\"name\" url:\"name\"`\n+\tCreatedOn string `json:\"created_on\" url:\"created_on\"`\n+}\n+\n+type Phlos struct {\n+\tBaseResourceInterface\n+}\n+\n+func NewPhlos(client *PhloClient) (phlos *Phlos) {\n+\tphlos = &Phlos{}\n+\tphlos.client = client\n+\t//phlos.resourceType = Phlo // TODO: how to set this?\n+\n+\treturn\n+}\n+\n+type PhloRun struct {\n+\tApiID     string `json:\"api_id\" url:\"api_id\"`\n+\tPhloRunID string `json:\"phlo_run_id\" url:\"phlo_run_id\"`\n+\tPhloID    string `json:\"phlo_id\" url:\"phlo_id\"`\n+\tMessage   string `json:\"message\" url:\"message\"`\n+}\n+\n+func (self *Phlos) Get(phloId string) (response *Phlo, err error) {","path":"phlos.go","position":32,"original_position":32,"commit_id":"c4820c43461676e3df33b66ee974fcdbfb560368","original_commit_id":"c4820c43461676e3df33b66ee974fcdbfb560368","user":{"login":"deepakplv","id":25297029,"node_id":"MDQ6VXNlcjI1Mjk3MDI5","avatar_url":"https://avatars0.githubusercontent.com/u/25297029?v=4","gravatar_id":"","url":"https://api.github.com/users/deepakplv","html_url":"https://github.com/deepakplv","followers_url":"https://api.github.com/users/deepakplv/followers","following_url":"https://api.github.com/users/deepakplv/following{/other_user}","gists_url":"https://api.github.com/users/deepakplv/gists{/gist_id}","starred_url":"https://api.github.com/users/deepakplv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepakplv/subscriptions","organizations_url":"https://api.github.com/users/deepakplv/orgs","repos_url":"https://api.github.com/users/deepakplv/repos","events_url":"https://api.github.com/users/deepakplv/events{/privacy}","received_events_url":"https://api.github.com/users/deepakplv/received_events","type":"User","site_admin":false},"body":"api_id is now added to the GetPHLO API. Update the code, struct, tests and fixtures to include that.","created_at":"2018-12-10T04:38:29Z","updated_at":"2018-12-10T04:39:43Z","html_url":"https://github.com/plivo/plivo-go/pull/24#discussion_r240082771","pull_request_url":"https://api.github.com/repos/plivo/plivo-go/pulls/24","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/plivo/plivo-go/pulls/comments/240082771"},"html":{"href":"https://github.com/plivo/plivo-go/pull/24#discussion_r240082771"},"pull_request":{"href":"https://api.github.com/repos/plivo/plivo-go/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/plivo/plivo-go/pulls/24","id":236290395,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2MjkwMzk1","html_url":"https://github.com/plivo/plivo-go/pull/24","diff_url":"https://github.com/plivo/plivo-go/pull/24.diff","patch_url":"https://github.com/plivo/plivo-go/pull/24.patch","issue_url":"https://api.github.com/repos/plivo/plivo-go/issues/24","number":24,"state":"open","locked":false,"title":"PHLO-Api's Integration","user":{"login":"suuhas","id":8868449,"node_id":"MDQ6VXNlcjg4Njg0NDk=","avatar_url":"https://avatars1.githubusercontent.com/u/8868449?v=4","gravatar_id":"","url":"https://api.github.com/users/suuhas","html_url":"https://github.com/suuhas","followers_url":"https://api.github.com/users/suuhas/followers","following_url":"https://api.github.com/users/suuhas/following{/other_user}","gists_url":"https://api.github.com/users/suuhas/gists{/gist_id}","starred_url":"https://api.github.com/users/suuhas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suuhas/subscriptions","organizations_url":"https://api.github.com/users/suuhas/orgs","repos_url":"https://api.github.com/users/suuhas/repos","events_url":"https://api.github.com/users/suuhas/events{/privacy}","received_events_url":"https://api.github.com/users/suuhas/received_events","type":"User","site_admin":false},"body":"Code changes related to the following\r\n\r\n1. Initiate PHLO via API Request.\r\n2. Get PHLO, Node resources .\r\n3. Update a Multi-Party Call.\r\n4. Update a member in the Multi-Party Call.\r\n5. Create new phlo_client.\r\n6. Refactor plivo client and Isolated common client code and reused in phlo and plivo clients.\r\n7. Refactor test utils file to support unit test coverage for phlo api's.\r\n8. Example source to help triggering phlo api's.","created_at":"2018-12-05T19:13:40Z","updated_at":"2018-12-10T04:39:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/plivo/plivo-go/pulls/24/commits","review_comments_url":"https://api.github.com/repos/plivo/plivo-go/pulls/24/comments","review_comment_url":"https://api.github.com/repos/plivo/plivo-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/plivo/plivo-go/issues/24/comments","statuses_url":"https://api.github.com/repos/plivo/plivo-go/statuses/c4820c43461676e3df33b66ee974fcdbfb560368","head":{"label":"suuhas:master","ref":"master","sha":"c4820c43461676e3df33b66ee974fcdbfb560368","user":{"login":"suuhas","id":8868449,"node_id":"MDQ6VXNlcjg4Njg0NDk=","avatar_url":"https://avatars1.githubusercontent.com/u/8868449?v=4","gravatar_id":"","url":"https://api.github.com/users/suuhas","html_url":"https://github.com/suuhas","followers_url":"https://api.github.com/users/suuhas/followers","following_url":"https://api.github.com/users/suuhas/following{/other_user}","gists_url":"https://api.github.com/users/suuhas/gists{/gist_id}","starred_url":"https://api.github.com/users/suuhas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suuhas/subscriptions","organizations_url":"https://api.github.com/users/suuhas/orgs","repos_url":"https://api.github.com/users/suuhas/repos","events_url":"https://api.github.com/users/suuhas/events{/privacy}","received_events_url":"https://api.github.com/users/suuhas/received_events","type":"User","site_admin":false},"repo":{"id":156253307,"node_id":"MDEwOlJlcG9zaXRvcnkxNTYyNTMzMDc=","name":"plivo-go","full_name":"suuhas/plivo-go","private":false,"owner":{"login":"suuhas","id":8868449,"node_id":"MDQ6VXNlcjg4Njg0NDk=","avatar_url":"https://avatars1.githubusercontent.com/u/8868449?v=4","gravatar_id":"","url":"https://api.github.com/users/suuhas","html_url":"https://github.com/suuhas","followers_url":"https://api.github.com/users/suuhas/followers","following_url":"https://api.github.com/users/suuhas/following{/other_user}","gists_url":"https://api.github.com/users/suuhas/gists{/gist_id}","starred_url":"https://api.github.com/users/suuhas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suuhas/subscriptions","organizations_url":"https://api.github.com/users/suuhas/orgs","repos_url":"https://api.github.com/users/suuhas/repos","events_url":"https://api.github.com/users/suuhas/events{/privacy}","received_events_url":"https://api.github.com/users/suuhas/received_events","type":"User","site_admin":false},"html_url":"https://github.com/suuhas/plivo-go","description":"A Go SDK to make voice calls & send SMS using Plivo and to generate Plivo XML","fork":true,"url":"https://api.github.com/repos/suuhas/plivo-go","forks_url":"https://api.github.com/repos/suuhas/plivo-go/forks","keys_url":"https://api.github.com/repos/suuhas/plivo-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/suuhas/plivo-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/suuhas/plivo-go/teams","hooks_url":"https://api.github.com/repos/suuhas/plivo-go/hooks","issue_events_url":"https://api.github.com/repos/suuhas/plivo-go/issues/events{/number}","events_url":"https://api.github.com/repos/suuhas/plivo-go/events","assignees_url":"https://api.github.com/repos/suuhas/plivo-go/assignees{/user}","branches_url":"https://api.github.com/repos/suuhas/plivo-go/branches{/branch}","tags_url":"https://api.github.com/repos/suuhas/plivo-go/tags","blobs_url":"https://api.github.com/repos/suuhas/plivo-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/suuhas/plivo-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/suuhas/plivo-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/suuhas/plivo-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/suuhas/plivo-go/statuses/{sha}","languages_url":"https://api.github.com/repos/suuhas/plivo-go/languages","stargazers_url":"https://api.github.com/repos/suuhas/plivo-go/stargazers","contributors_url":"https://api.github.com/repos/suuhas/plivo-go/contributors","subscribers_url":"https://api.github.com/repos/suuhas/plivo-go/subscribers","subscription_url":"https://api.github.com/repos/suuhas/plivo-go/subscription","commits_url":"https://api.github.com/repos/suuhas/plivo-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/suuhas/plivo-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/suuhas/plivo-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/suuhas/plivo-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/suuhas/plivo-go/contents/{+path}","compare_url":"https://api.github.com/repos/suuhas/plivo-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/suuhas/plivo-go/merges","archive_url":"https://api.github.com/repos/suuhas/plivo-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/suuhas/plivo-go/downloads","issues_url":"https://api.github.com/repos/suuhas/plivo-go/issues{/number}","pulls_url":"https://api.github.com/repos/suuhas/plivo-go/pulls{/number}","milestones_url":"https://api.github.com/repos/suuhas/plivo-go/milestones{/number}","notifications_url":"https://api.github.com/repos/suuhas/plivo-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/suuhas/plivo-go/labels{/name}","releases_url":"https://api.github.com/repos/suuhas/plivo-go/releases{/id}","deployments_url":"https://api.github.com/repos/suuhas/plivo-go/deployments","created_at":"2018-11-05T17:06:38Z","updated_at":"2018-12-05T19:08:34Z","pushed_at":"2018-12-05T19:08:32Z","git_url":"git://github.com/suuhas/plivo-go.git","ssh_url":"git@github.com:suuhas/plivo-go.git","clone_url":"https://github.com/suuhas/plivo-go.git","svn_url":"https://github.com/suuhas/plivo-go","homepage":null,"size":86,"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,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"plivo:beta","ref":"beta","sha":"5f60fdc2a3f6f6b8d62c86b8904c3e3b6490f1da","user":{"login":"plivo","id":795996,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5NTk5Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/795996?v=4","gravatar_id":"","url":"https://api.github.com/users/plivo","html_url":"https://github.com/plivo","followers_url":"https://api.github.com/users/plivo/followers","following_url":"https://api.github.com/users/plivo/following{/other_user}","gists_url":"https://api.github.com/users/plivo/gists{/gist_id}","starred_url":"https://api.github.com/users/plivo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plivo/subscriptions","organizations_url":"https://api.github.com/users/plivo/orgs","repos_url":"https://api.github.com/users/plivo/repos","events_url":"https://api.github.com/users/plivo/events{/privacy}","received_events_url":"https://api.github.com/users/plivo/received_events","type":"Organization","site_admin":false},"repo":{"id":108237606,"node_id":"MDEwOlJlcG9zaXRvcnkxMDgyMzc2MDY=","name":"plivo-go","full_name":"plivo/plivo-go","private":false,"owner":{"login":"plivo","id":795996,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5NTk5Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/795996?v=4","gravatar_id":"","url":"https://api.github.com/users/plivo","html_url":"https://github.com/plivo","followers_url":"https://api.github.com/users/plivo/followers","following_url":"https://api.github.com/users/plivo/following{/other_user}","gists_url":"https://api.github.com/users/plivo/gists{/gist_id}","starred_url":"https://api.github.com/users/plivo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plivo/subscriptions","organizations_url":"https://api.github.com/users/plivo/orgs","repos_url":"https://api.github.com/users/plivo/repos","events_url":"https://api.github.com/users/plivo/events{/privacy}","received_events_url":"https://api.github.com/users/plivo/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/plivo/plivo-go","description":"A Go SDK to make voice calls & send SMS using Plivo and to generate Plivo XML","fork":false,"url":"https://api.github.com/repos/plivo/plivo-go","forks_url":"https://api.github.com/repos/plivo/plivo-go/forks","keys_url":"https://api.github.com/repos/plivo/plivo-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plivo/plivo-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plivo/plivo-go/teams","hooks_url":"https://api.github.com/repos/plivo/plivo-go/hooks","issue_events_url":"https://api.github.com/repos/plivo/plivo-go/issues/events{/number}","events_url":"https://api.github.com/repos/plivo/plivo-go/events","assignees_url":"https://api.github.com/repos/plivo/plivo-go/assignees{/user}","branches_url":"https://api.github.com/repos/plivo/plivo-go/branches{/branch}","tags_url":"https://api.github.com/repos/plivo/plivo-go/tags","blobs_url":"https://api.github.com/repos/plivo/plivo-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plivo/plivo-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plivo/plivo-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/plivo/plivo-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plivo/plivo-go/statuses/{sha}","languages_url":"https://api.github.com/repos/plivo/plivo-go/languages","stargazers_url":"https://api.github.com/repos/plivo/plivo-go/stargazers","contributors_url":"https://api.github.com/repos/plivo/plivo-go/contributors","subscribers_url":"https://api.github.com/repos/plivo/plivo-go/subscribers","subscription_url":"https://api.github.com/repos/plivo/plivo-go/subscription","commits_url":"https://api.github.com/repos/plivo/plivo-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/plivo/plivo-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/plivo/plivo-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/plivo/plivo-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/plivo/plivo-go/contents/{+path}","compare_url":"https://api.github.com/repos/plivo/plivo-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plivo/plivo-go/merges","archive_url":"https://api.github.com/repos/plivo/plivo-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plivo/plivo-go/downloads","issues_url":"https://api.github.com/repos/plivo/plivo-go/issues{/number}","pulls_url":"https://api.github.com/repos/plivo/plivo-go/pulls{/number}","milestones_url":"https://api.github.com/repos/plivo/plivo-go/milestones{/number}","notifications_url":"https://api.github.com/repos/plivo/plivo-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plivo/plivo-go/labels{/name}","releases_url":"https://api.github.com/repos/plivo/plivo-go/releases{/id}","deployments_url":"https://api.github.com/repos/plivo/plivo-go/deployments","created_at":"2017-10-25T07:50:38Z","updated_at":"2018-12-07T19:23:16Z","pushed_at":"2018-12-05T19:13:41Z","git_url":"git://github.com/plivo/plivo-go.git","ssh_url":"git@github.com:plivo/plivo-go.git","clone_url":"https://github.com/plivo/plivo-go.git","svn_url":"https://github.com/plivo/plivo-go","homepage":null,"size":73,"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":11,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":11,"open_issues":3,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/plivo/plivo-go/pulls/24"},"html":{"href":"https://github.com/plivo/plivo-go/pull/24"},"issue":{"href":"https://api.github.com/repos/plivo/plivo-go/issues/24"},"comments":{"href":"https://api.github.com/repos/plivo/plivo-go/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/plivo/plivo-go/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/plivo/plivo-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/plivo/plivo-go/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/plivo/plivo-go/statuses/c4820c43461676e3df33b66ee974fcdbfb560368"}},"author_association":"NONE"}}
{"actor":{"display_login":"deepakplv"}}