{"action":"created","issue":{"url":"https://api.github.com/repos/biplane/yandex-direct/issues/1","repository_url":"https://api.github.com/repos/biplane/yandex-direct","labels_url":"https://api.github.com/repos/biplane/yandex-direct/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/biplane/yandex-direct/issues/1/comments","events_url":"https://api.github.com/repos/biplane/yandex-direct/issues/1/events","html_url":"https://github.com/biplane/yandex-direct/issues/1","id":167870454,"number":1,"title":"В чем задумка объектов enum (TextAdFieldEnum)? Как их использовать?","user":{"login":"vmulaev","id":8576715,"avatar_url":"https://avatars.githubusercontent.com/u/8576715?v=3","gravatar_id":"","url":"https://api.github.com/users/vmulaev","html_url":"https://github.com/vmulaev","followers_url":"https://api.github.com/users/vmulaev/followers","following_url":"https://api.github.com/users/vmulaev/following{/other_user}","gists_url":"https://api.github.com/users/vmulaev/gists{/gist_id}","starred_url":"https://api.github.com/users/vmulaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmulaev/subscriptions","organizations_url":"https://api.github.com/users/vmulaev/orgs","repos_url":"https://api.github.com/users/vmulaev/repos","events_url":"https://api.github.com/users/vmulaev/events{/privacy}","received_events_url":"https://api.github.com/users/vmulaev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-27T14:38:01Z","updated_at":"2016-07-29T11:31:32Z","closed_at":"2016-07-29T11:31:32Z","body":"Привет, смотрю апи директа, каким образом передать параметр в\r\nBiplane\\YandexDirect\\Api\\V5\\Contract\\TextCampaignSetting->setOption\r\n\r\nВсе время вылетает ошибка, если убрать проверку типа все работает\r\npublic function setOption($value)\r\n\r\nВ чем задумка объектов enum (TextAdFieldEnum)? Как их использовать?\r\n"},"comment":{"url":"https://api.github.com/repos/biplane/yandex-direct/issues/comments/236158046","html_url":"https://github.com/biplane/yandex-direct/issues/1#issuecomment-236158046","issue_url":"https://api.github.com/repos/biplane/yandex-direct/issues/1","id":236158046,"user":{"login":"vmulaev","id":8576715,"avatar_url":"https://avatars.githubusercontent.com/u/8576715?v=3","gravatar_id":"","url":"https://api.github.com/users/vmulaev","html_url":"https://github.com/vmulaev","followers_url":"https://api.github.com/users/vmulaev/followers","following_url":"https://api.github.com/users/vmulaev/following{/other_user}","gists_url":"https://api.github.com/users/vmulaev/gists{/gist_id}","starred_url":"https://api.github.com/users/vmulaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmulaev/subscriptions","organizations_url":"https://api.github.com/users/vmulaev/orgs","repos_url":"https://api.github.com/users/vmulaev/repos","events_url":"https://api.github.com/users/vmulaev/events{/privacy}","received_events_url":"https://api.github.com/users/vmulaev/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T11:31:32Z","updated_at":"2016-07-29T11:31:32Z","body":"Супер, благодарю!"}}
{"actor":{"display_login":"vmulaev"}}