Completed
Push — master ( ae7486...e30bc0 )
by Francesco
16:00
created

Category::getTimestamp()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Audiens\AppnexusClient\entity;
4
5
/**
6
 * Class Category
7
 */
8
class Category
9
{
10
11
    use HydratableTrait;
12
13
    /** @var  string */
14
    protected $id;
15
16
    /** @var  string */
17
    protected $name;
18
19
    /** @var   string */
20
    protected $description;
21
22
    /** @var  bool */
23
    protected $is_system;
24
25
    /** @var  string */
26
    protected $timestamp;
27
28
    /** @var  string */
29
    protected $parent_category;
30
31
    /**
32
     * Category constructor
33
     */
34
    public function __construct()
35
    {
36
    }
37
38
    /**
39
     * @return string
40
     */
41
    public function getId()
42
    {
43
        return $this->id;
44
    }
45
46
    /**
47
     * @param string $id
48
     */
49
    public function setId($id)
50
    {
51
        $this->id = $id;
52
    }
53
54
    /**
55
     * @return string
56
     */
57
    public function getName()
58
    {
59
        return $this->name;
60
    }
61
62
    /**
63
     * @param string $name
64
     */
65
    public function setName($name)
66
    {
67
        $this->name = $name;
68
    }
69
70
    /**
71
     * @return string
72
     */
73
    public function getDescription()
74
    {
75
        return $this->description;
76
    }
77
78
    /**
79
     * @param string $description
80
     */
81
    public function setDescription($description)
82
    {
83
        $this->description = $description;
84
    }
85
86
    /**
87
     * @return boolean
88
     */
89
    public function isIsSystem()
90
    {
91
        return $this->is_system;
92
    }
93
94
    /**
95
     * @param boolean $is_system
96
     */
97
    public function setIsSystem($is_system)
98
    {
99
        $this->is_system = $is_system;
100
    }
101
102
    /**
103
     * @return string
104
     */
105
    public function getTimestamp()
106
    {
107
        return $this->timestamp;
108
    }
109
110
    /**
111
     * @param string $timestamp
112
     */
113
    public function setTimestamp($timestamp)
114
    {
115
        $this->timestamp = $timestamp;
116
    }
117
118
    /**
119
     * @return string
120
     */
121
    public function getParentCategory()
122
    {
123
        return $this->parent_category;
124
    }
125
126
    /**
127
     * @param string $parent_category
128
     */
129
    public function setParentCategory($parent_category)
130
    {
131
        $this->parent_category = $parent_category;
132
    }
133
}
134