UploadTicket   A
last analyzed

Complexity

Total Complexity 10

Size/Duplication

Total Lines 100
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 10
lcom 0
cbo 1
dl 0
loc 100
rs 10
c 0
b 0
f 0

10 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A setId() 0 4 1
A getJobId() 0 4 1
A setJobId() 0 4 1
A getMemberId() 0 4 1
A setMemberId() 0 4 1
A getLastModified() 0 4 1
A setLastModified() 0 4 1
A getUploadUrl() 0 4 1
A setUploadUrl() 0 4 1
1
<?php
2
3
namespace Audiens\AppnexusClient\entity;
4
5
/**
6
 * Class UploadJob
7
 */
8
class UploadTicket
9
{
10
11
    use HydratableTrait;
12
13
    /** @var  int */
14
    protected $id;
15
16
    /** @var  string */
17
    protected $job_id;
18
19
    /** @var  int */
20
    protected $member_id;
21
22
    /** @var  string */
23
    protected $last_modified;
24
25
    /** @var  string */
26
    protected $upload_url;
27
28
    /**
29
     * @return int
30
     */
31
    public function getId()
32
    {
33
        return $this->id;
34
    }
35
36
    /**
37
     * @param int $id
38
     */
39
    public function setId($id)
40
    {
41
        $this->id = $id;
42
    }
43
44
    /**
45
     * @return string
46
     */
47
    public function getJobId()
48
    {
49
        return $this->job_id;
50
    }
51
52
    /**
53
     * @param string $job_id
54
     */
55
    public function setJobId($job_id)
56
    {
57
        $this->job_id = $job_id;
58
    }
59
60
    /**
61
     * @return int
62
     */
63
    public function getMemberId()
64
    {
65
        return $this->member_id;
66
    }
67
68
    /**
69
     * @param int $member_id
70
     */
71
    public function setMemberId($member_id)
72
    {
73
        $this->member_id = $member_id;
74
    }
75
76
    /**
77
     * @return string
78
     */
79
    public function getLastModified()
80
    {
81
        return $this->last_modified;
82
    }
83
84
    /**
85
     * @param string $last_modified
86
     */
87
    public function setLastModified($last_modified)
88
    {
89
        $this->last_modified = $last_modified;
90
    }
91
92
    /**
93
     * @return string
94
     */
95
    public function getUploadUrl()
96
    {
97
        return $this->upload_url;
98
    }
99
100
    /**
101
     * @param string $upload_url
102
     */
103
    public function setUploadUrl($upload_url)
104
    {
105
        $this->upload_url = $upload_url;
106
    }
107
}
108