1 | <?php |
||
20 | class AppList extends Resource |
||
21 | { |
||
22 | const RESOURCE_COLLECTION = 'accounts/{account_id}/app_lists'; |
||
23 | const RESOURCE = 'accounts/{account_id}/app_lists/{id}'; |
||
24 | |||
25 | /** Read Only */ |
||
26 | protected $id; |
||
27 | protected $name; |
||
28 | protected $apps; |
||
29 | |||
30 | protected $properties = [ |
||
31 | ]; |
||
32 | |||
33 | /** |
||
34 | * @param $name |
||
35 | * @param array $ids |
||
36 | * @return AppList |
||
37 | * @throws TwitterAdsException |
||
38 | * @throws BadRequest |
||
39 | * @throws Forbidden |
||
40 | * @throws NotAuthorized |
||
41 | * @throws NotFound |
||
42 | * @throws RateLimit |
||
43 | * @throws ServerError |
||
44 | * @throws ServiceUnavailable |
||
45 | */ |
||
46 | public function create($name, $ids = []) |
||
60 | |||
61 | /** |
||
62 | * @return mixed |
||
63 | */ |
||
64 | public function getId() |
||
68 | |||
69 | /** |
||
70 | * @return mixed |
||
71 | */ |
||
72 | public function getName() |
||
76 | |||
77 | /** |
||
78 | * @return mixed |
||
79 | */ |
||
80 | public function getApps() |
||
84 | |||
85 | } |
||
86 |