|
1
|
|
|
<?php |
|
2
|
|
|
/** |
|
3
|
|
|
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved. |
|
4
|
|
|
* |
|
5
|
|
|
* You are hereby granted a non-exclusive, worldwide, royalty-free license to |
|
6
|
|
|
* use, copy, modify, and distribute this software in source code or binary |
|
7
|
|
|
* form for use in connection with the web services and APIs provided by |
|
8
|
|
|
* Facebook. |
|
9
|
|
|
* |
|
10
|
|
|
* As with any software that integrates with the Facebook platform, your use |
|
11
|
|
|
* of this software is subject to the Facebook Developer Principles and |
|
12
|
|
|
* Policies [http://developers.facebook.com/policy/]. This copyright notice |
|
13
|
|
|
* shall be included in all copies or substantial portions of the software. |
|
14
|
|
|
* |
|
15
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
16
|
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
17
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
|
18
|
|
|
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
19
|
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
20
|
|
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
|
21
|
|
|
* DEALINGS IN THE SOFTWARE. |
|
22
|
|
|
* |
|
23
|
|
|
*/ |
|
24
|
|
|
|
|
25
|
|
|
namespace FacebookAds\Object\Fields; |
|
26
|
|
|
|
|
27
|
|
|
use FacebookAds\Enum\AbstractEnum; |
|
28
|
|
|
|
|
29
|
|
|
/** |
|
30
|
|
|
* This class is auto-genereated. |
|
31
|
|
|
* |
|
32
|
|
|
* For any issues or feature requests related to this class, please let us know |
|
33
|
|
|
* on github and we'll fix in our codegen framework. We'll not be able to accept |
|
34
|
|
|
* pull request for this class. |
|
35
|
|
|
* |
|
36
|
|
|
*/ |
|
37
|
|
|
|
|
38
|
|
|
class ConnectionObjectFields extends AbstractEnum { |
|
39
|
|
|
|
|
40
|
|
|
const APP_INSTALLS_TRACKED = 'app_installs_tracked'; |
|
41
|
|
|
const CHECKIN_CAPABLE = 'checkin_capable'; |
|
42
|
|
|
const CPA_ACCESS = 'cpa_access'; |
|
43
|
|
|
const EVENT_IS_VIEWER_ADMIN = 'event_is_viewer_admin'; |
|
44
|
|
|
const EVENT_PARENT_PAGE_ID = 'event_parent_page_id'; |
|
45
|
|
|
const EVENT_PARENT_PAGE_NAME = 'event_parent_page_name'; |
|
46
|
|
|
const EVENT_START_TIMESTAMP = 'event_start_timestamp'; |
|
47
|
|
|
const ICON_URL = 'icon_url'; |
|
48
|
|
|
const ID = 'id'; |
|
49
|
|
|
const IS_GAME = 'is_game'; |
|
50
|
|
|
const LOGO_URL = 'logo_url'; |
|
51
|
|
|
const NAME = 'name'; |
|
52
|
|
|
const NAME_WITH_LOCATION_DESCRIPTOR = 'name_with_location_descriptor'; |
|
53
|
|
|
const NATIVE_APP_STORE_IDS = 'native_app_store_ids'; |
|
54
|
|
|
const NATIVE_APP_TARGETING_IDS = 'native_app_targeting_ids'; |
|
55
|
|
|
const OBJECT_STORE_URLS = 'object_store_urls'; |
|
56
|
|
|
const OG_ACTIONS = 'og_actions'; |
|
57
|
|
|
const OG_NAMESPACE = 'og_namespace'; |
|
58
|
|
|
const OG_OBJECTS = 'og_objects'; |
|
59
|
|
|
const PICTURE = 'picture'; |
|
60
|
|
|
const SUPPORTED_PLATFORMS = 'supported_platforms'; |
|
61
|
|
|
const TABS = 'tabs'; |
|
62
|
|
|
const TYPE = 'type'; |
|
63
|
|
|
const URL = 'url'; |
|
64
|
|
|
const WEBSITE = 'website'; |
|
65
|
|
|
|
|
66
|
|
|
public function getFieldTypes() { |
|
67
|
|
|
return array( |
|
68
|
|
|
'app_installs_tracked' => 'bool', |
|
69
|
|
|
'checkin_capable' => 'bool', |
|
70
|
|
|
'cpa_access' => 'map<string, bool>', |
|
71
|
|
|
'event_is_viewer_admin' => 'bool', |
|
72
|
|
|
'event_parent_page_id' => 'string', |
|
73
|
|
|
'event_parent_page_name' => 'string', |
|
74
|
|
|
'event_start_timestamp' => 'unsigned int', |
|
75
|
|
|
'icon_url' => 'string', |
|
76
|
|
|
'id' => 'string', |
|
77
|
|
|
'is_game' => 'bool', |
|
78
|
|
|
'logo_url' => 'string', |
|
79
|
|
|
'name' => 'string', |
|
80
|
|
|
'name_with_location_descriptor' => 'string', |
|
81
|
|
|
'native_app_store_ids' => 'map', |
|
82
|
|
|
'native_app_targeting_ids' => 'map', |
|
83
|
|
|
'object_store_urls' => 'map', |
|
84
|
|
|
'og_actions' => 'list<ConnectionObjectOpenGraphAction>', |
|
85
|
|
|
'og_namespace' => 'string', |
|
86
|
|
|
'og_objects' => 'list<ConnectionObjectOpenGraphObject>', |
|
87
|
|
|
'picture' => 'string', |
|
88
|
|
|
'supported_platforms' => 'list<unsigned int>', |
|
89
|
|
|
'tabs' => 'map', |
|
90
|
|
|
'type' => 'unsigned int', |
|
91
|
|
|
'url' => 'string', |
|
92
|
|
|
'website' => 'string', |
|
93
|
|
|
); |
|
94
|
|
|
} |
|
95
|
|
|
} |
|
96
|
|
|
|