Completed
Push — master ( 6aa3fc...c7d0c1 )
by Alexei
9s
created

Info::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 7
rs 9.4285
cc 1
eloc 4
nc 1
nop 1
1
<?php
2
// Copyright 1999-2016. Parallels IP Holdings GmbH.
3
4
namespace PleskX\Api\Struct\Mail;
5
6
class Info extends \PleskX\Api\Struct
7
{
8
    /** @var integer */
9
    public $id;
10
11
    /** @var string */
12
    public $name;
13
14
    public function __construct($apiResponse)
15
    {
16
        $this->_initScalarProperties($apiResponse, [
17
            'id',
18
            'name',
19
        ]);
20
    }
21
}