Total Complexity | 11 |
Total Lines | 114 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class SprintSearchResult |
||
15 | { |
||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | public $expand; |
||
20 | |||
21 | /** |
||
22 | * @var int |
||
23 | */ |
||
24 | public $startAt; |
||
25 | |||
26 | /** |
||
27 | * @var int |
||
28 | */ |
||
29 | public $maxResults; |
||
30 | |||
31 | /** |
||
32 | * @var int |
||
33 | */ |
||
34 | public $total; |
||
35 | |||
36 | /** |
||
37 | * @var Sprint[] |
||
38 | */ |
||
39 | public $issues; |
||
40 | |||
41 | /** |
||
42 | * @return int |
||
43 | */ |
||
44 | public function getStartAt() |
||
45 | { |
||
46 | return $this->startAt; |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * @param int $startAt |
||
51 | */ |
||
52 | public function setStartAt($startAt) |
||
53 | { |
||
54 | $this->startAt = $startAt; |
||
55 | } |
||
56 | |||
57 | /** |
||
58 | * @return int |
||
59 | */ |
||
60 | public function getMaxResults() |
||
61 | { |
||
62 | return $this->maxResults; |
||
63 | } |
||
64 | |||
65 | /** |
||
66 | * @param int $maxResults |
||
67 | */ |
||
68 | public function setMaxResults($maxResults) |
||
69 | { |
||
70 | $this->maxResults = $maxResults; |
||
71 | } |
||
72 | |||
73 | /** |
||
74 | * @return int |
||
75 | */ |
||
76 | public function getTotal() |
||
77 | { |
||
78 | return $this->total; |
||
79 | } |
||
80 | |||
81 | /** |
||
82 | * @param int $total |
||
83 | */ |
||
84 | public function setTotal($total) |
||
85 | { |
||
86 | $this->total = $total; |
||
87 | } |
||
88 | |||
89 | /** |
||
90 | * @return Sprint[] |
||
91 | */ |
||
92 | public function getSprints() |
||
93 | { |
||
94 | return $this->issues; |
||
95 | } |
||
96 | |||
97 | /** |
||
98 | * @param Sprint[] $issues |
||
99 | */ |
||
100 | public function setSprints($issues) |
||
103 | } |
||
104 | |||
105 | /** |
||
106 | * @param int $ndx |
||
107 | * @return object |
||
108 | */ |
||
109 | public function getSprint($ndx) |
||
110 | { |
||
111 | return $this->issues[$ndx]; |
||
112 | } |
||
113 | |||
114 | /** |
||
115 | * @return string |
||
116 | */ |
||
117 | public function getExpand() |
||
118 | { |
||
119 | return $this->expand; |
||
120 | } |
||
121 | |||
122 | /** |
||
123 | * @param string $expand |
||
124 | */ |
||
125 | public function setExpand($expand) |
||
128 | } |
||
129 | } |
||
130 |