| 1 | <?php |
||
| 7 | class ResponseSearchGet extends PagedModel |
||
| 8 | { |
||
| 9 | protected $categories = null; |
||
| 10 | |||
| 11 | protected $regionDelimiterPosition = null; |
||
| 12 | |||
| 13 | protected $requestParams = null; |
||
| 14 | |||
| 15 | protected $mappingClasses = [ |
||
| 16 | 'items' => 'Yandex\Market\Content\Models\SearchResults', |
||
| 17 | 'categories' => 'Yandex\Market\Content\Models\Categories', |
||
| 18 | 'requestParams' => 'Yandex\Market\Content\Models\SearchRequestParams' |
||
| 19 | ]; |
||
| 20 | |||
| 21 | protected $propNameMap = [ |
||
| 22 | 'results' => 'items' |
||
| 23 | ]; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Constructor |
||
| 27 | * |
||
| 28 | * @param array $data |
||
| 29 | */ |
||
| 30 | 1 | public function __construct($data = array()) |
|
| 34 | |||
| 35 | /** |
||
| 36 | * Retrieve the categories property |
||
| 37 | * |
||
| 38 | * @return Categories|null |
||
| 39 | */ |
||
| 40 | 1 | public function getCategories() |
|
| 44 | |||
| 45 | /** |
||
| 46 | * Retrieve the regionDelimiterPosition property |
||
| 47 | * |
||
| 48 | * @return int|null |
||
| 49 | */ |
||
| 50 | 1 | public function getRegionDelimiterPosition() |
|
| 54 | |||
| 55 | /** |
||
| 56 | * Retrieve the requestParams property |
||
| 57 | * |
||
| 58 | * @return SearchRequestParams|null |
||
| 59 | */ |
||
| 60 | 1 | public function getRequestParams() |
|
| 64 | } |
||
| 65 |