@alicloud/live20161101 2.3.3 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,151 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeLiveRtcRecordUsageDataResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 20
9
+ */
10
+ audioDuration?: number;
11
+ /**
12
+ * @example
13
+ * 2022-10-10T20:00:00Z
14
+ */
15
+ timestamp?: string;
16
+ /**
17
+ * @example
18
+ * 150
19
+ */
20
+ totalDuration?: number;
21
+ /**
22
+ * @example
23
+ * 10
24
+ */
25
+ v1080Duration?: number;
26
+ /**
27
+ * @example
28
+ * 30
29
+ */
30
+ v480Duration?: number;
31
+ /**
32
+ * @example
33
+ * 40
34
+ */
35
+ v720Duration?: number;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ audioDuration: 'AudioDuration',
39
+ timestamp: 'Timestamp',
40
+ totalDuration: 'TotalDuration',
41
+ v1080Duration: 'V1080Duration',
42
+ v480Duration: 'V480Duration',
43
+ v720Duration: 'V720Duration',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ audioDuration: 'number',
50
+ timestamp: 'string',
51
+ totalDuration: 'number',
52
+ v1080Duration: 'number',
53
+ v480Duration: 'number',
54
+ v720Duration: 'number',
55
+ };
56
+ }
57
+
58
+ validate() {
59
+ super.validate();
60
+ }
61
+
62
+ constructor(map?: { [key: string]: any }) {
63
+ super(map);
64
+ }
65
+ }
66
+
67
+ export class DescribeLiveRtcRecordUsageDataResponseBody extends $dara.Model {
68
+ /**
69
+ * @example
70
+ * 7fd341b3-c6fa-43e1-96b8-7295a1dd****
71
+ */
72
+ appId?: string;
73
+ /**
74
+ * @example
75
+ * 20
76
+ */
77
+ audioSummaryDuration?: number;
78
+ data?: DescribeLiveRtcRecordUsageDataResponseBodyData[];
79
+ /**
80
+ * @example
81
+ * 0
82
+ */
83
+ recordMode?: string;
84
+ /**
85
+ * @remarks
86
+ * Id of the request
87
+ *
88
+ * @example
89
+ * 16A96B9A-F2*************B92E68F4CD8
90
+ */
91
+ requestId?: string;
92
+ /**
93
+ * @example
94
+ * 150
95
+ */
96
+ totalSummaryDuration?: number;
97
+ /**
98
+ * @example
99
+ * 10
100
+ */
101
+ v1080SummaryDuration?: number;
102
+ /**
103
+ * @example
104
+ * 30
105
+ */
106
+ v480SummaryDuration?: number;
107
+ /**
108
+ * @example
109
+ * 40
110
+ */
111
+ v720SummaryDuration?: number;
112
+ static names(): { [key: string]: string } {
113
+ return {
114
+ appId: 'AppId',
115
+ audioSummaryDuration: 'AudioSummaryDuration',
116
+ data: 'Data',
117
+ recordMode: 'RecordMode',
118
+ requestId: 'RequestId',
119
+ totalSummaryDuration: 'TotalSummaryDuration',
120
+ v1080SummaryDuration: 'V1080SummaryDuration',
121
+ v480SummaryDuration: 'V480SummaryDuration',
122
+ v720SummaryDuration: 'V720SummaryDuration',
123
+ };
124
+ }
125
+
126
+ static types(): { [key: string]: any } {
127
+ return {
128
+ appId: 'string',
129
+ audioSummaryDuration: 'number',
130
+ data: { 'type': 'array', 'itemType': DescribeLiveRtcRecordUsageDataResponseBodyData },
131
+ recordMode: 'string',
132
+ requestId: 'string',
133
+ totalSummaryDuration: 'number',
134
+ v1080SummaryDuration: 'number',
135
+ v480SummaryDuration: 'number',
136
+ v720SummaryDuration: 'number',
137
+ };
138
+ }
139
+
140
+ validate() {
141
+ if(Array.isArray(this.data)) {
142
+ $dara.Model.validateArray(this.data);
143
+ }
144
+ super.validate();
145
+ }
146
+
147
+ constructor(map?: { [key: string]: any }) {
148
+ super(map);
149
+ }
150
+ }
151
+
@@ -225,6 +225,7 @@ export { DescribeLiveRecordNotifyConfigResponseBodyLiveRecordNotifyConfig } from
225
225
  export { DescribeLiveRecordNotifyRecordsResponseBodyCallbackList } from './DescribeLiveRecordNotifyRecordsResponseBody';
226
226
  export { DescribeLiveRecordVodConfigsResponseBodyLiveRecordVodConfigsLiveRecordVodConfig } from './DescribeLiveRecordVodConfigsResponseBody';
227
227
  export { DescribeLiveRecordVodConfigsResponseBodyLiveRecordVodConfigs } from './DescribeLiveRecordVodConfigsResponseBody';
228
+ export { DescribeLiveRtcRecordUsageDataResponseBodyData } from './DescribeLiveRtcRecordUsageDataResponseBody';
228
229
  export { DescribeLiveShiftConfigsResponseBodyContentConfig } from './DescribeLiveShiftConfigsResponseBody';
229
230
  export { DescribeLiveShiftConfigsResponseBodyContent } from './DescribeLiveShiftConfigsResponseBody';
230
231
  export { DescribeLiveSnapshotConfigResponseBodyLiveStreamSnapshotConfigListLiveStreamSnapshotConfig } from './DescribeLiveSnapshotConfigResponseBody';
@@ -1146,6 +1147,9 @@ export { DescribeLiveRecordNotifyRecordsResponse } from './DescribeLiveRecordNot
1146
1147
  export { DescribeLiveRecordVodConfigsRequest } from './DescribeLiveRecordVodConfigsRequest';
1147
1148
  export { DescribeLiveRecordVodConfigsResponseBody } from './DescribeLiveRecordVodConfigsResponseBody';
1148
1149
  export { DescribeLiveRecordVodConfigsResponse } from './DescribeLiveRecordVodConfigsResponse';
1150
+ export { DescribeLiveRtcRecordUsageDataRequest } from './DescribeLiveRtcRecordUsageDataRequest';
1151
+ export { DescribeLiveRtcRecordUsageDataResponseBody } from './DescribeLiveRtcRecordUsageDataResponseBody';
1152
+ export { DescribeLiveRtcRecordUsageDataResponse } from './DescribeLiveRtcRecordUsageDataResponse';
1149
1153
  export { DescribeLiveShiftConfigsRequest } from './DescribeLiveShiftConfigsRequest';
1150
1154
  export { DescribeLiveShiftConfigsResponseBody } from './DescribeLiveShiftConfigsResponseBody';
1151
1155
  export { DescribeLiveShiftConfigsResponse } from './DescribeLiveShiftConfigsResponse';