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

Space::setName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
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 Space
16
 * @package Adlogix\ConfluenceClient\Entity
17
 * @author  Cedric Michaux <[email protected]>
18
 */
19
class Space
20
{
21
22
    /**
23
     * @var int
24
     */
25
    private $id;
26
27
    /**
28
     * @var string
29
     */
30
    private $key;
31
32
    /**
33
     * @var string
34
     */
35
    private $name;
36
37
38
    /**
39
     * @var string
40
     */
41
    private $type;
42
43
    /**
44
     * @var string;
45
     */
46
    private $description;
47
48
    /**
49
     * @return int
50
     */
51
    public function getId()
52
    {
53
        return $this->id;
54
    }
55
56
    /**
57
     * @param int $id
58
     *
59
     * @return Space
60
     */
61
    public function setId($id)
62
    {
63
        $this->id = $id;
64
        return $this;
65
    }
66
67
    /**
68
     * @return string
69
     */
70
    public function getKey()
71
    {
72
        return $this->key;
73
    }
74
75
    /**
76
     * @param string $key
77
     *
78
     * @return Space
79
     */
80
    public function setKey($key)
81
    {
82
        $this->key = $key;
83
        return $this;
84
    }
85
86
    /**
87
     * @return string
88
     */
89
    public function getName()
90
    {
91
        return $this->name;
92
    }
93
94
    /**
95
     * @param string $name
96
     *
97
     * @return Space
98
     */
99
    public function setName($name)
100
    {
101
        $this->name = $name;
102
        return $this;
103
    }
104
105
    /**
106
     * @return string
107
     */
108
    public function getType()
109
    {
110
        return $this->type;
111
    }
112
113
    /**
114
     * @param string $type
115
     *
116
     * @return Space
117
     */
118
    public function setType($type)
119
    {
120
        $this->type = $type;
121
        return $this;
122
    }
123
124
    /**
125
     * @return string
126
     */
127
    public function getDescription()
128
    {
129
        return $this->description;
130
    }
131
132
    /**
133
     * @param string $description
134
     *
135
     * @return Space
136
     */
137
    public function setDescription($description)
138
    {
139
        $this->description = $description;
140
        return $this;
141
    }
142
143
    
144
145
}
146