@@ 7-61 (lines=55) @@ | ||
4 | ||
5 | use Yandex\Common\Model; |
|
6 | ||
7 | class Condition extends Model |
|
8 | { |
|
9 | ||
10 | protected $type = null; |
|
11 | ||
12 | protected $url = null; |
|
13 | ||
14 | protected $mappingClasses = []; |
|
15 | ||
16 | protected $propNameMap = []; |
|
17 | ||
18 | /** |
|
19 | * Retrieve the type property |
|
20 | * |
|
21 | * @return string|null |
|
22 | */ |
|
23 | public function getType() |
|
24 | { |
|
25 | return $this->type; |
|
26 | } |
|
27 | ||
28 | /** |
|
29 | * Set the type property |
|
30 | * |
|
31 | * @param string $type |
|
32 | * @return $this |
|
33 | */ |
|
34 | public function setType($type) |
|
35 | { |
|
36 | $this->type = $type; |
|
37 | return $this; |
|
38 | } |
|
39 | ||
40 | /** |
|
41 | * Retrieve the url property |
|
42 | * |
|
43 | * @return string|null |
|
44 | */ |
|
45 | public function getUrl() |
|
46 | { |
|
47 | return $this->url; |
|
48 | } |
|
49 | ||
50 | /** |
|
51 | * Set the url property |
|
52 | * |
|
53 | * @param string $url |
|
54 | * @return $this |
|
55 | */ |
|
56 | public function setUrl($url) |
|
57 | { |
|
58 | $this->url = $url; |
|
59 | return $this; |
|
60 | } |
|
61 | } |
|
62 |
@@ 8-64 (lines=57) @@ | ||
5 | use Yandex\Metrica\Management\Models\Counters; |
|
6 | use Yandex\Common\Model; |
|
7 | ||
8 | class GetCountersResponse extends Model |
|
9 | { |
|
10 | ||
11 | protected $counters = null; |
|
12 | ||
13 | protected $rows = null; |
|
14 | ||
15 | protected $mappingClasses = [ |
|
16 | 'counters' => 'Yandex\Metrica\Management\Models\Counters' |
|
17 | ]; |
|
18 | ||
19 | protected $propNameMap = []; |
|
20 | ||
21 | /** |
|
22 | * Retrieve the counters property |
|
23 | * |
|
24 | * @return Counters|null |
|
25 | */ |
|
26 | public function getCounters() |
|
27 | { |
|
28 | return $this->counters; |
|
29 | } |
|
30 | ||
31 | /** |
|
32 | * Set the counters property |
|
33 | * |
|
34 | * @param Counters $counters |
|
35 | * @return $this |
|
36 | */ |
|
37 | public function setCounters($counters) |
|
38 | { |
|
39 | $this->counters = $counters; |
|
40 | return $this; |
|
41 | } |
|
42 | ||
43 | /** |
|
44 | * Retrieve the rows property |
|
45 | * |
|
46 | * @return int|null |
|
47 | */ |
|
48 | public function getRows() |
|
49 | { |
|
50 | return $this->rows; |
|
51 | } |
|
52 | ||
53 | /** |
|
54 | * Set the rows property |
|
55 | * |
|
56 | * @param int $rows |
|
57 | * @return $this |
|
58 | */ |
|
59 | public function setRows($rows) |
|
60 | { |
|
61 | $this->rows = $rows; |
|
62 | return $this; |
|
63 | } |
|
64 | } |
|
65 |
@@ 7-61 (lines=55) @@ | ||
4 | ||
5 | use Yandex\Common\Model; |
|
6 | ||
7 | class Dimension extends Model |
|
8 | { |
|
9 | ||
10 | protected $id = null; |
|
11 | ||
12 | protected $name = null; |
|
13 | ||
14 | protected $mappingClasses = []; |
|
15 | ||
16 | protected $propNameMap = []; |
|
17 | ||
18 | /** |
|
19 | * Retrieve the id property |
|
20 | * |
|
21 | * @return string|null |
|
22 | */ |
|
23 | public function getId() |
|
24 | { |
|
25 | return $this->id; |
|
26 | } |
|
27 | ||
28 | /** |
|
29 | * Set the id property |
|
30 | * |
|
31 | * @param string $id |
|
32 | * @return $this |
|
33 | */ |
|
34 | public function setId($id) |
|
35 | { |
|
36 | $this->id = $id; |
|
37 | return $this; |
|
38 | } |
|
39 | ||
40 | /** |
|
41 | * Retrieve the name property |
|
42 | * |
|
43 | * @return string|null |
|
44 | */ |
|
45 | public function getName() |
|
46 | { |
|
47 | return $this->name; |
|
48 | } |
|
49 | ||
50 | /** |
|
51 | * Set the name property |
|
52 | * |
|
53 | * @param string $name |
|
54 | * @return $this |
|
55 | */ |
|
56 | public function setName($name) |
|
57 | { |
|
58 | $this->name = $name; |
|
59 | return $this; |
|
60 | } |
|
61 | } |
|
62 |