Passed
Pull Request — master (#63)
by
unknown
03:31
created

VideoDownloadUrl::getFileExtension()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace MovingImage\Client\VMPro\Entity;
4
5
use JMS\Serializer\Annotation\Type;
6
use MovingImage\Meta\Interfaces\VideoDownloadUrlInterface;
7
8
/**
9
 * Class VideoDownloadUrl.
10
 */
11
class VideoDownloadUrl implements VideoDownloadUrlInterface
12
{
13
    /**
14
     * @Type("string")
15
     */
16
    private $quality;
17
18
    /**
19
     * @Type("string")
20
     */
21
    private $profileKey;
22
23
    /**
24
     * @Type("string")
25
     */
26
    private $fileExtension;
27
28
    /**
29
     * @Type("string")
30
     */
31
    private $url;
32
33
    /**
34
     * @Type("integer")
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 VideoDownloadUrl
50
     */
51
    public function setQuality($quality)
52
    {
53
        $this->quality = $quality;
54
55
        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 VideoDownloadUrl
70
     */
71
    public function setProfileKey($profileKey)
72
    {
73
        $this->profileKey = $profileKey;
74
75
        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 VideoDownloadUrl
90
     */
91
    public function setFileExtension($fileExtension)
92
    {
93
        $this->fileExtension = $fileExtension;
94
95
        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 VideoDownloadUrl
110
     */
111
    public function setUrl($url)
112
    {
113
        $this->url = $url;
114
115
        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 VideoDownloadUrl
130
     */
131
    public function setFileSize($fileSize)
132
    {
133
        $this->fileSize = $fileSize;
134
135
        return $this;
136
    }
137
}
138