Code Duplication    Length = 32-33 lines in 3 locations

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

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

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

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

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

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