|
1
|
|
|
<?php |
|
2
|
|
|
/** |
|
3
|
|
|
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/. |
|
4
|
|
|
* |
|
5
|
|
|
* Copyright (c) 2016 BigBlueButton Inc. and by respective authors (see below). |
|
6
|
|
|
* |
|
7
|
|
|
* This program is free software; you can redistribute it and/or modify it under the |
|
8
|
|
|
* terms of the GNU Lesser General Public License as published by the Free Software |
|
9
|
|
|
* Foundation; either version 3.0 of the License, or (at your option) any later |
|
10
|
|
|
* version. |
|
11
|
|
|
* |
|
12
|
|
|
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY |
|
13
|
|
|
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
|
14
|
|
|
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. |
|
15
|
|
|
* |
|
16
|
|
|
* You should have received a copy of the GNU Lesser General Public License along |
|
17
|
|
|
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>. |
|
18
|
|
|
*/ |
|
19
|
|
|
namespace BigBlueButton\Parameters; |
|
20
|
|
|
|
|
21
|
|
|
/** |
|
22
|
|
|
* Class GetRecordingsParameters |
|
23
|
|
|
* @package BigBlueButton\Parameters |
|
24
|
|
|
*/ |
|
25
|
|
|
class GetRecordingsParameters extends BaseParameters |
|
26
|
|
|
{ |
|
27
|
|
|
/** |
|
28
|
|
|
* @var string |
|
29
|
|
|
*/ |
|
30
|
|
|
private $meetingId; |
|
31
|
|
|
|
|
32
|
|
|
/** |
|
33
|
|
|
* @var string |
|
34
|
|
|
*/ |
|
35
|
|
|
private $recordId; |
|
36
|
|
|
|
|
37
|
|
|
/** |
|
38
|
|
|
* @var string |
|
39
|
|
|
*/ |
|
40
|
|
|
private $state; |
|
41
|
|
|
|
|
42
|
|
|
/** |
|
43
|
|
|
* @var string |
|
44
|
|
|
*/ |
|
45
|
|
|
private $meta; |
|
46
|
|
|
|
|
47
|
|
|
/** |
|
48
|
|
|
* @return string |
|
49
|
|
|
*/ |
|
50
|
|
|
public function getMeetingId() |
|
51
|
|
|
{ |
|
52
|
|
|
return $this->meetingId; |
|
53
|
|
|
} |
|
54
|
|
|
|
|
55
|
|
|
/** |
|
56
|
|
|
* @param string $meetingId |
|
57
|
|
|
* @return GetRecordingsParameters |
|
58
|
|
|
*/ |
|
59
|
|
|
public function setMeetingId($meetingId) |
|
60
|
|
|
{ |
|
61
|
|
|
$this->meetingId = $meetingId; |
|
62
|
|
|
|
|
63
|
|
|
return $this; |
|
64
|
|
|
} |
|
65
|
|
|
|
|
66
|
|
|
/** |
|
67
|
|
|
* @return string |
|
68
|
|
|
*/ |
|
69
|
|
|
public function getRecordId() |
|
70
|
|
|
{ |
|
71
|
|
|
return $this->recordId; |
|
72
|
|
|
} |
|
73
|
|
|
|
|
74
|
|
|
/** |
|
75
|
|
|
* @param string $recordId |
|
76
|
|
|
* @return GetRecordingsParameters |
|
77
|
|
|
*/ |
|
78
|
|
|
public function setRecordId($recordId) |
|
79
|
|
|
{ |
|
80
|
|
|
$this->recordId = $recordId; |
|
81
|
|
|
|
|
82
|
|
|
return $this; |
|
83
|
|
|
} |
|
84
|
|
|
|
|
85
|
|
|
/** |
|
86
|
|
|
* @return string |
|
87
|
|
|
*/ |
|
88
|
|
|
public function getState() |
|
89
|
|
|
{ |
|
90
|
|
|
return $this->state; |
|
91
|
|
|
} |
|
92
|
|
|
|
|
93
|
|
|
/** |
|
94
|
|
|
* @param string $state |
|
95
|
|
|
* @return GetRecordingsParameters |
|
96
|
|
|
*/ |
|
97
|
|
|
public function setState($state) |
|
98
|
|
|
{ |
|
99
|
|
|
$this->state = $state; |
|
100
|
|
|
|
|
101
|
|
|
return $this; |
|
102
|
|
|
} |
|
103
|
|
|
|
|
104
|
|
|
/** |
|
105
|
|
|
* @return string |
|
106
|
|
|
*/ |
|
107
|
|
|
public function getMeta() |
|
108
|
|
|
{ |
|
109
|
|
|
return $this->meta; |
|
110
|
|
|
} |
|
111
|
|
|
|
|
112
|
|
|
/** |
|
113
|
|
|
* @param string $meta |
|
114
|
|
|
* @return GetRecordingsParameters |
|
115
|
|
|
*/ |
|
116
|
|
|
public function setMeta($meta) |
|
117
|
|
|
{ |
|
118
|
|
|
$this->meta = $meta; |
|
119
|
|
|
|
|
120
|
|
|
return $this; |
|
121
|
|
|
} |
|
122
|
|
|
|
|
123
|
|
|
/** |
|
124
|
|
|
* @return string |
|
125
|
|
|
*/ |
|
126
|
|
|
public function getHTTPQuery() |
|
127
|
|
|
{ |
|
128
|
|
|
return $this->buildHTTPQuery( |
|
129
|
|
|
[ |
|
130
|
|
|
'meetingID' => $this->meetingId, |
|
131
|
|
|
'recordID' => $this->recordId, |
|
132
|
|
|
'state' => $this->state, |
|
133
|
|
|
'meta' => $this->meta |
|
134
|
|
|
] |
|
135
|
|
|
); |
|
136
|
|
|
} |
|
137
|
|
|
} |
|
138
|
|
|
|