/
V1.ts
74 lines (66 loc) · 2.51 KB
/
V1.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
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
/*
* This code was generated by
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
*
* Twilio - Insights
* This is the public Twilio REST API.
*
* NOTE: This class is auto generated by OpenAPI Generator.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import InsightsBase from "../InsightsBase";
import Version from "../../base/Version";
import { CallListInstance } from "./v1/call";
import { CallSummariesListInstance } from "./v1/callSummaries";
import { ConferenceListInstance } from "./v1/conference";
import { RoomListInstance } from "./v1/room";
import { SettingListInstance } from "./v1/setting";
export default class V1 extends Version {
/**
* Initialize the V1 version of Insights
*
* @param domain - The Twilio (Twilio.Insights) domain
*/
constructor(domain: InsightsBase) {
super(domain, "v1");
}
/** calls - { Twilio.Insights.V1.CallListInstance } resource */
protected _calls?: CallListInstance;
/** callSummaries - { Twilio.Insights.V1.CallSummariesListInstance } resource */
protected _callSummaries?: CallSummariesListInstance;
/** conferences - { Twilio.Insights.V1.ConferenceListInstance } resource */
protected _conferences?: ConferenceListInstance;
/** rooms - { Twilio.Insights.V1.RoomListInstance } resource */
protected _rooms?: RoomListInstance;
/** settings - { Twilio.Insights.V1.SettingListInstance } resource */
protected _settings?: SettingListInstance;
/** Getter for calls resource */
get calls(): CallListInstance {
this._calls = this._calls || CallListInstance(this);
return this._calls;
}
/** Getter for callSummaries resource */
get callSummaries(): CallSummariesListInstance {
this._callSummaries =
this._callSummaries || CallSummariesListInstance(this);
return this._callSummaries;
}
/** Getter for conferences resource */
get conferences(): ConferenceListInstance {
this._conferences = this._conferences || ConferenceListInstance(this);
return this._conferences;
}
/** Getter for rooms resource */
get rooms(): RoomListInstance {
this._rooms = this._rooms || RoomListInstance(this);
return this._rooms;
}
/** Getter for settings resource */
get settings(): SettingListInstance {
this._settings = this._settings || SettingListInstance(this);
return this._settings;
}
}