Completed
Push — master ( aaa8fd...99caf6 )
by Ghazi
12:02
created

JoinMeetingResponse::getUrl()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 * BigBlueButton open source conferencing system - https://www.bigbluebutton.org/.
4
 *
5
 * Copyright (c) 2016-2018 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\Responses;
20
21
/**
22
 * Class JoinMeetingResponse
23
 * @package BigBlueButton\Responses
24
 */
25
class JoinMeetingResponse extends BaseResponse
26
{
27
    /**
28
     * @return string
29
     */
30
    public function getMeetingId()
31
    {
32
        return $this->rawXml->meeting_id->__toString();
33
    }
34
35
    /**
36
     * @return string
37
     */
38
    public function getUserId()
39
    {
40
        return $this->rawXml->user_id->__toString();
41
    }
42
43
    /**
44
     * @return string
45
     */
46
    public function getAuthToken()
47
    {
48
        return $this->rawXml->auth_token->__toString();
49
    }
50
51
    /**
52
     * @return string
53
     */
54
    public function getSessionToken()
55
    {
56
        return $this->rawXml->session_token->__toString();
57
    }
58
59
    /**
60
     * @return string
61
     */
62
    public function getGuestStatus()
63
    {
64
        return $this->rawXml->guestStatus->__toString();
65
    }
66
67
    /**
68
     * @return string
69
     */
70
    public function getUrl()
71
    {
72
        return $this->rawXml->url->__toString();
73
    }
74
}
75