1 | <?php |
||
9 | class Session extends AbstractModel |
||
10 | { |
||
11 | /** |
||
12 | * @var integer |
||
13 | */ |
||
14 | private $activeTorrentCount; |
||
15 | |||
16 | /** |
||
17 | * @var integer |
||
18 | */ |
||
19 | private $downloadSpeed; |
||
20 | |||
21 | /** |
||
22 | * @var integer |
||
23 | */ |
||
24 | private $pausedTorrentCount; |
||
25 | |||
26 | /** |
||
27 | * @var integer |
||
28 | */ |
||
29 | private $torrentCount; |
||
30 | |||
31 | /** |
||
32 | * @var integer |
||
33 | */ |
||
34 | private $uploadSpeed; |
||
35 | |||
36 | /** |
||
37 | * @var Stats |
||
38 | */ |
||
39 | private $cumulative; |
||
40 | |||
41 | /** |
||
42 | * @var Stats |
||
43 | */ |
||
44 | private $current; |
||
45 | |||
46 | /** |
||
47 | * Gets the value of activeTorrentCount. |
||
48 | * |
||
49 | * @return integer |
||
50 | */ |
||
51 | public function getActiveTorrentCount() |
||
55 | |||
56 | /** |
||
57 | * Sets the value of activeTorrentCount. |
||
58 | * |
||
59 | * @param integer $activeTorrentCount the active torrent count |
||
60 | */ |
||
61 | public function setActiveTorrentCount($activeTorrentCount) |
||
65 | |||
66 | /** |
||
67 | * Gets the value of downloadSpeed. |
||
68 | * |
||
69 | * @return integer |
||
70 | */ |
||
71 | public function getDownloadSpeed() |
||
75 | |||
76 | /** |
||
77 | * Sets the value of downloadSpeed. |
||
78 | * |
||
79 | * @param integer $downloadSpeed the download speed |
||
80 | */ |
||
81 | public function setDownloadSpeed($downloadSpeed) |
||
85 | |||
86 | /** |
||
87 | * Gets the value of pausedTorrentCount. |
||
88 | * |
||
89 | * @return integer |
||
90 | */ |
||
91 | public function getPausedTorrentCount() |
||
95 | |||
96 | /** |
||
97 | * Sets the value of pausedTorrentCount. |
||
98 | * |
||
99 | * @param integer $pausedTorrentCount the paused torrent count |
||
100 | */ |
||
101 | public function setPausedTorrentCount($pausedTorrentCount) |
||
105 | |||
106 | /** |
||
107 | * Gets the value of torrentCount. |
||
108 | * |
||
109 | * @return integer |
||
110 | */ |
||
111 | public function getTorrentCount() |
||
115 | |||
116 | /** |
||
117 | * Sets the value of torrentCount. |
||
118 | * |
||
119 | * @param integer $torrentCount the torrent count |
||
120 | */ |
||
121 | public function setTorrentCount($torrentCount) |
||
125 | |||
126 | /** |
||
127 | * Gets the value of uploadSpeed. |
||
128 | * |
||
129 | * @return integer |
||
130 | */ |
||
131 | public function getUploadSpeed() |
||
135 | |||
136 | /** |
||
137 | * Sets the value of uploadSpeed. |
||
138 | * |
||
139 | * @param integer $uploadSpeed the upload speed |
||
140 | */ |
||
141 | public function setUploadSpeed($uploadSpeed) |
||
145 | |||
146 | /** |
||
147 | * Gets the value of cumulative. |
||
148 | * |
||
149 | * @return Stats |
||
150 | */ |
||
151 | public function getCumulative() |
||
155 | |||
156 | /** |
||
157 | * Sets the value of cumulative. |
||
158 | * |
||
159 | * @param Stats $cumulative the cumulative |
||
160 | */ |
||
161 | public function setCumulative(Stats $cumulative) |
||
165 | |||
166 | /** |
||
167 | * Gets the value of current. |
||
168 | * |
||
169 | * @return Stats |
||
170 | */ |
||
171 | public function getCurrent() |
||
175 | |||
176 | /** |
||
177 | * Sets the value of current. |
||
178 | * |
||
179 | * @param Stats $current the current |
||
180 | */ |
||
181 | public function setCurrent(Stats $current) |
||
185 | |||
186 | /** |
||
187 | * {@inheritDoc} |
||
188 | */ |
||
189 | public static function getMapping() |
||
201 | } |
||
202 |