Code Duplication    Length = 33-33 lines in 3 locations

src/Yandex/Metrica/Management/Models/AddGrantResponse.php 1 location

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

src/Yandex/Metrica/Management/Models/GetGrantResponse.php 1 location

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

src/Yandex/Metrica/Management/Models/UpdateGrantResponse.php 1 location

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