EiCustomPsaTicketResponse::withUrl()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
c 2
b 0
f 0
nc 1
nop 1
dl 0
loc 6
ccs 0
cts 4
cp 0
crap 2
rs 10
1
<?php
2
3
namespace Spinen\Ncentral\Type;
4
5
class EiCustomPsaTicketResponse
6
{
7
8
    /**
9
     * @var bool
10
     */
11
    private $inconsistencyDetected;
12
13
    /**
14
     * @var string
15
     */
16
    private $lastStatus;
17
18
    /**
19
     * @var string
20
     */
21
    private $lastStatusTimestamp;
22
23
    /**
24
     * @var string
25
     */
26
    private $newConfirmedStatus;
27
28
    /**
29
     * @var int
30
     */
31
    private $psaCustomTicketId;
32
33
    /**
34
     * @var string
35
     */
36
    private $psaTicketNumber;
37
38
    /**
39
     * @var string
40
     */
41
    private $ticketCreationDate;
42
43
    /**
44
     * @var string
45
     */
46
    private $url;
47
48
    /**
49
     * @return bool
50
     */
51
    public function getInconsistencyDetected()
52
    {
53
        return $this->inconsistencyDetected;
54
    }
55
56
    /**
57
     * @param bool $inconsistencyDetected
58
     * @return EiCustomPsaTicketResponse
59
     */
60
    public function withInconsistencyDetected($inconsistencyDetected)
61
    {
62
        $new = clone $this;
63
        $new->inconsistencyDetected = $inconsistencyDetected;
64
65
        return $new;
66
    }
67
68
    /**
69
     * @return string
70
     */
71
    public function getLastStatus()
72
    {
73
        return $this->lastStatus;
74
    }
75
76
    /**
77
     * @param string $lastStatus
78
     * @return EiCustomPsaTicketResponse
79
     */
80
    public function withLastStatus($lastStatus)
81
    {
82
        $new = clone $this;
83
        $new->lastStatus = $lastStatus;
84
85
        return $new;
86
    }
87
88
    /**
89
     * @return string
90
     */
91
    public function getLastStatusTimestamp()
92
    {
93
        return $this->lastStatusTimestamp;
94
    }
95
96
    /**
97
     * @param string $lastStatusTimestamp
98
     * @return EiCustomPsaTicketResponse
99
     */
100
    public function withLastStatusTimestamp($lastStatusTimestamp)
101
    {
102
        $new = clone $this;
103
        $new->lastStatusTimestamp = $lastStatusTimestamp;
104
105
        return $new;
106
    }
107
108
    /**
109
     * @return string
110
     */
111
    public function getNewConfirmedStatus()
112
    {
113
        return $this->newConfirmedStatus;
114
    }
115
116
    /**
117
     * @param string $newConfirmedStatus
118
     * @return EiCustomPsaTicketResponse
119
     */
120
    public function withNewConfirmedStatus($newConfirmedStatus)
121
    {
122
        $new = clone $this;
123
        $new->newConfirmedStatus = $newConfirmedStatus;
124
125
        return $new;
126
    }
127
128
    /**
129
     * @return int
130
     */
131
    public function getPsaCustomTicketId()
132
    {
133
        return $this->psaCustomTicketId;
134
    }
135
136
    /**
137
     * @param int $psaCustomTicketId
138
     * @return EiCustomPsaTicketResponse
139
     */
140
    public function withPsaCustomTicketId($psaCustomTicketId)
141
    {
142
        $new = clone $this;
143
        $new->psaCustomTicketId = $psaCustomTicketId;
144
145
        return $new;
146
    }
147
148
    /**
149
     * @return string
150
     */
151
    public function getPsaTicketNumber()
152
    {
153
        return $this->psaTicketNumber;
154
    }
155
156
    /**
157
     * @param string $psaTicketNumber
158
     * @return EiCustomPsaTicketResponse
159
     */
160
    public function withPsaTicketNumber($psaTicketNumber)
161
    {
162
        $new = clone $this;
163
        $new->psaTicketNumber = $psaTicketNumber;
164
165
        return $new;
166
    }
167
168
    /**
169
     * @return string
170
     */
171
    public function getTicketCreationDate()
172
    {
173
        return $this->ticketCreationDate;
174
    }
175
176
    /**
177
     * @param string $ticketCreationDate
178
     * @return EiCustomPsaTicketResponse
179
     */
180
    public function withTicketCreationDate($ticketCreationDate)
181
    {
182
        $new = clone $this;
183
        $new->ticketCreationDate = $ticketCreationDate;
184
185
        return $new;
186
    }
187
188
    /**
189
     * @return string
190
     */
191
    public function getUrl()
192
    {
193
        return $this->url;
194
    }
195
196
    /**
197
     * @param string $url
198
     * @return EiCustomPsaTicketResponse
199
     */
200
    public function withUrl($url)
201
    {
202
        $new = clone $this;
203
        $new->url = $url;
204
205
        return $new;
206
    }
207
208
209
}
210
211