Completed
Push — master ( 2188d0...a5e0ad )
by Alexei
01:25
created

GeneralInfo   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 20
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
1
<?php
2
// Copyright 1999-2021. Plesk International GmbH.
3
4
namespace PleskX\Api\Struct\Mail;
5
6
class GeneralInfo extends \PleskX\Api\Struct
7
{
8
    /** @var int */
9
    public $id;
10
11
    /** @var string */
12
    public $name;
13
14
    /** @var string */
15
    public $description;
16
17
    public function __construct($apiResponse)
18
    {
19
        $this->_initScalarProperties($apiResponse, [
20
            'id',
21
            'name',
22
            'description',
23
        ]);
24
    }
25
}
26