Completed
Pull Request — master (#186)
by
unknown
07:17
created

GetRegionResponse::getRegion()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Yandex\Market\Partner\Models;
4
5
use Yandex\Common\Model;
6
7
class GetRegionResponse extends Model
8
{
9
    protected $region = null;
10
11
    protected $mappingClasses = [
12
        'region' => 'Yandex\Market\Partner\Models\Region'
13
    ];
14
15
    protected $propNameMap = [];
16
17
    /**
18
     * @return null
19
     */
20
    public function getRegion()
21
    {
22
        return $this->region;
23
    }
24
25
    /**
26
     * @param null $region
27
     */
28
    public function setRegion($region)
29
    {
30
        $this->region = $region;
31
        return $this;
32
    }
33
}