Completed
Push — master ( ea5582...dd6b15 )
by Cedric
06:36
created

Content::getType()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/*
3
 * This file is part of the Adlogix package.
4
 *
5
 * (c) Allan Segebarth <[email protected]>
6
 * (c) Jean-Jacques Courtens <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Adlogix\ConfluenceClient\Entity;
13
14
/**
15
 * Class Content
16
 * @package Adlogix\ConfluenceClient\Entity
17
 * @author  Cedric Michaux <[email protected]>
18
 */
19
class Content
20
{
21
    /**
22
     * @var int
23
     */
24
    private $id;
25
26
    /**
27
     * @var string
28
     */
29
    private $type;
30
31
    /**
32
     * @var
33
     */
34
    private $status;
35
36
    /**
37
     * @var string
38
     */
39
    private $title;
40
41
    /**
42
     * @return int
43
     */
44
    public function getId()
45
    {
46
        return $this->id;
47
    }
48
49
    /**
50
     * @param int $id
51
     *
52
     * @return Content
53
     */
54
    public function setId($id)
55
    {
56
        $this->id = $id;
57
        return $this;
58
    }
59
60
    /**
61
     * @return string
62
     */
63
    public function getType()
64
    {
65
        return $this->type;
66
    }
67
68
    /**
69
     * @param string $type
70
     *
71
     * @return Content
72
     */
73
    public function setType($type)
74
    {
75
        $this->type = $type;
76
        return $this;
77
    }
78
79
    /**
80
     * @return mixed
81
     */
82
    public function getStatus()
83
    {
84
        return $this->status;
85
    }
86
87
    /**
88
     * @param mixed $status
89
     *
90
     * @return Content
91
     */
92
    public function setStatus($status)
93
    {
94
        $this->status = $status;
95
        return $this;
96
    }
97
98
    /**
99
     * @return string
100
     */
101
    public function getTitle()
102
    {
103
        return $this->title;
104
    }
105
106
    /**
107
     * @param string $title
108
     *
109
     * @return Content
110
     */
111
    public function setTitle($title)
112
    {
113
        $this->title = $title;
114
        return $this;
115
    }
116
}
117