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 EndMeetingParameters. |
25
|
|
|
*/ |
26
|
|
|
class EndMeetingParameters extends BaseParameters |
27
|
|
|
{ |
28
|
|
|
private ?string $meetingId = null; |
29
|
|
|
|
30
|
|
|
/** |
31
|
|
|
* @deprecated |
32
|
|
|
*/ |
33
|
|
|
private ?string $password = null; |
34
|
|
|
|
35
|
|
|
public function __construct(string $meetingId = null, string $password = null) |
36
|
|
|
{ |
37
|
|
|
$this->password = $password; |
|
|
|
|
38
|
|
|
$this->meetingId = $meetingId; |
39
|
|
|
} |
40
|
|
|
|
41
|
|
|
public function getMeetingId(): ?string |
42
|
|
|
{ |
43
|
|
|
return $this->meetingId; |
44
|
|
|
} |
45
|
|
|
|
46
|
|
|
public function setMeetingId(string $meetingId): self |
47
|
|
|
{ |
48
|
|
|
$this->meetingId = $meetingId; |
49
|
|
|
|
50
|
|
|
return $this; |
51
|
|
|
} |
52
|
|
|
|
53
|
|
|
/** |
54
|
|
|
* @deprecated |
55
|
|
|
*/ |
56
|
|
|
public function getPassword(): ?string |
57
|
|
|
{ |
58
|
|
|
return $this->password; |
|
|
|
|
59
|
|
|
} |
60
|
|
|
|
61
|
|
|
/** |
62
|
|
|
* @deprecated |
63
|
|
|
*/ |
64
|
|
|
public function setPassword(string $password): self |
65
|
|
|
{ |
66
|
|
|
$this->password = $password; |
|
|
|
|
67
|
|
|
|
68
|
|
|
return $this; |
69
|
|
|
} |
70
|
|
|
|
71
|
|
|
public function getHTTPQuery(): string |
72
|
|
|
{ |
73
|
|
|
return $this->buildHTTPQuery( |
74
|
|
|
[ |
75
|
|
|
'meetingID' => $this->meetingId, |
76
|
|
|
'password' => $this->password, |
|
|
|
|
77
|
|
|
] |
78
|
|
|
); |
79
|
|
|
} |
80
|
|
|
} |
81
|
|
|
|