File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
lib/Brightcove/Object/Video Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,11 @@ class TextTrack extends ObjectBase {
2121 */
2222 protected $ srclang ;
2323
24+ /**
25+ * @var string
26+ */
27+ protected $ label ;
28+
2429 /**
2530 * @var string
2631 */
@@ -51,6 +56,7 @@ public function applyJSON(array $json) {
5156 $ this ->applyProperty ($ json , 'id ' );
5257 $ this ->applyProperty ($ json , 'src ' );
5358 $ this ->applyProperty ($ json , 'srclang ' );
59+ $ this ->applyProperty ($ json , 'label ' );
5460 $ this ->applyProperty ($ json , 'kind ' );
5561 $ this ->applyProperty ($ json , 'mime_type ' );
5662 $ this ->applyProperty ($ json , 'asset_id ' );
@@ -109,6 +115,23 @@ public function setSrclang($srclang) {
109115 return $ this ;
110116 }
111117
118+ /**
119+ * @return string
120+ */
121+ public function getLabel () {
122+ return $ this ->label ;
123+ }
124+
125+ /**
126+ * @param string $label
127+ * @return TextTrack
128+ */
129+ public function setLabel ($ label ) {
130+ $ this ->label = $ label ;
131+ $ this ->fieldChanged ('label ' );
132+ return $ this ;
133+ }
134+
112135 /**
113136 * @return string
114137 */
You can’t perform that action at this time.
0 commit comments