1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/* |
4
|
|
|
* BigBlueButton open source conferencing system - https://www.bigbluebutton.org/. |
5
|
|
|
* |
6
|
|
|
* Copyright (c) 2016-2023 BigBlueButton Inc. and by respective authors (see below). |
7
|
|
|
* |
8
|
|
|
* This program is free software; you can redistribute it and/or modify it under the |
9
|
|
|
* terms of the GNU Lesser General Public License as published by the Free Software |
10
|
|
|
* Foundation; either version 3.0 of the License, or (at your option) any later |
11
|
|
|
* version. |
12
|
|
|
* |
13
|
|
|
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY |
14
|
|
|
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
15
|
|
|
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. |
16
|
|
|
* |
17
|
|
|
* You should have received a copy of the GNU Lesser General Public License along |
18
|
|
|
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>. |
19
|
|
|
*/ |
20
|
|
|
|
21
|
|
|
namespace BigBlueButton\Parameters; |
22
|
|
|
|
23
|
|
|
/** |
24
|
|
|
* Class GetRecordingTextTracksParameters. |
25
|
|
|
*/ |
26
|
|
|
class GetRecordingTextTracksParameters extends MetaParameters |
27
|
|
|
{ |
28
|
|
|
/** |
29
|
|
|
* @var string |
30
|
|
|
*/ |
31
|
|
|
private $recordId; |
32
|
|
|
|
33
|
|
|
/** |
34
|
|
|
* GetRecordingTextTracksParameters constructor. |
35
|
|
|
*/ |
36
|
|
|
public function __construct($recordId) |
37
|
|
|
{ |
38
|
|
|
$this->recordId = $recordId; |
39
|
|
|
} |
40
|
|
|
|
41
|
|
|
/** |
42
|
|
|
* @return string |
43
|
|
|
*/ |
44
|
|
|
public function getRecordId() |
45
|
|
|
{ |
46
|
|
|
return $this->recordId; |
47
|
|
|
} |
48
|
|
|
|
49
|
|
|
/** |
50
|
|
|
* @param string $recordId |
51
|
|
|
* |
52
|
|
|
* @return GetRecordingTextTracksParameters |
53
|
|
|
*/ |
54
|
|
|
public function setRecordId($recordId) |
55
|
|
|
{ |
56
|
|
|
$this->recordId = $recordId; |
57
|
|
|
|
58
|
|
|
return $this; |
59
|
|
|
} |
60
|
|
|
|
61
|
|
|
/** |
62
|
|
|
* @return string |
63
|
|
|
*/ |
64
|
|
|
public function getHTTPQuery() |
65
|
|
|
{ |
66
|
|
|
$queries = [ |
67
|
|
|
'recordID' => $this->recordId, |
68
|
|
|
]; |
69
|
|
|
|
70
|
|
|
$this->buildMeta($queries); |
71
|
|
|
|
72
|
|
|
return $this->buildHTTPQuery($queries); |
73
|
|
|
} |
74
|
|
|
} |
75
|
|
|
|