Completed
Pull Request — master (#11)
by
unknown
02:34
created

VideoDownloadInfo::getQuality()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace MovingImage\Client\VMPro\Entity;
4
5
use JMS\Serializer\Annotation\Type;
6
use JMS\Serializer\Annotation\SerializedName;
7
8
class VideoDownloadInfo
9
{
10
    /**
11
     * @Type("string")
12
     */
13
    private $quality;
14
15
    /**
16
     * @Type("string")
17
     * @SerializedName("profileKey")
18
     */
19
    private $profileKey;
20
21
    /**
22
     * @Type("string")
23
     * @SerializedName("fileExtension")
24
     */
25
    private $fileExtension;
26
27
    /**
28
     * @Type("string")
29
     */
30
    private $url;
31
32
    /**
33
     * @Type("integer")
34
     * @SerializedName("fileSize")
35
     */
36
    private $fileSize;
37
38
    /**
39
     * @return string
40
     */
41
    public function getQuality()
42
    {
43
        return $this->quality;
44
    }
45
46
    /**
47
     * @param string $quality
48
     *
49
     * @return VideoDownloadInfo
50
     */
51 2
    public function setQuality($quality)
52
    {
53 2
        $this->quality = $quality;
54
55 2
        return $this;
56
    }
57
58
    /**
59
     * @return string
60
     */
61
    public function getProfileKey()
62
    {
63
        return $this->profileKey;
64
    }
65
66
    /**
67
     * @param string $profileKey
68
     *
69
     * @return VideoDownloadInfo
70
     */
71 2
    public function setProfileKey($profileKey)
72
    {
73 2
        $this->profileKey = $profileKey;
74
75 2
        return $this;
76
    }
77
78
    /**
79
     * @return string
80
     */
81
    public function getFileExtension()
82
    {
83
        return $this->fileExtension;
84
    }
85
86
    /**
87
     * @param string $fileExtension
88
     *
89
     * @return VideoDownloadInfo
90
     */
91 2
    public function setFileExtension($fileExtension)
92
    {
93 2
        $this->fileExtension = $fileExtension;
94
95 2
        return $this;
96
    }
97
98
    /**
99
     * @return string
100
     */
101
    public function getUrl()
102
    {
103
        return $this->url;
104
    }
105
106
    /**
107
     * @param string $url
108
     *
109
     * @return VideoDownloadInfo
110
     */
111 2
    public function setUrl($url)
112
    {
113 2
        $this->url = $url;
114
115 2
        return $this;
116
    }
117
118
    /**
119
     * @return int
120
     */
121
    public function getFileSize()
122
    {
123
        return $this->fileSize;
124
    }
125
126
    /**
127
     * @param int $fileSize
128
     *
129
     * @return VideoDownloadInfo
130
     */
131 2
    public function setFileSize($fileSize)
132
    {
133 2
        $this->fileSize = $fileSize;
134
135 2
        return $this;
136
    }
137
}
138