This repository has been archived by the owner on Jan 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
video.js.html
86 lines (65 loc) · 3.23 KB
/
video.js.html
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Source: entities/video.js</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Source: entities/video.js</h1>
<section>
<article>
<pre class="prettyprint source"><code>/**
* Class describes video-specific fields and request logic
* @namespace LGI.Guide.entities
* @class Video
* @extends EntityBase
*/
LGI.Guide.Video = function () {
EntityBase.call(this);
if (LGI.Guide.config.region === undefined) {
console.warn('Please, specify region before sending requests to Video endpoint.');
}
};
LGI.Guide.Video.ID = new RootChangingField('id', 'videos');
LGI.Guide.Video.TITLE = new TextField('title');
LGI.Guide.Video.SYNOPSIS = new TextField('synopsis');
LGI.Guide.Video.CATEGORY = new TextField('category');
LGI.Guide.Video.SEASON = new NumericField('season');
LGI.Guide.Video.EPISODE = new NumericField('episode');
LGI.Guide.Video.CRID = new TextField('crid');
LGI.Guide.Video.STATISTICS = new TextField('statistics');
LGI.Guide.Video.AGE_RATING = new TextField('ageRating');
LGI.Guide.Video.IMAGE_LINK = new TextField('imageLink');
LGI.Guide.Video.OPENGRAPH_LINK = new TextField('opengraphLink');
LGI.Guide.Video.SELF_LINK = new TextField('selfLink');
LGI.Guide.Video.CAST = new TextField('cast');
LGI.Guide.Video.DIRECTORS = new TextField('directors');
LGI.Guide.Video.WRITERS = new TextField('writers');
LGI.Guide.Video.BPM = new NumericField('statistics.bpm');
LGI.Guide.Video.POPULARITY = new NumericField('statistics.popularity');
LGI.Guide.Video.MORE_LINK = new TextField('moreLink');
LGI.Guide.utils.addFactory(LGI.Guide.Video);
LGI.Guide.Video.prototype = Object.create(EntityBase.prototype);
LGI.Guide.Video.prototype._baseURL = 'videos.json?';
LGI.Guide.Video.prototype._URLprefix = 'data/';</code></pre>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Index</a></h2><h3>Modules</h3><ul><li><a href="module-utils.html">utils</a></li></ul><h3>Classes</h3><ul><li><a href="AbstractField.html">AbstractField</a></li><li><a href="Broadcast.html">Broadcast</a></li><li><a href="Channel.html">Channel</a></li><li><a href="Collection.html">Collection</a></li><li><a href="EntityBase.html">EntityBase</a></li><li><a href="NumericField.html">NumericField</a></li><li><a href="PrependField.html">PrependField</a></li><li><a href="Region.html">Region</a></li><li><a href="Request.html">Request</a></li><li><a href="TextField.html">TextField</a></li><li><a href="Video.html">Video</a></li></ul><h3>Namespaces</h3><ul><li><a href="LGI.Guide.config.html">config</a></li></ul>
</nav>
<br clear="both">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0-dev</a> on Mon Aug 25 2014 16:57:51 GMT+0200 (CEST)
</footer>
<script> prettyPrint(); </script>
</body>
</html>