1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/* |
4
|
|
|
* BigBlueButton open source conferencing system - https://www.bigbluebutton.org/. |
5
|
|
|
* |
6
|
|
|
* Copyright (c) 2016-2024 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 <https://www.gnu.org/licenses/>. |
19
|
|
|
*/ |
20
|
|
|
|
21
|
|
|
namespace BigBlueButton\Parameters; |
22
|
|
|
|
23
|
|
|
/** |
24
|
|
|
* Class GetRecordingsParameters. |
25
|
|
|
*/ |
26
|
|
|
class GetRecordingsParameters extends MetaParameters |
27
|
|
|
{ |
28
|
|
|
private ?string $meetingId = null; |
29
|
|
|
|
30
|
|
|
private ?string $recordId = null; |
31
|
|
|
|
32
|
|
|
private ?string $state = null; |
33
|
|
|
|
34
|
|
|
public function getMeetingId(): ?string |
35
|
|
|
{ |
36
|
|
|
return $this->meetingId; |
37
|
|
|
} |
38
|
|
|
|
39
|
|
|
public function setMeetingId(string $meetingId): self |
40
|
|
|
{ |
41
|
|
|
$this->meetingId = $meetingId; |
42
|
|
|
|
43
|
|
|
return $this; |
44
|
|
|
} |
45
|
|
|
|
46
|
|
|
public function getRecordId(): ?string |
47
|
|
|
{ |
48
|
|
|
return $this->recordId; |
49
|
|
|
} |
50
|
|
|
|
51
|
|
|
public function setRecordId(string $recordId): self |
52
|
|
|
{ |
53
|
|
|
$this->recordId = $recordId; |
54
|
|
|
|
55
|
|
|
return $this; |
56
|
|
|
} |
57
|
|
|
|
58
|
|
|
public function getState(): ?string |
59
|
|
|
{ |
60
|
|
|
return $this->state; |
61
|
|
|
} |
62
|
|
|
|
63
|
|
|
public function setState(string $state): self |
64
|
|
|
{ |
65
|
|
|
$this->state = $state; |
66
|
|
|
|
67
|
|
|
return $this; |
68
|
|
|
} |
69
|
|
|
|
70
|
|
|
public function getHTTPQuery(): string |
71
|
|
|
{ |
72
|
|
|
$queries = [ |
73
|
|
|
'meetingID' => $this->meetingId, |
74
|
|
|
'recordID' => $this->recordId, |
75
|
|
|
'state' => $this->state, |
76
|
|
|
]; |
77
|
|
|
|
78
|
|
|
$this->buildMeta($queries); |
79
|
|
|
|
80
|
|
|
return $this->buildHTTPQuery($queries); |
81
|
|
|
} |
82
|
|
|
} |
83
|
|
|
|