forked from add-ons/plugin.video.vrt.nu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
apidata.py
45 lines (34 loc) · 1.08 KB
/
apidata.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# -*- coding: utf-8 -*-
# GNU General Public License v3.0 (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
class ApiData:
def __init__(self, client, media_api_url, video_id, publication_id, xvrttoken, is_live_stream):
self._client = client
self._media_api_url = media_api_url
self._video_id = video_id
self._publication_id = publication_id
self._xvrttoken = xvrttoken
self._is_live_stream = is_live_stream
@property
def client(self):
return self._client
@property
def media_api_url(self):
return self._media_api_url
@property
def video_id(self):
return self._video_id
@property
def publication_id(self):
return self._publication_id
@property
def xvrttoken(self):
return self._xvrttoken
@xvrttoken.setter
def xvrttoken(self, value):
self._xvrttoken = value
@property
def is_live_stream(self):
return self._is_live_stream
@is_live_stream.setter
def is_live_stream(self, value):
self._is_live_stream = value