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

CreatedRegistration   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 8
c 0
b 0
f 0
dl 0
loc 28
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 CreatedRegistration.
11
 * An instance of this class is returned by the Zoom server upon recording a registrant to a meeting.
12
 */
13
class CreatedRegistration
14
{
15
    use JsonDeserializableTrait;
16
17
    /** @var int meeting ID */
18
    public $id;
19
20
    /** @var string Unique URL for this registrant to join the meeting.
21
     * This URL should only be shared with the registrant for whom the API request was made.
22
     * If the meeting was created with manual approval type (1), the join URL will not be returned in the response.
23
     */
24
    public $join_url;
25
26
    /** @var string Unique identifier of the registrant */
27
    public $registrant_id;
28
29
    /** @var string The start time for the meeting. */
30
    public $start_time;
31
32
    /** @var string Topic of the meeting. */
33
    public $topic;
34
35
    /**
36
     * {@inheritdoc}
37
     */
38
    protected function itemClass($propertyName)
39
    {
40
        throw new Exception("no such array property $propertyName");
41
    }
42
}
43