Completed
Push — master ( 602e3b...a4f418 )
by KwangSeob
11s
created

SprintSearchResult   A

Complexity

Total Complexity 11

Size/Duplication

Total Lines 114
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 114
rs 10
c 0
b 0
f 0
wmc 11

11 Methods

Rating   Name   Duplication   Size   Complexity  
A setSprints() 0 3 1
A setMaxResults() 0 3 1
A getTotal() 0 3 1
A getSprints() 0 3 1
A getMaxResults() 0 3 1
A getStartAt() 0 3 1
A setStartAt() 0 3 1
A setTotal() 0 3 1
A setExpand() 0 3 1
A getSprint() 0 3 1
A getExpand() 0 3 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: keanor
5
 * Date: 29.07.15
6
 * Time: 13:12.
7
 */
8
9
namespace JiraRestApi\Sprint;
10
11
/**
12
 * Sprint search result.
13
 */
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)
101
    {
102
        $this->issues = $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)
126
    {
127
        $this->expand = $expand;
128
    }
129
}
130