{"action":"created","issue":{"url":"https://api.github.com/repos/infobloxopen/infoblox-client/issues/144","repository_url":"https://api.github.com/repos/infobloxopen/infoblox-client","labels_url":"https://api.github.com/repos/infobloxopen/infoblox-client/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/infobloxopen/infoblox-client/issues/144/comments","events_url":"https://api.github.com/repos/infobloxopen/infoblox-client/issues/144/events","html_url":"https://github.com/infobloxopen/infoblox-client/pull/144","id":197781539,"number":144,"title":"Add _return_fields to SRVRecord","user":{"login":"brandune","id":15117216,"avatar_url":"https://avatars.githubusercontent.com/u/15117216?v=3","gravatar_id":"","url":"https://api.github.com/users/brandune","html_url":"https://github.com/brandune","followers_url":"https://api.github.com/users/brandune/followers","following_url":"https://api.github.com/users/brandune/following{/other_user}","gists_url":"https://api.github.com/users/brandune/gists{/gist_id}","starred_url":"https://api.github.com/users/brandune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandune/subscriptions","organizations_url":"https://api.github.com/users/brandune/orgs","repos_url":"https://api.github.com/users/brandune/repos","events_url":"https://api.github.com/users/brandune/events{/privacy}","received_events_url":"https://api.github.com/users/brandune/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-28T01:31:39Z","updated_at":"2016-12-28T01:33:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/infobloxopen/infoblox-client/pulls/144","html_url":"https://github.com/infobloxopen/infoblox-client/pull/144","diff_url":"https://github.com/infobloxopen/infoblox-client/pull/144.diff","patch_url":"https://github.com/infobloxopen/infoblox-client/pull/144.patch"},"body":"I'm trying to use SRVRecord objects and am seeing `objects.SRVRecord.create` return different fields depending on if the object exists or not.\r\n\r\nIf the SRVRecord does exist, `create` fetches the object and returns the fields `_ref, name, target, priority, weight, port, view`.\r\n\r\nIf the SRVRecord doesn't exist, `create` creates the object, parses the reply with `_object_from_reply` and returns just `_ref`.\r\n\r\nFor my purposes I'd like `create` to return at least `name, port, priority, weight, target` regardless of if the record already exists. I think the right way to do that is by specifying these in `_return_fields`, and I thought it wouldn't hurt to have `view` there too.\r\n\r\nThanks for any feedback you can offer, and happy holidays!"},"comment":{"url":"https://api.github.com/repos/infobloxopen/infoblox-client/issues/comments/269410191","html_url":"https://github.com/infobloxopen/infoblox-client/pull/144#issuecomment-269410191","issue_url":"https://api.github.com/repos/infobloxopen/infoblox-client/issues/144","id":269410191,"user":{"login":"codecov-io","id":8655789,"avatar_url":"https://avatars.githubusercontent.com/u/8655789?v=3","gravatar_id":"","url":"https://api.github.com/users/codecov-io","html_url":"https://github.com/codecov-io","followers_url":"https://api.github.com/users/codecov-io/followers","following_url":"https://api.github.com/users/codecov-io/following{/other_user}","gists_url":"https://api.github.com/users/codecov-io/gists{/gist_id}","starred_url":"https://api.github.com/users/codecov-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecov-io/subscriptions","organizations_url":"https://api.github.com/users/codecov-io/orgs","repos_url":"https://api.github.com/users/codecov-io/repos","events_url":"https://api.github.com/users/codecov-io/events{/privacy}","received_events_url":"https://api.github.com/users/codecov-io/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T01:33:29Z","updated_at":"2016-12-28T01:33:29Z","body":"## [Current coverage](https://codecov.io/gh/infobloxopen/infoblox-client/pull/144?src=pr) is 84.22% (diff: 100%)\n> Merging [#144](https://codecov.io/gh/infobloxopen/infoblox-client/pull/144?src=pr) into [master](https://codecov.io/gh/infobloxopen/infoblox-client/branch/master?src=pr) will increase coverage by **0.01%**\n\n```diff\n@@             master       #144   diff @@\n==========================================\n  Files             7          7          \n  Lines          1134       1135     +1   \n  Methods           0          0          \n  Messages          0          0          \n  Branches        187        187          \n==========================================\n+ Hits            955        956     +1   \n  Misses          127        127          \n  Partials         52         52          \n```\n\n> Powered by [Codecov](https://codecov.io?src=pr). Last update [4c562f6...54cdd77](https://codecov.io/gh/infobloxopen/infoblox-client/compare/4c562f63fcfc6d45f04bce6e204fbcbea716d672...54cdd77c691cab6e3f758cf6963a1b1188051dba?src=pr)"}}
{"actor":{"display_login":"codecov-io"}}