-
Notifications
You must be signed in to change notification settings - Fork 10
/
BitmovinApi.ts
37 lines (35 loc) · 1.29 KB
/
BitmovinApi.ts
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
import {BaseAPI} from './common/BaseAPI';
import Configuration from './common/Configuration';
import {map, mapArray} from './common/Mapper';
import AccountApi from './account/AccountApi';
import AnalyticsApi from './analytics/AnalyticsApi';
import EncodingApi from './encoding/EncodingApi';
import GeneralApi from './general/GeneralApi';
import NotificationsApi from './notifications/NotificationsApi';
import PlayerApi from './player/PlayerApi';
import StreamsApi from './streams/StreamsApi';
/**
* BitmovinApi - object-oriented interface
* @export
* @class BitmovinApi
* @extends {BaseAPI}
*/
export default class BitmovinApi extends BaseAPI {
public account: AccountApi;
public analytics: AnalyticsApi;
public encoding: EncodingApi;
public general: GeneralApi;
public notifications: NotificationsApi;
public player: PlayerApi;
public streams: StreamsApi;
constructor(configuration: Configuration) {
super(configuration);
this.account = new AccountApi(configuration);
this.analytics = new AnalyticsApi(configuration);
this.encoding = new EncodingApi(configuration);
this.general = new GeneralApi(configuration);
this.notifications = new NotificationsApi(configuration);
this.player = new PlayerApi(configuration);
this.streams = new StreamsApi(configuration);
}
}