1 | <?php |
||
8 | class VideoConversationCard extends Resource |
||
9 | { |
||
10 | const RESOURCE_COLLECTION = 'accounts/{account_id}/cards/video_conversation'; |
||
11 | const RESOURCE = 'accounts/{account_id}/cards/video_conversation/{id}'; |
||
12 | |||
13 | /** Read Only */ |
||
14 | protected $id; |
||
15 | protected $video_url; |
||
16 | protected $video_poster_url; |
||
17 | protected $created_at; |
||
18 | protected $updated_at; |
||
19 | protected $deleted; |
||
20 | |||
21 | protected $properties = [ |
||
22 | VideoConversationCardFields::NAME, |
||
23 | VideoConversationCardFields::TITLE, |
||
24 | VideoConversationCardFields::FIRST_CTA, |
||
25 | VideoConversationCardFields::FIRST_CTA_TWEET, |
||
26 | VideoConversationCardFields::SECOND_CTA, |
||
27 | VideoConversationCardFields::SECOND_CTA_TWEET, |
||
28 | VideoConversationCardFields::THANK_YOU_TEXT, |
||
29 | VideoConversationCardFields::THANK_YOU_URL, |
||
30 | VideoConversationCardFields::IMAGE_MEDIA_ID, |
||
31 | VideoConversationCardFields::VIDEO_ID, |
||
32 | ]; |
||
33 | |||
34 | /** Writable */ |
||
35 | protected $name; |
||
36 | protected $title; |
||
37 | protected $first_cta; |
||
38 | protected $first_cta_tweet; |
||
39 | protected $second_cta; |
||
40 | protected $second_cta_tweet; |
||
41 | protected $thank_you_text; |
||
42 | protected $thank_you_url; |
||
43 | protected $image_media_id; |
||
44 | protected $video_id; |
||
45 | |||
46 | /** |
||
47 | * @return mixed |
||
48 | */ |
||
49 | public function getId() |
||
53 | |||
54 | /** |
||
55 | * @return mixed |
||
56 | */ |
||
57 | public function getCreatedAt() |
||
61 | |||
62 | /** |
||
63 | * @return mixed |
||
64 | */ |
||
65 | public function getUpdatedAt() |
||
69 | |||
70 | /** |
||
71 | * @return mixed |
||
72 | */ |
||
73 | public function getDeleted() |
||
77 | |||
78 | /** |
||
79 | * @return array |
||
80 | */ |
||
81 | public function getProperties() |
||
85 | |||
86 | /** |
||
87 | * @param array $properties |
||
88 | */ |
||
89 | public function setProperties($properties) |
||
93 | |||
94 | /** |
||
95 | * @return mixed |
||
96 | */ |
||
97 | public function getName() |
||
101 | |||
102 | /** |
||
103 | * @param mixed $name |
||
104 | */ |
||
105 | public function setName($name) |
||
109 | |||
110 | /** |
||
111 | * @return mixed |
||
112 | */ |
||
113 | public function getTitle() |
||
117 | |||
118 | /** |
||
119 | * @param mixed $title |
||
120 | */ |
||
121 | public function setTitle($title) |
||
125 | |||
126 | /** |
||
127 | * @return mixed |
||
128 | */ |
||
129 | public function getFirstCta() |
||
133 | |||
134 | /** |
||
135 | * @param mixed $first_cta |
||
136 | */ |
||
137 | public function setFirstCta($first_cta) |
||
141 | |||
142 | /** |
||
143 | * @return mixed |
||
144 | */ |
||
145 | public function getFirstCtaTweet() |
||
149 | |||
150 | /** |
||
151 | * @param mixed $first_cta_tweet |
||
152 | */ |
||
153 | public function setFirstCtaTweet($first_cta_tweet) |
||
157 | |||
158 | /** |
||
159 | * @return mixed |
||
160 | */ |
||
161 | public function getSecondCta() |
||
165 | |||
166 | /** |
||
167 | * @param mixed $second_cta |
||
168 | */ |
||
169 | public function setSecondCta($second_cta) |
||
173 | |||
174 | /** |
||
175 | * @return mixed |
||
176 | */ |
||
177 | public function getSecondCtaTweet() |
||
181 | |||
182 | /** |
||
183 | * @param mixed $second_cta_tweet |
||
184 | */ |
||
185 | public function setSecondCtaTweet($second_cta_tweet) |
||
189 | |||
190 | /** |
||
191 | * @return mixed |
||
192 | */ |
||
193 | public function getThankYouText() |
||
197 | |||
198 | /** |
||
199 | * @param mixed $thank_you_text |
||
200 | */ |
||
201 | public function setThankYouText($thank_you_text) |
||
205 | |||
206 | /** |
||
207 | * @return mixed |
||
208 | */ |
||
209 | public function getThankYouUrl() |
||
213 | |||
214 | /** |
||
215 | * @param mixed $thank_you_url |
||
216 | */ |
||
217 | public function setThankYouUrl($thank_you_url) |
||
221 | |||
222 | /** |
||
223 | * @return mixed |
||
224 | */ |
||
225 | public function getImageMediaId() |
||
229 | |||
230 | /** |
||
231 | * @param mixed $image_media_id |
||
232 | */ |
||
233 | public function setImageMediaId($image_media_id) |
||
237 | |||
238 | /** |
||
239 | * @return mixed |
||
240 | */ |
||
241 | public function getVideoId() |
||
245 | |||
246 | /** |
||
247 | * @param mixed $video_id |
||
248 | */ |
||
249 | public function setVideoId($video_id) |
||
253 | |||
254 | /** |
||
255 | * @return mixed |
||
256 | */ |
||
257 | public function getVideoUrl() |
||
261 | |||
262 | /** |
||
263 | * @return mixed |
||
264 | */ |
||
265 | public function getVideoPosterUrl() |
||
269 | } |
||
270 |