Passed
Push — master ( c22b6a...5f79f5 )
by Julito
11:21
created

MeetingListItem   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 9
c 0
b 0
f 0
dl 0
loc 29
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A itemClass() 0 3 1
1
<?php
2
3
/* For licensing terms, see /license.txt */
4
5
namespace Chamilo\PluginBundle\Zoom\API;
6
7
use Exception;
8
9
/**
10
 * Class MeetingListItem. Item of a list of meetings.
11
 *
12
 * @see MeetingList
13
 */
14
class MeetingListItem
15
{
16
    use BaseMeetingTrait;
17
    use JsonDeserializableTrait;
18
19
    /** @var string unique meeting instance ID */
20
    public $uuid;
21
22
    /** @var string meeting number */
23
    public $id;
24
25
    /** @var string host Zoom user id */
26
    public $host_id;
27
28
    /** @var string */
29
    public $created_at;
30
31
    /** @var string */
32
    public $join_url;
33
34
    /** @var string truncated to 250 characters */
35
    // public $agenda;
36
37
    /**
38
     * {@inheritdoc}
39
     */
40
    public function itemClass($propertyName)
41
    {
42
        throw new Exception("no such array property $propertyName");
43
    }
44
}
45