1 | <?php |
||
30 | class BridgeAttendedTransfer extends Event implements IdentifiableEventInterface |
||
31 | { |
||
32 | /** |
||
33 | * @var string (optional) - Application that has been transferred into |
||
34 | */ |
||
35 | private $destinationApplication; |
||
36 | |||
37 | /** |
||
38 | * @var string (optional) - Bridge that survived the merge result |
||
39 | */ |
||
40 | private $destinationBridge; |
||
41 | |||
42 | /** |
||
43 | * @var Channel (optional) - First leg of a link transfer result |
||
44 | */ |
||
45 | private $destinationLinkFirstLeg; |
||
46 | |||
47 | /** |
||
48 | * @var Channel (optional) - Second leg of a link transfer result |
||
49 | */ |
||
50 | private $destinationLinkSecondLeg; |
||
51 | |||
52 | /** |
||
53 | * @var Bridge (optional) - Bridge that survived the threeway result |
||
54 | */ |
||
55 | private $destinationThreewayBridge; |
||
56 | |||
57 | /** |
||
58 | * @var Channel (optional) - Transferer channel that survived the threeway result |
||
59 | */ |
||
60 | private $destinationThreewayChannel; |
||
61 | |||
62 | /** |
||
63 | * @var string How the transfer was accomplished |
||
64 | */ |
||
65 | private $destinationType; |
||
66 | |||
67 | /** |
||
68 | * @var boolean Whether the transfer was externally initiated or not |
||
69 | */ |
||
70 | private $isExternal; |
||
71 | |||
72 | /** |
||
73 | * @var Channel (optional) - The channel that is replacing transferer_first_leg in the swap |
||
74 | */ |
||
75 | private $replaceChannel; |
||
76 | |||
77 | /** |
||
78 | * @var string The result of the transfer attempt |
||
79 | */ |
||
80 | private $result; |
||
81 | |||
82 | /** |
||
83 | * @var Channel (optional) - The channel that is being transferred to |
||
84 | */ |
||
85 | private $transferTarget; |
||
86 | |||
87 | /** |
||
88 | * @var Channel (optional) - The channel that is being transferred |
||
89 | */ |
||
90 | private $transferee; |
||
91 | |||
92 | /** |
||
93 | * @var Channel First leg of the transferer |
||
94 | */ |
||
95 | private $transfererFirstLeg; |
||
96 | |||
97 | /** |
||
98 | * @var Bridge (optional) - Bridge the transferer first leg is in |
||
99 | */ |
||
100 | private $transfererFirstLegBridge; |
||
101 | |||
102 | /** |
||
103 | * @var Channel Second leg of the transferer |
||
104 | */ |
||
105 | private $transfererSecondLeg; |
||
106 | |||
107 | /** |
||
108 | * @var Bridge (optional) - Bridge the transferer second leg is in |
||
109 | */ |
||
110 | private $transfererSecondLegBridge; |
||
111 | |||
112 | /** |
||
113 | * @return string (optional) - Application that has been transferred into |
||
114 | */ |
||
115 | public function getDestinationApplication() |
||
119 | |||
120 | /** |
||
121 | * @return string (optional) - Bridge that survived the merge result |
||
122 | */ |
||
123 | public function getDestinationBridge() |
||
127 | |||
128 | /** |
||
129 | * @return Channel (optional) - First leg of a link transfer result |
||
130 | */ |
||
131 | public function getDestinationLinkFirstLeg() |
||
135 | |||
136 | /** |
||
137 | * @return Channel (optional) - Second leg of a link transfer result |
||
138 | */ |
||
139 | public function getDestinationLinkSecondLeg() |
||
143 | |||
144 | /** |
||
145 | * @return Bridge (optional) - Bridge that survived the threeway result |
||
146 | */ |
||
147 | public function getDestinationThreewayBridge() |
||
151 | |||
152 | /** |
||
153 | * @return Channel (optional) - Transferer channel that survived the threeway result |
||
154 | */ |
||
155 | public function getDestinationThreewayChannel() |
||
159 | |||
160 | /** |
||
161 | * @return string How the transfer was accomplished |
||
162 | */ |
||
163 | public function getDestinationType() |
||
167 | |||
168 | /** |
||
169 | * @return boolean Whether the transfer was externally initiated or not |
||
170 | */ |
||
171 | public function isExternal() |
||
175 | |||
176 | /** |
||
177 | * @return Channel (optional) - The channel that is replacing transferer_first_leg in the swap |
||
178 | */ |
||
179 | public function getReplaceChannel() |
||
183 | |||
184 | /** |
||
185 | * @return string The result of the transfer attempt |
||
186 | */ |
||
187 | public function getResult() |
||
191 | |||
192 | /** |
||
193 | * @return Channel (optional) - The channel that is being transferred to |
||
194 | */ |
||
195 | public function getTransferTarget() |
||
199 | |||
200 | /** |
||
201 | * @return Channel (optional) - The channel that is being transferred |
||
202 | */ |
||
203 | public function getTransferee() |
||
207 | |||
208 | /** |
||
209 | * @return Channel First leg of the transferer |
||
210 | */ |
||
211 | public function getTransfererFirstLeg() |
||
215 | |||
216 | /** |
||
217 | * @return Bridge (optional) - Bridge the transferer first leg is in |
||
218 | */ |
||
219 | public function getTransfererFirstLegBridge() |
||
223 | |||
224 | /** |
||
225 | * @return Channel Second leg of the transferer |
||
226 | */ |
||
227 | public function getTransfererSecondLeg() |
||
231 | |||
232 | /** |
||
233 | * @return Bridge (optional) - Bridge the transferer second leg is in |
||
234 | */ |
||
235 | public function getTransfererSecondLegBridge() |
||
239 | |||
240 | public function getEventId() |
||
244 | |||
245 | /** |
||
246 | * @param AriClient $client |
||
247 | * @param string $response |
||
248 | */ |
||
249 | public function __construct(AriClient $client, $response) |
||
277 | } |
||
278 |