1 | <?php |
||
25 | class CreateMeetingResponse extends BaseResponse |
||
26 | { |
||
27 | /** |
||
28 | * @return string |
||
29 | */ |
||
30 | public function getMeetingId() |
||
34 | |||
35 | /** |
||
36 | * @return string |
||
37 | */ |
||
38 | public function getInternalMeetingId() |
||
42 | |||
43 | /** |
||
44 | * @return string |
||
45 | */ |
||
46 | public function getParentMeetingId() |
||
50 | |||
51 | /** |
||
52 | * @return string |
||
53 | */ |
||
54 | public function getAttendeePassword() |
||
55 | { |
||
56 | return $this->rawXml->attendeePW->__toString(); |
||
57 | } |
||
58 | |||
59 | /** |
||
60 | * @return string |
||
61 | */ |
||
62 | public function getModeratorPassword() |
||
63 | { |
||
64 | return $this->rawXml->moderatorPW->__toString(); |
||
65 | } |
||
66 | |||
67 | /** |
||
68 | * Creation timestamp. |
||
69 | * |
||
70 | * @return double |
||
71 | */ |
||
72 | public function getCreationTime() |
||
73 | { |
||
74 | return doubleval($this->rawXml->createTime); |
||
75 | } |
||
76 | |||
77 | /** |
||
78 | * @return int |
||
79 | */ |
||
80 | public function getVoiceBridge() |
||
81 | { |
||
82 | return intval($this->rawXml->voiceBridge); |
||
83 | } |
||
84 | |||
85 | /** |
||
86 | * @return string |
||
87 | */ |
||
88 | public function getDialNumber() |
||
89 | { |
||
90 | return $this->rawXml->dialNumber->__toString(); |
||
91 | } |
||
92 | |||
93 | /** |
||
94 | * Creation date at the format "Sun Jan 17 18:20:07 EST 2016". |
||
95 | * |
||
96 | * @return string |
||
97 | */ |
||
98 | public function getCreationDate() |
||
99 | { |
||
100 | return $this->rawXml->createDate->__toString(); |
||
101 | } |
||
102 | |||
103 | /** |
||
104 | * @return true |
||
105 | */ |
||
106 | public function hasUserJoined() |
||
107 | { |
||
108 | return $this->rawXml->hasUserJoined->__toString() == 'true'; |
||
109 | } |
||
110 | |||
111 | /** |
||
112 | * @return int |
||
113 | */ |
||
114 | public function getDuration() |
||
118 | |||
119 | /** |
||
120 | * @return bool |
||
121 | */ |
||
122 | public function hasBeenForciblyEnded() |
||
123 | { |
||
124 | return $this->rawXml->hasBeenForciblyEnded->__toString() == 'true'; |
||
125 | } |
||
126 | |||
127 | /** |
||
128 | * @return string |
||
129 | */ |
||
130 | public function getMessageKey() |
||
134 | |||
135 | /** |
||
136 | * @return string |
||
137 | */ |
||
138 | public function getMessage() |
||
142 | } |
||
143 |