Completed
Pull Request — master (#15)
by Nikita
24:53
created

VideoDownloadUrl::setQuality()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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