@@ 8-40 (lines=33) @@ | ||
5 | use Yandex\Metrica\Management\Models\Counter; |
|
6 | use Yandex\Common\Model; |
|
7 | ||
8 | class AddCounterResponse extends Model |
|
9 | { |
|
10 | ||
11 | protected $counter = null; |
|
12 | ||
13 | protected $mappingClasses = [ |
|
14 | 'counter' => 'Yandex\Metrica\Management\Models\Counter' |
|
15 | ]; |
|
16 | ||
17 | protected $propNameMap = []; |
|
18 | ||
19 | /** |
|
20 | * Retrieve the counter property |
|
21 | * |
|
22 | * @return Counter|null |
|
23 | */ |
|
24 | public function getCounter() |
|
25 | { |
|
26 | return $this->counter; |
|
27 | } |
|
28 | ||
29 | /** |
|
30 | * Set the counter property |
|
31 | * |
|
32 | * @param Counter $counter |
|
33 | * @return $this |
|
34 | */ |
|
35 | public function setCounter($counter) |
|
36 | { |
|
37 | $this->counter = $counter; |
|
38 | return $this; |
|
39 | } |
|
40 | } |
|
41 |
@@ 8-40 (lines=33) @@ | ||
5 | use Yandex\Metrica\Management\Models\Counter; |
|
6 | use Yandex\Common\Model; |
|
7 | ||
8 | class GetCounterResponse extends Model |
|
9 | { |
|
10 | ||
11 | protected $counter = null; |
|
12 | ||
13 | protected $mappingClasses = [ |
|
14 | 'counter' => 'Yandex\Metrica\Management\Models\Counter' |
|
15 | ]; |
|
16 | ||
17 | protected $propNameMap = []; |
|
18 | ||
19 | /** |
|
20 | * Retrieve the counter property |
|
21 | * |
|
22 | * @return Counter|null |
|
23 | */ |
|
24 | public function getCounter() |
|
25 | { |
|
26 | return $this->counter; |
|
27 | } |
|
28 | ||
29 | /** |
|
30 | * Set the counter property |
|
31 | * |
|
32 | * @param Counter $counter |
|
33 | * @return $this |
|
34 | */ |
|
35 | public function setCounter($counter) |
|
36 | { |
|
37 | $this->counter = $counter; |
|
38 | return $this; |
|
39 | } |
|
40 | } |
|
41 |
@@ 8-40 (lines=33) @@ | ||
5 | use Yandex\Metrica\Management\Models\Counter; |
|
6 | use Yandex\Common\Model; |
|
7 | ||
8 | class UpdateCounterResponse extends Model |
|
9 | { |
|
10 | ||
11 | protected $counter = null; |
|
12 | ||
13 | protected $mappingClasses = [ |
|
14 | 'counter' => 'Yandex\Metrica\Management\Models\Counter' |
|
15 | ]; |
|
16 | ||
17 | protected $propNameMap = []; |
|
18 | ||
19 | /** |
|
20 | * Retrieve the counter property |
|
21 | * |
|
22 | * @return Counter|null |
|
23 | */ |
|
24 | public function getCounter() |
|
25 | { |
|
26 | return $this->counter; |
|
27 | } |
|
28 | ||
29 | /** |
|
30 | * Set the counter property |
|
31 | * |
|
32 | * @param Counter $counter |
|
33 | * @return $this |
|
34 | */ |
|
35 | public function setCounter($counter) |
|
36 | { |
|
37 | $this->counter = $counter; |
|
38 | return $this; |
|
39 | } |
|
40 | } |
|
41 |