Completed
Push — master ( 8772a0...b0b40e )
by Ehsan
03:15
created

ImChannel::isIm()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Botonomous;
4
5
/**
6
 * Class ImChannel.
7
 */
8
class ImChannel extends AbstractSlackEntity
9
{
10
    private $isIm;
11
    private $user;
12
    private $created;
13
    private $isUserDeleted;
14
15
    /**
16
     * @return bool
17
     */
18
    public function isIm()
19
    {
20
        return $this->isIm;
21
    }
22
23
    /**
24
     * @param bool $isIm
25
     */
26 3
    public function setIsIm($isIm)
27
    {
28 3
        $this->isIm = $isIm;
29 3
    }
30
31
    /**
32
     * @return string
33
     */
34 2
    public function getUser()
35
    {
36 2
        return $this->user;
37
    }
38
39
    /**
40
     * @param string $user
41
     */
42 3
    public function setUser($user)
43
    {
44 3
        $this->user = $user;
45 3
    }
46
47
    /**
48
     * @return string
49
     */
50
    public function getCreated()
51
    {
52
        return $this->created;
53
    }
54
55
    /**
56
     * @param string $created
57
     */
58 3
    public function setCreated($created)
59
    {
60 3
        $this->created = $created;
61 3
    }
62
63
    /**
64
     * @return bool
65
     */
66
    public function isUserDeleted()
67
    {
68
        return $this->isUserDeleted;
69
    }
70
71
    /**
72
     * @param bool $isUserDeleted
73
     */
74 3
    public function setIsUserDeleted($isUserDeleted)
75
    {
76 3
        $this->isUserDeleted = $isUserDeleted;
77 3
    }
78
}
79