Passed
Pull Request — develop (#4)
by Stephen
04:08 queued 01:05
created

withLastStatusChangeTimestamp()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 6
rs 10
1
<?php
2
3
namespace Spinen\Nable\Ncentral\Type;
4
5
class EiCustomPsaTicketDetails
6
{
7
8
    /**
9
     * @var string
10
     */
11
    private $creationDate;
12
13
    /**
14
     * @var string
15
     */
16
    private $lastStatusChangeTimestamp;
17
18
    /**
19
     * @var int
20
     */
21
    private $psaCustomTicketId;
22
23
    /**
24
     * @var string
25
     */
26
    private $ticketDetails;
27
28
    /**
29
     * @var string
30
     */
31
    private $ticketStatus;
32
33
    /**
34
     * @var string
35
     */
36
    private $ticketTitle;
37
38
    /**
39
     * @return string
40
     */
41
    public function getCreationDate()
42
    {
43
        return $this->creationDate;
44
    }
45
46
    /**
47
     * @param string $creationDate
48
     * @return EiCustomPsaTicketDetails
49
     */
50
    public function withCreationDate($creationDate)
51
    {
52
        $new = clone $this;
53
        $new->creationDate = $creationDate;
54
55
        return $new;
56
    }
57
58
    /**
59
     * @return string
60
     */
61
    public function getLastStatusChangeTimestamp()
62
    {
63
        return $this->lastStatusChangeTimestamp;
64
    }
65
66
    /**
67
     * @param string $lastStatusChangeTimestamp
68
     * @return EiCustomPsaTicketDetails
69
     */
70
    public function withLastStatusChangeTimestamp($lastStatusChangeTimestamp)
71
    {
72
        $new = clone $this;
73
        $new->lastStatusChangeTimestamp = $lastStatusChangeTimestamp;
74
75
        return $new;
76
    }
77
78
    /**
79
     * @return int
80
     */
81
    public function getPsaCustomTicketId()
82
    {
83
        return $this->psaCustomTicketId;
84
    }
85
86
    /**
87
     * @param int $psaCustomTicketId
88
     * @return EiCustomPsaTicketDetails
89
     */
90
    public function withPsaCustomTicketId($psaCustomTicketId)
91
    {
92
        $new = clone $this;
93
        $new->psaCustomTicketId = $psaCustomTicketId;
94
95
        return $new;
96
    }
97
98
    /**
99
     * @return string
100
     */
101
    public function getTicketDetails()
102
    {
103
        return $this->ticketDetails;
104
    }
105
106
    /**
107
     * @param string $ticketDetails
108
     * @return EiCustomPsaTicketDetails
109
     */
110
    public function withTicketDetails($ticketDetails)
111
    {
112
        $new = clone $this;
113
        $new->ticketDetails = $ticketDetails;
114
115
        return $new;
116
    }
117
118
    /**
119
     * @return string
120
     */
121
    public function getTicketStatus()
122
    {
123
        return $this->ticketStatus;
124
    }
125
126
    /**
127
     * @param string $ticketStatus
128
     * @return EiCustomPsaTicketDetails
129
     */
130
    public function withTicketStatus($ticketStatus)
131
    {
132
        $new = clone $this;
133
        $new->ticketStatus = $ticketStatus;
134
135
        return $new;
136
    }
137
138
    /**
139
     * @return string
140
     */
141
    public function getTicketTitle()
142
    {
143
        return $this->ticketTitle;
144
    }
145
146
    /**
147
     * @param string $ticketTitle
148
     * @return EiCustomPsaTicketDetails
149
     */
150
    public function withTicketTitle($ticketTitle)
151
    {
152
        $new = clone $this;
153
        $new->ticketTitle = $ticketTitle;
154
155
        return $new;
156
    }
157
158
159
}
160
161