File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
lib/Brightcove/Item/Video Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,11 @@ class Source extends ObjectBase {
7171 */
7272 protected $ src ;
7373
74+ /**
75+ * @var string
76+ */
77+ protected $ type ;
78+
7479 public function applyJSON (array $ json ) {
7580 parent ::applyJSON ($ json );
7681 $ this ->applyProperty ($ json , 'id ' );
@@ -85,6 +90,7 @@ public function applyJSON(array $json) {
8590 $ this ->applyProperty ($ json , 'size ' );
8691 $ this ->applyProperty ($ json , 'uploaded_at ' );
8792 $ this ->applyProperty ($ json , 'src ' );
93+ $ this ->applyProperty ($ json , 'type ' );
8894 }
8995
9096 /**
@@ -290,4 +296,23 @@ public function setUploadedAt($uploaded_at) {
290296 $ this ->fieldChanged ('uploaded_at ' );
291297 return $ this ;
292298 }
299+
300+ /**
301+ * @return mixed
302+ */
303+ public function getType ()
304+ {
305+ return $ this ->type ;
306+ }
307+
308+ /**
309+ * @param mixed $type
310+ * @return Source
311+ */
312+ public function setType ($ type )
313+ {
314+ $ this ->type = $ type ;
315+ $ this ->fieldChanged ('type ' );
316+ return $ this ;
317+ }
293318}
You can’t perform that action at this time.
0 commit comments