Total Complexity | 6 |
Total Lines | 67 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class Board implements \JsonSerializable |
||
8 | { |
||
9 | use ClassSerialize; |
||
10 | |||
11 | /** @var int */ |
||
12 | public $id; |
||
13 | |||
14 | /** @var string */ |
||
15 | public $self; |
||
16 | |||
17 | /** @var string */ |
||
18 | public $name; |
||
19 | |||
20 | /** @var string */ |
||
21 | public $type; |
||
22 | |||
23 | /** |
||
24 | * Location [\JiraRestApi\Board\Location]. |
||
25 | * |
||
26 | * @var \JiraRestApi\Board\Location |
||
27 | */ |
||
28 | public $location; |
||
29 | |||
30 | /** |
||
31 | * Get board id. |
||
32 | */ |
||
33 | public function getId() |
||
34 | { |
||
35 | return $this->id; |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * Get board url. |
||
40 | */ |
||
41 | public function getSelf() |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * Get board name. |
||
48 | */ |
||
49 | public function getName() |
||
50 | { |
||
51 | return $this->name; |
||
52 | } |
||
53 | |||
54 | /** |
||
55 | * Get board type. |
||
56 | */ |
||
57 | public function getType() |
||
58 | { |
||
59 | return $this->type; |
||
60 | } |
||
61 | |||
62 | /** |
||
63 | * Get location. |
||
64 | */ |
||
65 | public function getLocation() |
||
66 | { |
||
67 | return $this->location; |
||
68 | } |
||
69 | |||
70 | public function jsonSerialize() |
||
74 | }); |
||
75 | } |
||
76 | } |
||
77 |