Passed
Push — master ( 8efc0a...2f8638 )
by Dominik
14:39
created

setIgnoreUntil()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 5
ccs 3
cts 3
cp 1
crap 1
rs 10
1
<?php
2
3
namespace Azine\MailgunWebhooksBundle\Entity;
4
5
/**
6
 * HetrixToolsBlacklistResponseNotification
7
 */
8
class HetrixToolsBlacklistResponseNotification
9
{
10
    /**
11
     * @var int
12
     */
13
    private $id;
14
15
    /**
16
     * @var array
17
     */
18
    private $data;
19
20
    /**
21
     * @var \DateTime
22
     */
23
    private $date;
24
25
    /**
26
     * @var string
27
     */
28
    private $ip;
29
30
    /**
31
     * @var \DateTime
32
     */
33
    private $ignoreUntil;
34
35
36
    /**
37
     * Get id
38
     *
39
     * @return int
40
     */
41
    public function getId()
42
    {
43
        return $this->id;
44
    }
45
46
    /**
47
     * Set data
48
     *
49
     * @param array $data
50
     *
51
     * @return HetrixToolsBlacklistResponseNotification
52
     */
53 4
    public function setData($data)
54
    {
55 4
        $this->data = $data;
56
57 4
        return $this;
58
    }
59
60
    /**
61
     * Get data
62
     *
63
     * @return array
64
     */
65 2
    public function getData()
66
    {
67 2
        return $this->data;
68
    }
69
70
    /**
71
     * Set date
72
     *
73
     * @param \DateTime $date
74
     *
75
     * @return HetrixToolsBlacklistResponseNotification
76
     */
77 3
    public function setDate($date)
78
    {
79 3
        $this->date = $date;
80
81 3
        return $this;
82
    }
83
84
    /**
85
     * Get date
86
     *
87
     * @return \DateTime
88
     */
89
    public function getDate()
90
    {
91
        return $this->date;
92
    }
93
94
    /**
95
     * Set ip
96
     *
97
     * @param string $ip
98
     *
99
     * @return HetrixToolsBlacklistResponseNotification
100
     */
101 3
    public function setIp($ip)
102
    {
103 3
        $this->ip = $ip;
104
105 3
        return $this;
106
    }
107
108
    /**
109
     * Get ip
110
     *
111
     * @return string
112
     */
113
    public function getIp()
114
    {
115
        return $this->ip;
116
    }
117
118
    /**
119
     * Set ignoreUntil
120
     *
121
     * @param \DateTime $ignoreUntil
122
     *
123
     * @return HetrixToolsBlacklistResponseNotification
124
     */
125 4
    public function setIgnoreUntil($ignoreUntil)
126
    {
127 4
        $this->ignoreUntil = $ignoreUntil;
128
129 4
        return $this;
130
    }
131
132
    /**
133
     * Get ignoreUntil
134
     *
135
     * @return \DateTime
136
     */
137 3
    public function getIgnoreUntil()
138
    {
139 3
        return $this->ignoreUntil;
140
    }
141
}
142