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