Code Duplication    Length = 33-33 lines in 3 locations

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

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

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

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

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

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