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