@huaweicloud/huaweicloud-sdk-cloudrtc 3.1.43
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.
- package/LICENSE +13 -0
- package/README.md +1 -0
- package/huaweicloud-sdk-cloudrtc.d.ts +3 -0
- package/huaweicloud-sdk-cloudrtc.js +32 -0
- package/package.json +19 -0
- package/v1/CloudRTCClient.d.ts +469 -0
- package/v1/CloudRTCClient.js +1444 -0
- package/v1/CloudRTCRegion.d.ts +5 -0
- package/v1/CloudRTCRegion.js +23 -0
- package/v1/model/AbnormalEvent.d.ts +35 -0
- package/v1/model/AbnormalEvent.js +119 -0
- package/v1/model/AbnormalEventDimensionValue.d.ts +23 -0
- package/v1/model/AbnormalEventDimensionValue.js +84 -0
- package/v1/model/ListRtcAbnormalEventDimensionRequest.d.ts +27 -0
- package/v1/model/ListRtcAbnormalEventDimensionRequest.js +69 -0
- package/v1/model/ListRtcAbnormalEventDimensionResponse.d.ts +11 -0
- package/v1/model/ListRtcAbnormalEventDimensionResponse.js +45 -0
- package/v1/model/ListRtcAbnormalEventsRequest.d.ts +23 -0
- package/v1/model/ListRtcAbnormalEventsRequest.js +68 -0
- package/v1/model/ListRtcAbnormalEventsResponse.d.ts +13 -0
- package/v1/model/ListRtcAbnormalEventsResponse.js +49 -0
- package/v1/model/ListRtcClientQosDetailsRequest.d.ts +86 -0
- package/v1/model/ListRtcClientQosDetailsRequest.js +218 -0
- package/v1/model/ListRtcClientQosDetailsResponse.d.ts +15 -0
- package/v1/model/ListRtcClientQosDetailsResponse.js +59 -0
- package/v1/model/ListRtcHistoryQualityRequest.d.ts +27 -0
- package/v1/model/ListRtcHistoryQualityRequest.js +89 -0
- package/v1/model/ListRtcHistoryQualityResponse.d.ts +11 -0
- package/v1/model/ListRtcHistoryQualityResponse.js +45 -0
- package/v1/model/ListRtcHistoryScaleRequest.d.ts +27 -0
- package/v1/model/ListRtcHistoryScaleRequest.js +89 -0
- package/v1/model/ListRtcHistoryScaleResponse.d.ts +11 -0
- package/v1/model/ListRtcHistoryScaleResponse.js +45 -0
- package/v1/model/ListRtcHistoryUsageRequest.d.ts +27 -0
- package/v1/model/ListRtcHistoryUsageRequest.js +91 -0
- package/v1/model/ListRtcHistoryUsageResponse.d.ts +11 -0
- package/v1/model/ListRtcHistoryUsageResponse.js +45 -0
- package/v1/model/ListRtcRealtimeNetworkRequest.d.ts +35 -0
- package/v1/model/ListRtcRealtimeNetworkRequest.js +118 -0
- package/v1/model/ListRtcRealtimeNetworkResponse.d.ts +11 -0
- package/v1/model/ListRtcRealtimeNetworkResponse.js +45 -0
- package/v1/model/ListRtcRealtimeQualityRequest.d.ts +35 -0
- package/v1/model/ListRtcRealtimeQualityRequest.js +118 -0
- package/v1/model/ListRtcRealtimeQualityResponse.d.ts +11 -0
- package/v1/model/ListRtcRealtimeQualityResponse.js +45 -0
- package/v1/model/ListRtcRealtimeScaleDimensionRequest.d.ts +27 -0
- package/v1/model/ListRtcRealtimeScaleDimensionRequest.js +85 -0
- package/v1/model/ListRtcRealtimeScaleDimensionResponse.d.ts +11 -0
- package/v1/model/ListRtcRealtimeScaleDimensionResponse.js +45 -0
- package/v1/model/ListRtcRealtimeScaleRequest.d.ts +31 -0
- package/v1/model/ListRtcRealtimeScaleRequest.js +103 -0
- package/v1/model/ListRtcRealtimeScaleResponse.d.ts +11 -0
- package/v1/model/ListRtcRealtimeScaleResponse.js +45 -0
- package/v1/model/ListRtcRoomListRequest.d.ts +43 -0
- package/v1/model/ListRtcRoomListRequest.js +119 -0
- package/v1/model/ListRtcRoomListResponse.d.ts +19 -0
- package/v1/model/ListRtcRoomListResponse.js +67 -0
- package/v1/model/ListRtcUserListRequest.d.ts +53 -0
- package/v1/model/ListRtcUserListRequest.js +139 -0
- package/v1/model/ListRtcUserListResponse.d.ts +17 -0
- package/v1/model/ListRtcUserListResponse.js +57 -0
- package/v1/model/QosQualityData.d.ts +12 -0
- package/v1/model/QosQualityData.js +25 -0
- package/v1/model/RealtimeScaleDimensionValue.d.ts +9 -0
- package/v1/model/RealtimeScaleDimensionValue.js +27 -0
- package/v1/model/RtcHistoryQualityTimeValue.d.ts +61 -0
- package/v1/model/RtcHistoryQualityTimeValue.js +209 -0
- package/v1/model/RtcHistoryScaleTimeValue.d.ts +37 -0
- package/v1/model/RtcHistoryScaleTimeValue.js +125 -0
- package/v1/model/RtcHistoryUsage.d.ts +23 -0
- package/v1/model/RtcHistoryUsage.js +73 -0
- package/v1/model/RtcServerRoomInfo.d.ts +31 -0
- package/v1/model/RtcServerRoomInfo.js +76 -0
- package/v1/model/RtcUser.d.ts +52 -0
- package/v1/model/RtcUser.js +129 -0
- package/v1/model/TimeDoubleValueData.d.ts +7 -0
- package/v1/model/TimeDoubleValueData.js +17 -0
- package/v1/model/TimeFloatValueData.d.ts +7 -0
- package/v1/model/TimeFloatValueData.js +17 -0
- package/v1/model/TimeValueData.d.ts +7 -0
- package/v1/model/TimeValueData.js +17 -0
- package/v1/public-api.d.ts +38 -0
- package/v1/public-api.js +54 -0
- package/v2/CloudRTCClient.d.ts +906 -0
- package/v2/CloudRTCClient.js +2196 -0
- package/v2/CloudRTCRegion.d.ts +5 -0
- package/v2/CloudRTCRegion.js +23 -0
- package/v2/model/App.d.ts +46 -0
- package/v2/model/App.js +109 -0
- package/v2/model/AppAuth.d.ts +15 -0
- package/v2/model/AppAuth.js +45 -0
- package/v2/model/AppAuthReq.d.ts +7 -0
- package/v2/model/AppAuthReq.js +18 -0
- package/v2/model/AppAutoRecordMode.d.ts +21 -0
- package/v2/model/AppAutoRecordMode.js +51 -0
- package/v2/model/AppCallbackUrl.d.ts +25 -0
- package/v2/model/AppCallbackUrl.js +64 -0
- package/v2/model/AppCallbackUrlReq.d.ts +9 -0
- package/v2/model/AppCallbackUrlReq.js +28 -0
- package/v2/model/AppCallbacks.d.ts +12 -0
- package/v2/model/AppCallbacks.js +37 -0
- package/v2/model/AppReq.d.ts +7 -0
- package/v2/model/AppReq.js +24 -0
- package/v2/model/AppState.d.ts +19 -0
- package/v2/model/AppState.js +38 -0
- package/v2/model/AutoRecordModeReq.d.ts +17 -0
- package/v2/model/AutoRecordModeReq.js +37 -0
- package/v2/model/CreateAppRequest.d.ts +18 -0
- package/v2/model/CreateAppRequest.js +55 -0
- package/v2/model/CreateAppResponse.d.ts +12 -0
- package/v2/model/CreateAppResponse.js +55 -0
- package/v2/model/CreateIndividualStreamJobRequest.d.ts +22 -0
- package/v2/model/CreateIndividualStreamJobRequest.js +70 -0
- package/v2/model/CreateIndividualStreamJobResponse.d.ts +110 -0
- package/v2/model/CreateIndividualStreamJobResponse.js +300 -0
- package/v2/model/CreateMixJobRequest.d.ts +22 -0
- package/v2/model/CreateMixJobRequest.js +70 -0
- package/v2/model/CreateMixJobResponse.d.ts +76 -0
- package/v2/model/CreateMixJobResponse.js +223 -0
- package/v2/model/CreateRecordRuleRequest.d.ts +22 -0
- package/v2/model/CreateRecordRuleRequest.js +70 -0
- package/v2/model/CreateRecordRuleResponse.d.ts +51 -0
- package/v2/model/CreateRecordRuleResponse.js +162 -0
- package/v2/model/DeleteAppRequest.d.ts +19 -0
- package/v2/model/DeleteAppRequest.js +66 -0
- package/v2/model/DeleteAppResponse.d.ts +8 -0
- package/v2/model/DeleteAppResponse.js +41 -0
- package/v2/model/DeleteRecordRuleRequest.d.ts +23 -0
- package/v2/model/DeleteRecordRuleRequest.js +81 -0
- package/v2/model/DeleteRecordRuleResponse.d.ts +8 -0
- package/v2/model/DeleteRecordRuleResponse.js +41 -0
- package/v2/model/HLSRecordConfig.d.ts +19 -0
- package/v2/model/HLSRecordConfig.js +66 -0
- package/v2/model/IndividualStreamJobReq.d.ts +55 -0
- package/v2/model/IndividualStreamJobReq.js +143 -0
- package/v2/model/ListAppsRequest.d.ts +30 -0
- package/v2/model/ListAppsRequest.js +73 -0
- package/v2/model/ListAppsResponse.d.ts +13 -0
- package/v2/model/ListAppsResponse.js +49 -0
- package/v2/model/ListRecordRulesRequest.d.ts +23 -0
- package/v2/model/ListRecordRulesRequest.js +74 -0
- package/v2/model/ListRecordRulesResponse.d.ts +11 -0
- package/v2/model/ListRecordRulesResponse.js +45 -0
- package/v2/model/MP4RecordConfig.d.ts +15 -0
- package/v2/model/MP4RecordConfig.js +52 -0
- package/v2/model/MixJobReq.d.ts +18 -0
- package/v2/model/MixJobReq.js +52 -0
- package/v2/model/MixLayoutPane.d.ts +55 -0
- package/v2/model/MixLayoutPane.js +116 -0
- package/v2/model/MixParam.d.ts +60 -0
- package/v2/model/MixParam.js +157 -0
- package/v2/model/MixUserBackgroundImage.d.ts +11 -0
- package/v2/model/MixUserBackgroundImage.js +39 -0
- package/v2/model/PublishParam.d.ts +7 -0
- package/v2/model/PublishParam.js +24 -0
- package/v2/model/RecordObsFileAddr.d.ts +22 -0
- package/v2/model/RecordObsFileAddr.js +56 -0
- package/v2/model/RecordParam.d.ts +7 -0
- package/v2/model/RecordParam.js +24 -0
- package/v2/model/RecordRule.d.ts +46 -0
- package/v2/model/RecordRule.js +130 -0
- package/v2/model/RecordRuleReq.d.ts +30 -0
- package/v2/model/RecordRuleReq.js +76 -0
- package/v2/model/RemoveRoomRequest.d.ts +23 -0
- package/v2/model/RemoveRoomRequest.js +81 -0
- package/v2/model/RemoveRoomResponse.d.ts +8 -0
- package/v2/model/RemoveRoomResponse.js +41 -0
- package/v2/model/RemoveUsersReq.d.ts +7 -0
- package/v2/model/RemoveUsersReq.js +24 -0
- package/v2/model/RemoveUsersRequest.d.ts +26 -0
- package/v2/model/RemoveUsersRequest.js +85 -0
- package/v2/model/RemoveUsersResponse.d.ts +8 -0
- package/v2/model/RemoveUsersResponse.js +41 -0
- package/v2/model/ShowAppRequest.d.ts +19 -0
- package/v2/model/ShowAppRequest.js +66 -0
- package/v2/model/ShowAppResponse.d.ts +51 -0
- package/v2/model/ShowAppResponse.js +141 -0
- package/v2/model/ShowAutoRecordRequest.d.ts +19 -0
- package/v2/model/ShowAutoRecordRequest.js +66 -0
- package/v2/model/ShowAutoRecordResponse.d.ts +17 -0
- package/v2/model/ShowAutoRecordResponse.js +69 -0
- package/v2/model/ShowIndividualStreamJobRequest.d.ts +23 -0
- package/v2/model/ShowIndividualStreamJobRequest.js +81 -0
- package/v2/model/ShowIndividualStreamJobResponse.d.ts +110 -0
- package/v2/model/ShowIndividualStreamJobResponse.js +300 -0
- package/v2/model/ShowMixJobRequest.d.ts +23 -0
- package/v2/model/ShowMixJobRequest.js +81 -0
- package/v2/model/ShowMixJobResponse.d.ts +76 -0
- package/v2/model/ShowMixJobResponse.js +223 -0
- package/v2/model/ShowRecordCallbackRequest.d.ts +19 -0
- package/v2/model/ShowRecordCallbackRequest.js +66 -0
- package/v2/model/ShowRecordCallbackResponse.d.ts +17 -0
- package/v2/model/ShowRecordCallbackResponse.js +69 -0
- package/v2/model/ShowRecordRuleRequest.d.ts +23 -0
- package/v2/model/ShowRecordRuleRequest.js +81 -0
- package/v2/model/ShowRecordRuleResponse.d.ts +51 -0
- package/v2/model/ShowRecordRuleResponse.js +162 -0
- package/v2/model/ShowUrlAuthRequest.d.ts +19 -0
- package/v2/model/ShowUrlAuthRequest.js +66 -0
- package/v2/model/ShowUrlAuthResponse.d.ts +15 -0
- package/v2/model/ShowUrlAuthResponse.js +59 -0
- package/v2/model/StartAppRequest.d.ts +19 -0
- package/v2/model/StartAppRequest.js +66 -0
- package/v2/model/StartAppResponse.d.ts +15 -0
- package/v2/model/StartAppResponse.js +59 -0
- package/v2/model/StopAppRequest.d.ts +19 -0
- package/v2/model/StopAppRequest.js +66 -0
- package/v2/model/StopAppResponse.d.ts +15 -0
- package/v2/model/StopAppResponse.js +59 -0
- package/v2/model/StopIndividualStreamJobRequest.d.ts +23 -0
- package/v2/model/StopIndividualStreamJobRequest.js +81 -0
- package/v2/model/StopIndividualStreamJobResponse.d.ts +8 -0
- package/v2/model/StopIndividualStreamJobResponse.js +41 -0
- package/v2/model/StopMixJobRequest.d.ts +23 -0
- package/v2/model/StopMixJobRequest.js +81 -0
- package/v2/model/StopMixJobResponse.d.ts +8 -0
- package/v2/model/StopMixJobResponse.js +41 -0
- package/v2/model/UpdateAutoRecordRequest.d.ts +22 -0
- package/v2/model/UpdateAutoRecordRequest.js +70 -0
- package/v2/model/UpdateAutoRecordResponse.d.ts +17 -0
- package/v2/model/UpdateAutoRecordResponse.js +69 -0
- package/v2/model/UpdateIndividualJobReq.d.ts +13 -0
- package/v2/model/UpdateIndividualJobReq.js +37 -0
- package/v2/model/UpdateIndividualStreamJobRequest.d.ts +26 -0
- package/v2/model/UpdateIndividualStreamJobRequest.js +85 -0
- package/v2/model/UpdateIndividualStreamJobResponse.d.ts +110 -0
- package/v2/model/UpdateIndividualStreamJobResponse.js +300 -0
- package/v2/model/UpdateMixJobReq.d.ts +8 -0
- package/v2/model/UpdateMixJobReq.js +24 -0
- package/v2/model/UpdateMixJobRequest.d.ts +26 -0
- package/v2/model/UpdateMixJobRequest.js +85 -0
- package/v2/model/UpdateMixJobResponse.d.ts +76 -0
- package/v2/model/UpdateMixJobResponse.js +223 -0
- package/v2/model/UpdateMixParam.d.ts +33 -0
- package/v2/model/UpdateMixParam.js +107 -0
- package/v2/model/UpdateRecordCallbackRequest.d.ts +22 -0
- package/v2/model/UpdateRecordCallbackRequest.js +70 -0
- package/v2/model/UpdateRecordCallbackResponse.d.ts +17 -0
- package/v2/model/UpdateRecordCallbackResponse.js +69 -0
- package/v2/model/UpdateRecordRuleRequest.d.ts +26 -0
- package/v2/model/UpdateRecordRuleRequest.js +85 -0
- package/v2/model/UpdateRecordRuleResponse.d.ts +51 -0
- package/v2/model/UpdateRecordRuleResponse.js +162 -0
- package/v2/model/UpdateUrlAuthRequest.d.ts +22 -0
- package/v2/model/UpdateUrlAuthRequest.js +70 -0
- package/v2/model/UpdateUrlAuthResponse.d.ts +15 -0
- package/v2/model/UpdateUrlAuthResponse.js +59 -0
- package/v2/public-api.d.ts +82 -0
- package/v2/public-api.js +98 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListRtcRealtimeScaleDimensionRequest = void 0;
|
|
4
|
+
var ListRtcRealtimeScaleDimensionRequest = /** @class */ (function () {
|
|
5
|
+
function ListRtcRealtimeScaleDimensionRequest(app, metric, dimension, time) {
|
|
6
|
+
this['app'] = app;
|
|
7
|
+
this['metric'] = metric;
|
|
8
|
+
this['dimension'] = dimension;
|
|
9
|
+
this['time'] = time;
|
|
10
|
+
}
|
|
11
|
+
ListRtcRealtimeScaleDimensionRequest.prototype.withAuthorization = function (authorization) {
|
|
12
|
+
this['Authorization'] = authorization;
|
|
13
|
+
return this;
|
|
14
|
+
};
|
|
15
|
+
Object.defineProperty(ListRtcRealtimeScaleDimensionRequest.prototype, "authorization", {
|
|
16
|
+
get: function () {
|
|
17
|
+
return this['Authorization'];
|
|
18
|
+
},
|
|
19
|
+
set: function (authorization) {
|
|
20
|
+
this['Authorization'] = authorization;
|
|
21
|
+
},
|
|
22
|
+
enumerable: false,
|
|
23
|
+
configurable: true
|
|
24
|
+
});
|
|
25
|
+
ListRtcRealtimeScaleDimensionRequest.prototype.withXSdkDate = function (xSdkDate) {
|
|
26
|
+
this['X-Sdk-Date'] = xSdkDate;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(ListRtcRealtimeScaleDimensionRequest.prototype, "xSdkDate", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['X-Sdk-Date'];
|
|
32
|
+
},
|
|
33
|
+
set: function (xSdkDate) {
|
|
34
|
+
this['X-Sdk-Date'] = xSdkDate;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
ListRtcRealtimeScaleDimensionRequest.prototype.withXProjectId = function (xProjectId) {
|
|
40
|
+
this['X-Project-Id'] = xProjectId;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(ListRtcRealtimeScaleDimensionRequest.prototype, "xProjectId", {
|
|
44
|
+
get: function () {
|
|
45
|
+
return this['X-Project-Id'];
|
|
46
|
+
},
|
|
47
|
+
set: function (xProjectId) {
|
|
48
|
+
this['X-Project-Id'] = xProjectId;
|
|
49
|
+
},
|
|
50
|
+
enumerable: false,
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
ListRtcRealtimeScaleDimensionRequest.prototype.withApp = function (app) {
|
|
54
|
+
this['app'] = app;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
ListRtcRealtimeScaleDimensionRequest.prototype.withRoomId = function (roomId) {
|
|
58
|
+
this['room_id'] = roomId;
|
|
59
|
+
return this;
|
|
60
|
+
};
|
|
61
|
+
Object.defineProperty(ListRtcRealtimeScaleDimensionRequest.prototype, "roomId", {
|
|
62
|
+
get: function () {
|
|
63
|
+
return this['room_id'];
|
|
64
|
+
},
|
|
65
|
+
set: function (roomId) {
|
|
66
|
+
this['room_id'] = roomId;
|
|
67
|
+
},
|
|
68
|
+
enumerable: false,
|
|
69
|
+
configurable: true
|
|
70
|
+
});
|
|
71
|
+
ListRtcRealtimeScaleDimensionRequest.prototype.withMetric = function (metric) {
|
|
72
|
+
this['metric'] = metric;
|
|
73
|
+
return this;
|
|
74
|
+
};
|
|
75
|
+
ListRtcRealtimeScaleDimensionRequest.prototype.withDimension = function (dimension) {
|
|
76
|
+
this['dimension'] = dimension;
|
|
77
|
+
return this;
|
|
78
|
+
};
|
|
79
|
+
ListRtcRealtimeScaleDimensionRequest.prototype.withTime = function (time) {
|
|
80
|
+
this['time'] = time;
|
|
81
|
+
return this;
|
|
82
|
+
};
|
|
83
|
+
return ListRtcRealtimeScaleDimensionRequest;
|
|
84
|
+
}());
|
|
85
|
+
exports.ListRtcRealtimeScaleDimensionRequest = ListRtcRealtimeScaleDimensionRequest;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RealtimeScaleDimensionValue } from './RealtimeScaleDimensionValue';
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
export declare class ListRtcRealtimeScaleDimensionResponse extends SdkResponse {
|
|
4
|
+
dimensions?: Array<RealtimeScaleDimensionValue>;
|
|
5
|
+
private 'X-request-id'?;
|
|
6
|
+
constructor();
|
|
7
|
+
withDimensions(dimensions: Array<RealtimeScaleDimensionValue>): ListRtcRealtimeScaleDimensionResponse;
|
|
8
|
+
withXRequestId(xRequestId: string): ListRtcRealtimeScaleDimensionResponse;
|
|
9
|
+
set xRequestId(xRequestId: string | undefined);
|
|
10
|
+
get xRequestId(): string | undefined;
|
|
11
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ListRtcRealtimeScaleDimensionResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var ListRtcRealtimeScaleDimensionResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(ListRtcRealtimeScaleDimensionResponse, _super);
|
|
22
|
+
function ListRtcRealtimeScaleDimensionResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
ListRtcRealtimeScaleDimensionResponse.prototype.withDimensions = function (dimensions) {
|
|
26
|
+
this['dimensions'] = dimensions;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
ListRtcRealtimeScaleDimensionResponse.prototype.withXRequestId = function (xRequestId) {
|
|
30
|
+
this['X-request-id'] = xRequestId;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(ListRtcRealtimeScaleDimensionResponse.prototype, "xRequestId", {
|
|
34
|
+
get: function () {
|
|
35
|
+
return this['X-request-id'];
|
|
36
|
+
},
|
|
37
|
+
set: function (xRequestId) {
|
|
38
|
+
this['X-request-id'] = xRequestId;
|
|
39
|
+
},
|
|
40
|
+
enumerable: false,
|
|
41
|
+
configurable: true
|
|
42
|
+
});
|
|
43
|
+
return ListRtcRealtimeScaleDimensionResponse;
|
|
44
|
+
}(SdkResponse_1.SdkResponse));
|
|
45
|
+
exports.ListRtcRealtimeScaleDimensionResponse = ListRtcRealtimeScaleDimensionResponse;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare class ListRtcRealtimeScaleRequest {
|
|
2
|
+
private 'Authorization'?;
|
|
3
|
+
private 'X-Sdk-Date'?;
|
|
4
|
+
private 'X-Project-Id'?;
|
|
5
|
+
app: string;
|
|
6
|
+
private 'room_id'?;
|
|
7
|
+
metric: string;
|
|
8
|
+
private 'start_time'?;
|
|
9
|
+
private 'end_time'?;
|
|
10
|
+
constructor(app?: any, metric?: any);
|
|
11
|
+
withAuthorization(authorization: string): ListRtcRealtimeScaleRequest;
|
|
12
|
+
set authorization(authorization: string | undefined);
|
|
13
|
+
get authorization(): string | undefined;
|
|
14
|
+
withXSdkDate(xSdkDate: string): ListRtcRealtimeScaleRequest;
|
|
15
|
+
set xSdkDate(xSdkDate: string | undefined);
|
|
16
|
+
get xSdkDate(): string | undefined;
|
|
17
|
+
withXProjectId(xProjectId: string): ListRtcRealtimeScaleRequest;
|
|
18
|
+
set xProjectId(xProjectId: string | undefined);
|
|
19
|
+
get xProjectId(): string | undefined;
|
|
20
|
+
withApp(app: string): ListRtcRealtimeScaleRequest;
|
|
21
|
+
withRoomId(roomId: string): ListRtcRealtimeScaleRequest;
|
|
22
|
+
set roomId(roomId: string | undefined);
|
|
23
|
+
get roomId(): string | undefined;
|
|
24
|
+
withMetric(metric: string): ListRtcRealtimeScaleRequest;
|
|
25
|
+
withStartTime(startTime: string): ListRtcRealtimeScaleRequest;
|
|
26
|
+
set startTime(startTime: string | undefined);
|
|
27
|
+
get startTime(): string | undefined;
|
|
28
|
+
withEndTime(endTime: string): ListRtcRealtimeScaleRequest;
|
|
29
|
+
set endTime(endTime: string | undefined);
|
|
30
|
+
get endTime(): string | undefined;
|
|
31
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListRtcRealtimeScaleRequest = void 0;
|
|
4
|
+
var ListRtcRealtimeScaleRequest = /** @class */ (function () {
|
|
5
|
+
function ListRtcRealtimeScaleRequest(app, metric) {
|
|
6
|
+
this['app'] = app;
|
|
7
|
+
this['metric'] = metric;
|
|
8
|
+
}
|
|
9
|
+
ListRtcRealtimeScaleRequest.prototype.withAuthorization = function (authorization) {
|
|
10
|
+
this['Authorization'] = authorization;
|
|
11
|
+
return this;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(ListRtcRealtimeScaleRequest.prototype, "authorization", {
|
|
14
|
+
get: function () {
|
|
15
|
+
return this['Authorization'];
|
|
16
|
+
},
|
|
17
|
+
set: function (authorization) {
|
|
18
|
+
this['Authorization'] = authorization;
|
|
19
|
+
},
|
|
20
|
+
enumerable: false,
|
|
21
|
+
configurable: true
|
|
22
|
+
});
|
|
23
|
+
ListRtcRealtimeScaleRequest.prototype.withXSdkDate = function (xSdkDate) {
|
|
24
|
+
this['X-Sdk-Date'] = xSdkDate;
|
|
25
|
+
return this;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(ListRtcRealtimeScaleRequest.prototype, "xSdkDate", {
|
|
28
|
+
get: function () {
|
|
29
|
+
return this['X-Sdk-Date'];
|
|
30
|
+
},
|
|
31
|
+
set: function (xSdkDate) {
|
|
32
|
+
this['X-Sdk-Date'] = xSdkDate;
|
|
33
|
+
},
|
|
34
|
+
enumerable: false,
|
|
35
|
+
configurable: true
|
|
36
|
+
});
|
|
37
|
+
ListRtcRealtimeScaleRequest.prototype.withXProjectId = function (xProjectId) {
|
|
38
|
+
this['X-Project-Id'] = xProjectId;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
Object.defineProperty(ListRtcRealtimeScaleRequest.prototype, "xProjectId", {
|
|
42
|
+
get: function () {
|
|
43
|
+
return this['X-Project-Id'];
|
|
44
|
+
},
|
|
45
|
+
set: function (xProjectId) {
|
|
46
|
+
this['X-Project-Id'] = xProjectId;
|
|
47
|
+
},
|
|
48
|
+
enumerable: false,
|
|
49
|
+
configurable: true
|
|
50
|
+
});
|
|
51
|
+
ListRtcRealtimeScaleRequest.prototype.withApp = function (app) {
|
|
52
|
+
this['app'] = app;
|
|
53
|
+
return this;
|
|
54
|
+
};
|
|
55
|
+
ListRtcRealtimeScaleRequest.prototype.withRoomId = function (roomId) {
|
|
56
|
+
this['room_id'] = roomId;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
Object.defineProperty(ListRtcRealtimeScaleRequest.prototype, "roomId", {
|
|
60
|
+
get: function () {
|
|
61
|
+
return this['room_id'];
|
|
62
|
+
},
|
|
63
|
+
set: function (roomId) {
|
|
64
|
+
this['room_id'] = roomId;
|
|
65
|
+
},
|
|
66
|
+
enumerable: false,
|
|
67
|
+
configurable: true
|
|
68
|
+
});
|
|
69
|
+
ListRtcRealtimeScaleRequest.prototype.withMetric = function (metric) {
|
|
70
|
+
this['metric'] = metric;
|
|
71
|
+
return this;
|
|
72
|
+
};
|
|
73
|
+
ListRtcRealtimeScaleRequest.prototype.withStartTime = function (startTime) {
|
|
74
|
+
this['start_time'] = startTime;
|
|
75
|
+
return this;
|
|
76
|
+
};
|
|
77
|
+
Object.defineProperty(ListRtcRealtimeScaleRequest.prototype, "startTime", {
|
|
78
|
+
get: function () {
|
|
79
|
+
return this['start_time'];
|
|
80
|
+
},
|
|
81
|
+
set: function (startTime) {
|
|
82
|
+
this['start_time'] = startTime;
|
|
83
|
+
},
|
|
84
|
+
enumerable: false,
|
|
85
|
+
configurable: true
|
|
86
|
+
});
|
|
87
|
+
ListRtcRealtimeScaleRequest.prototype.withEndTime = function (endTime) {
|
|
88
|
+
this['end_time'] = endTime;
|
|
89
|
+
return this;
|
|
90
|
+
};
|
|
91
|
+
Object.defineProperty(ListRtcRealtimeScaleRequest.prototype, "endTime", {
|
|
92
|
+
get: function () {
|
|
93
|
+
return this['end_time'];
|
|
94
|
+
},
|
|
95
|
+
set: function (endTime) {
|
|
96
|
+
this['end_time'] = endTime;
|
|
97
|
+
},
|
|
98
|
+
enumerable: false,
|
|
99
|
+
configurable: true
|
|
100
|
+
});
|
|
101
|
+
return ListRtcRealtimeScaleRequest;
|
|
102
|
+
}());
|
|
103
|
+
exports.ListRtcRealtimeScaleRequest = ListRtcRealtimeScaleRequest;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TimeValueData } from './TimeValueData';
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
export declare class ListRtcRealtimeScaleResponse extends SdkResponse {
|
|
4
|
+
scale?: Array<TimeValueData>;
|
|
5
|
+
private 'X-request-id'?;
|
|
6
|
+
constructor();
|
|
7
|
+
withScale(scale: Array<TimeValueData>): ListRtcRealtimeScaleResponse;
|
|
8
|
+
withXRequestId(xRequestId: string): ListRtcRealtimeScaleResponse;
|
|
9
|
+
set xRequestId(xRequestId: string | undefined);
|
|
10
|
+
get xRequestId(): string | undefined;
|
|
11
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ListRtcRealtimeScaleResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var ListRtcRealtimeScaleResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(ListRtcRealtimeScaleResponse, _super);
|
|
22
|
+
function ListRtcRealtimeScaleResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
ListRtcRealtimeScaleResponse.prototype.withScale = function (scale) {
|
|
26
|
+
this['scale'] = scale;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
ListRtcRealtimeScaleResponse.prototype.withXRequestId = function (xRequestId) {
|
|
30
|
+
this['X-request-id'] = xRequestId;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(ListRtcRealtimeScaleResponse.prototype, "xRequestId", {
|
|
34
|
+
get: function () {
|
|
35
|
+
return this['X-request-id'];
|
|
36
|
+
},
|
|
37
|
+
set: function (xRequestId) {
|
|
38
|
+
this['X-request-id'] = xRequestId;
|
|
39
|
+
},
|
|
40
|
+
enumerable: false,
|
|
41
|
+
configurable: true
|
|
42
|
+
});
|
|
43
|
+
return ListRtcRealtimeScaleResponse;
|
|
44
|
+
}(SdkResponse_1.SdkResponse));
|
|
45
|
+
exports.ListRtcRealtimeScaleResponse = ListRtcRealtimeScaleResponse;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare class ListRtcRoomListRequest {
|
|
2
|
+
private 'Authorization'?;
|
|
3
|
+
private 'X-Sdk-Date'?;
|
|
4
|
+
private 'X-Project-Id'?;
|
|
5
|
+
app: string;
|
|
6
|
+
private 'room_id'?;
|
|
7
|
+
state?: ListRtcRoomListRequestStateEnum;
|
|
8
|
+
private 'start_time'?;
|
|
9
|
+
private 'end_time'?;
|
|
10
|
+
limit?: number;
|
|
11
|
+
offset?: number;
|
|
12
|
+
constructor(app?: any);
|
|
13
|
+
withAuthorization(authorization: string): ListRtcRoomListRequest;
|
|
14
|
+
set authorization(authorization: string | undefined);
|
|
15
|
+
get authorization(): string | undefined;
|
|
16
|
+
withXSdkDate(xSdkDate: string): ListRtcRoomListRequest;
|
|
17
|
+
set xSdkDate(xSdkDate: string | undefined);
|
|
18
|
+
get xSdkDate(): string | undefined;
|
|
19
|
+
withXProjectId(xProjectId: string): ListRtcRoomListRequest;
|
|
20
|
+
set xProjectId(xProjectId: string | undefined);
|
|
21
|
+
get xProjectId(): string | undefined;
|
|
22
|
+
withApp(app: string): ListRtcRoomListRequest;
|
|
23
|
+
withRoomId(roomId: string): ListRtcRoomListRequest;
|
|
24
|
+
set roomId(roomId: string | undefined);
|
|
25
|
+
get roomId(): string | undefined;
|
|
26
|
+
withState(state: ListRtcRoomListRequestStateEnum): ListRtcRoomListRequest;
|
|
27
|
+
withStartTime(startTime: string): ListRtcRoomListRequest;
|
|
28
|
+
set startTime(startTime: string | undefined);
|
|
29
|
+
get startTime(): string | undefined;
|
|
30
|
+
withEndTime(endTime: string): ListRtcRoomListRequest;
|
|
31
|
+
set endTime(endTime: string | undefined);
|
|
32
|
+
get endTime(): string | undefined;
|
|
33
|
+
withLimit(limit: number): ListRtcRoomListRequest;
|
|
34
|
+
withOffset(offset: number): ListRtcRoomListRequest;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @export
|
|
38
|
+
* @enum {string}
|
|
39
|
+
*/
|
|
40
|
+
export declare enum ListRtcRoomListRequestStateEnum {
|
|
41
|
+
RUNNING = "RUNNING",
|
|
42
|
+
CLOSED = "CLOSED"
|
|
43
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListRtcRoomListRequestStateEnum = exports.ListRtcRoomListRequest = void 0;
|
|
4
|
+
var ListRtcRoomListRequest = /** @class */ (function () {
|
|
5
|
+
function ListRtcRoomListRequest(app) {
|
|
6
|
+
this['app'] = app;
|
|
7
|
+
}
|
|
8
|
+
ListRtcRoomListRequest.prototype.withAuthorization = function (authorization) {
|
|
9
|
+
this['Authorization'] = authorization;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(ListRtcRoomListRequest.prototype, "authorization", {
|
|
13
|
+
get: function () {
|
|
14
|
+
return this['Authorization'];
|
|
15
|
+
},
|
|
16
|
+
set: function (authorization) {
|
|
17
|
+
this['Authorization'] = authorization;
|
|
18
|
+
},
|
|
19
|
+
enumerable: false,
|
|
20
|
+
configurable: true
|
|
21
|
+
});
|
|
22
|
+
ListRtcRoomListRequest.prototype.withXSdkDate = function (xSdkDate) {
|
|
23
|
+
this['X-Sdk-Date'] = xSdkDate;
|
|
24
|
+
return this;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(ListRtcRoomListRequest.prototype, "xSdkDate", {
|
|
27
|
+
get: function () {
|
|
28
|
+
return this['X-Sdk-Date'];
|
|
29
|
+
},
|
|
30
|
+
set: function (xSdkDate) {
|
|
31
|
+
this['X-Sdk-Date'] = xSdkDate;
|
|
32
|
+
},
|
|
33
|
+
enumerable: false,
|
|
34
|
+
configurable: true
|
|
35
|
+
});
|
|
36
|
+
ListRtcRoomListRequest.prototype.withXProjectId = function (xProjectId) {
|
|
37
|
+
this['X-Project-Id'] = xProjectId;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
Object.defineProperty(ListRtcRoomListRequest.prototype, "xProjectId", {
|
|
41
|
+
get: function () {
|
|
42
|
+
return this['X-Project-Id'];
|
|
43
|
+
},
|
|
44
|
+
set: function (xProjectId) {
|
|
45
|
+
this['X-Project-Id'] = xProjectId;
|
|
46
|
+
},
|
|
47
|
+
enumerable: false,
|
|
48
|
+
configurable: true
|
|
49
|
+
});
|
|
50
|
+
ListRtcRoomListRequest.prototype.withApp = function (app) {
|
|
51
|
+
this['app'] = app;
|
|
52
|
+
return this;
|
|
53
|
+
};
|
|
54
|
+
ListRtcRoomListRequest.prototype.withRoomId = function (roomId) {
|
|
55
|
+
this['room_id'] = roomId;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
Object.defineProperty(ListRtcRoomListRequest.prototype, "roomId", {
|
|
59
|
+
get: function () {
|
|
60
|
+
return this['room_id'];
|
|
61
|
+
},
|
|
62
|
+
set: function (roomId) {
|
|
63
|
+
this['room_id'] = roomId;
|
|
64
|
+
},
|
|
65
|
+
enumerable: false,
|
|
66
|
+
configurable: true
|
|
67
|
+
});
|
|
68
|
+
ListRtcRoomListRequest.prototype.withState = function (state) {
|
|
69
|
+
this['state'] = state;
|
|
70
|
+
return this;
|
|
71
|
+
};
|
|
72
|
+
ListRtcRoomListRequest.prototype.withStartTime = function (startTime) {
|
|
73
|
+
this['start_time'] = startTime;
|
|
74
|
+
return this;
|
|
75
|
+
};
|
|
76
|
+
Object.defineProperty(ListRtcRoomListRequest.prototype, "startTime", {
|
|
77
|
+
get: function () {
|
|
78
|
+
return this['start_time'];
|
|
79
|
+
},
|
|
80
|
+
set: function (startTime) {
|
|
81
|
+
this['start_time'] = startTime;
|
|
82
|
+
},
|
|
83
|
+
enumerable: false,
|
|
84
|
+
configurable: true
|
|
85
|
+
});
|
|
86
|
+
ListRtcRoomListRequest.prototype.withEndTime = function (endTime) {
|
|
87
|
+
this['end_time'] = endTime;
|
|
88
|
+
return this;
|
|
89
|
+
};
|
|
90
|
+
Object.defineProperty(ListRtcRoomListRequest.prototype, "endTime", {
|
|
91
|
+
get: function () {
|
|
92
|
+
return this['end_time'];
|
|
93
|
+
},
|
|
94
|
+
set: function (endTime) {
|
|
95
|
+
this['end_time'] = endTime;
|
|
96
|
+
},
|
|
97
|
+
enumerable: false,
|
|
98
|
+
configurable: true
|
|
99
|
+
});
|
|
100
|
+
ListRtcRoomListRequest.prototype.withLimit = function (limit) {
|
|
101
|
+
this['limit'] = limit;
|
|
102
|
+
return this;
|
|
103
|
+
};
|
|
104
|
+
ListRtcRoomListRequest.prototype.withOffset = function (offset) {
|
|
105
|
+
this['offset'] = offset;
|
|
106
|
+
return this;
|
|
107
|
+
};
|
|
108
|
+
return ListRtcRoomListRequest;
|
|
109
|
+
}());
|
|
110
|
+
exports.ListRtcRoomListRequest = ListRtcRoomListRequest;
|
|
111
|
+
/**
|
|
112
|
+
* @export
|
|
113
|
+
* @enum {string}
|
|
114
|
+
*/
|
|
115
|
+
var ListRtcRoomListRequestStateEnum;
|
|
116
|
+
(function (ListRtcRoomListRequestStateEnum) {
|
|
117
|
+
ListRtcRoomListRequestStateEnum["RUNNING"] = "RUNNING";
|
|
118
|
+
ListRtcRoomListRequestStateEnum["CLOSED"] = "CLOSED";
|
|
119
|
+
})(ListRtcRoomListRequestStateEnum || (exports.ListRtcRoomListRequestStateEnum = ListRtcRoomListRequestStateEnum = {}));
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { RtcServerRoomInfo } from './RtcServerRoomInfo';
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
export declare class ListRtcRoomListResponse extends SdkResponse {
|
|
4
|
+
total?: number;
|
|
5
|
+
limit?: number;
|
|
6
|
+
offset?: number;
|
|
7
|
+
private 'room_info_list'?;
|
|
8
|
+
private 'X-request-id'?;
|
|
9
|
+
constructor();
|
|
10
|
+
withTotal(total: number): ListRtcRoomListResponse;
|
|
11
|
+
withLimit(limit: number): ListRtcRoomListResponse;
|
|
12
|
+
withOffset(offset: number): ListRtcRoomListResponse;
|
|
13
|
+
withRoomInfoList(roomInfoList: Array<RtcServerRoomInfo>): ListRtcRoomListResponse;
|
|
14
|
+
set roomInfoList(roomInfoList: Array<RtcServerRoomInfo> | undefined);
|
|
15
|
+
get roomInfoList(): Array<RtcServerRoomInfo> | undefined;
|
|
16
|
+
withXRequestId(xRequestId: string): ListRtcRoomListResponse;
|
|
17
|
+
set xRequestId(xRequestId: string | undefined);
|
|
18
|
+
get xRequestId(): string | undefined;
|
|
19
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ListRtcRoomListResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var ListRtcRoomListResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(ListRtcRoomListResponse, _super);
|
|
22
|
+
function ListRtcRoomListResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
ListRtcRoomListResponse.prototype.withTotal = function (total) {
|
|
26
|
+
this['total'] = total;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
ListRtcRoomListResponse.prototype.withLimit = function (limit) {
|
|
30
|
+
this['limit'] = limit;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
ListRtcRoomListResponse.prototype.withOffset = function (offset) {
|
|
34
|
+
this['offset'] = offset;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
ListRtcRoomListResponse.prototype.withRoomInfoList = function (roomInfoList) {
|
|
38
|
+
this['room_info_list'] = roomInfoList;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
Object.defineProperty(ListRtcRoomListResponse.prototype, "roomInfoList", {
|
|
42
|
+
get: function () {
|
|
43
|
+
return this['room_info_list'];
|
|
44
|
+
},
|
|
45
|
+
set: function (roomInfoList) {
|
|
46
|
+
this['room_info_list'] = roomInfoList;
|
|
47
|
+
},
|
|
48
|
+
enumerable: false,
|
|
49
|
+
configurable: true
|
|
50
|
+
});
|
|
51
|
+
ListRtcRoomListResponse.prototype.withXRequestId = function (xRequestId) {
|
|
52
|
+
this['X-request-id'] = xRequestId;
|
|
53
|
+
return this;
|
|
54
|
+
};
|
|
55
|
+
Object.defineProperty(ListRtcRoomListResponse.prototype, "xRequestId", {
|
|
56
|
+
get: function () {
|
|
57
|
+
return this['X-request-id'];
|
|
58
|
+
},
|
|
59
|
+
set: function (xRequestId) {
|
|
60
|
+
this['X-request-id'] = xRequestId;
|
|
61
|
+
},
|
|
62
|
+
enumerable: false,
|
|
63
|
+
configurable: true
|
|
64
|
+
});
|
|
65
|
+
return ListRtcRoomListResponse;
|
|
66
|
+
}(SdkResponse_1.SdkResponse));
|
|
67
|
+
exports.ListRtcRoomListResponse = ListRtcRoomListResponse;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare class ListRtcUserListRequest {
|
|
2
|
+
private 'Authorization'?;
|
|
3
|
+
private 'X-Sdk-Date'?;
|
|
4
|
+
private 'X-Project-Id'?;
|
|
5
|
+
app: string;
|
|
6
|
+
private 'room_id'?;
|
|
7
|
+
uid?: string;
|
|
8
|
+
nickname?: string;
|
|
9
|
+
region?: Array<string>;
|
|
10
|
+
isp?: Array<string>;
|
|
11
|
+
state?: Array<string>;
|
|
12
|
+
private 'start_time'?;
|
|
13
|
+
private 'end_time'?;
|
|
14
|
+
limit?: number;
|
|
15
|
+
offset?: number;
|
|
16
|
+
type?: ListRtcUserListRequestTypeEnum;
|
|
17
|
+
constructor(app?: any);
|
|
18
|
+
withAuthorization(authorization: string): ListRtcUserListRequest;
|
|
19
|
+
set authorization(authorization: string | undefined);
|
|
20
|
+
get authorization(): string | undefined;
|
|
21
|
+
withXSdkDate(xSdkDate: string): ListRtcUserListRequest;
|
|
22
|
+
set xSdkDate(xSdkDate: string | undefined);
|
|
23
|
+
get xSdkDate(): string | undefined;
|
|
24
|
+
withXProjectId(xProjectId: string): ListRtcUserListRequest;
|
|
25
|
+
set xProjectId(xProjectId: string | undefined);
|
|
26
|
+
get xProjectId(): string | undefined;
|
|
27
|
+
withApp(app: string): ListRtcUserListRequest;
|
|
28
|
+
withRoomId(roomId: string): ListRtcUserListRequest;
|
|
29
|
+
set roomId(roomId: string | undefined);
|
|
30
|
+
get roomId(): string | undefined;
|
|
31
|
+
withUid(uid: string): ListRtcUserListRequest;
|
|
32
|
+
withNickname(nickname: string): ListRtcUserListRequest;
|
|
33
|
+
withRegion(region: Array<string>): ListRtcUserListRequest;
|
|
34
|
+
withIsp(isp: Array<string>): ListRtcUserListRequest;
|
|
35
|
+
withState(state: Array<string>): ListRtcUserListRequest;
|
|
36
|
+
withStartTime(startTime: string): ListRtcUserListRequest;
|
|
37
|
+
set startTime(startTime: string | undefined);
|
|
38
|
+
get startTime(): string | undefined;
|
|
39
|
+
withEndTime(endTime: string): ListRtcUserListRequest;
|
|
40
|
+
set endTime(endTime: string | undefined);
|
|
41
|
+
get endTime(): string | undefined;
|
|
42
|
+
withLimit(limit: number): ListRtcUserListRequest;
|
|
43
|
+
withOffset(offset: number): ListRtcUserListRequest;
|
|
44
|
+
withType(type: ListRtcUserListRequestTypeEnum): ListRtcUserListRequest;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @export
|
|
48
|
+
* @enum {string}
|
|
49
|
+
*/
|
|
50
|
+
export declare enum ListRtcUserListRequestTypeEnum {
|
|
51
|
+
DETAIL = "detail",
|
|
52
|
+
SUMMARY = "summary"
|
|
53
|
+
}
|