@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,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CloudRTCRegion = void 0;
|
|
4
|
+
var region_1 = require("@huaweicloud/huaweicloud-sdk-core/region/region");
|
|
5
|
+
var CloudRTCRegion = exports.CloudRTCRegion = /** @class */ (function () {
|
|
6
|
+
function CloudRTCRegion() {
|
|
7
|
+
}
|
|
8
|
+
CloudRTCRegion.valueOf = function (regionId) {
|
|
9
|
+
if (!regionId) {
|
|
10
|
+
throw new Error("Unexpected empty parameter: regionId.");
|
|
11
|
+
}
|
|
12
|
+
var result = this.REGION_MAP[regionId];
|
|
13
|
+
if (result) {
|
|
14
|
+
return result;
|
|
15
|
+
}
|
|
16
|
+
throw new Error("Unexpected regionId: ".concat(regionId, "."));
|
|
17
|
+
};
|
|
18
|
+
CloudRTCRegion.CN_NORTH_4 = new region_1.Region("cn-north-4", ["https://rtc-api.myhuaweicloud.com"]);
|
|
19
|
+
CloudRTCRegion.REGION_MAP = {
|
|
20
|
+
"cn-north-4": CloudRTCRegion.CN_NORTH_4
|
|
21
|
+
};
|
|
22
|
+
return CloudRTCRegion;
|
|
23
|
+
}());
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare class AbnormalEvent {
|
|
2
|
+
time: string;
|
|
3
|
+
uid: string;
|
|
4
|
+
private 'room_id';
|
|
5
|
+
stage: string;
|
|
6
|
+
location: string;
|
|
7
|
+
private 'peer_uid';
|
|
8
|
+
private 'abnormal_type';
|
|
9
|
+
private 'abnormal_type_desc';
|
|
10
|
+
private 'abnormal_factor';
|
|
11
|
+
private 'abnormal_factor_desc';
|
|
12
|
+
constructor(time?: any, uid?: any, roomId?: any, stage?: any, location?: any, peerUid?: any, abnormalType?: any, abnormalTypeDesc?: any, abnormalFactor?: any, abnormalFactorDesc?: any);
|
|
13
|
+
withTime(time: string): AbnormalEvent;
|
|
14
|
+
withUid(uid: string): AbnormalEvent;
|
|
15
|
+
withRoomId(roomId: string): AbnormalEvent;
|
|
16
|
+
set roomId(roomId: string | undefined);
|
|
17
|
+
get roomId(): string | undefined;
|
|
18
|
+
withStage(stage: string): AbnormalEvent;
|
|
19
|
+
withLocation(location: string): AbnormalEvent;
|
|
20
|
+
withPeerUid(peerUid: string): AbnormalEvent;
|
|
21
|
+
set peerUid(peerUid: string | undefined);
|
|
22
|
+
get peerUid(): string | undefined;
|
|
23
|
+
withAbnormalType(abnormalType: number): AbnormalEvent;
|
|
24
|
+
set abnormalType(abnormalType: number | undefined);
|
|
25
|
+
get abnormalType(): number | undefined;
|
|
26
|
+
withAbnormalTypeDesc(abnormalTypeDesc: string): AbnormalEvent;
|
|
27
|
+
set abnormalTypeDesc(abnormalTypeDesc: string | undefined);
|
|
28
|
+
get abnormalTypeDesc(): string | undefined;
|
|
29
|
+
withAbnormalFactor(abnormalFactor: number): AbnormalEvent;
|
|
30
|
+
set abnormalFactor(abnormalFactor: number | undefined);
|
|
31
|
+
get abnormalFactor(): number | undefined;
|
|
32
|
+
withAbnormalFactorDesc(abnormalFactorDesc: string): AbnormalEvent;
|
|
33
|
+
set abnormalFactorDesc(abnormalFactorDesc: string | undefined);
|
|
34
|
+
get abnormalFactorDesc(): string | undefined;
|
|
35
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AbnormalEvent = void 0;
|
|
4
|
+
var AbnormalEvent = /** @class */ (function () {
|
|
5
|
+
function AbnormalEvent(time, uid, roomId, stage, location, peerUid, abnormalType, abnormalTypeDesc, abnormalFactor, abnormalFactorDesc) {
|
|
6
|
+
this['time'] = time;
|
|
7
|
+
this['uid'] = uid;
|
|
8
|
+
this['room_id'] = roomId;
|
|
9
|
+
this['stage'] = stage;
|
|
10
|
+
this['location'] = location;
|
|
11
|
+
this['peer_uid'] = peerUid;
|
|
12
|
+
this['abnormal_type'] = abnormalType;
|
|
13
|
+
this['abnormal_type_desc'] = abnormalTypeDesc;
|
|
14
|
+
this['abnormal_factor'] = abnormalFactor;
|
|
15
|
+
this['abnormal_factor_desc'] = abnormalFactorDesc;
|
|
16
|
+
}
|
|
17
|
+
AbnormalEvent.prototype.withTime = function (time) {
|
|
18
|
+
this['time'] = time;
|
|
19
|
+
return this;
|
|
20
|
+
};
|
|
21
|
+
AbnormalEvent.prototype.withUid = function (uid) {
|
|
22
|
+
this['uid'] = uid;
|
|
23
|
+
return this;
|
|
24
|
+
};
|
|
25
|
+
AbnormalEvent.prototype.withRoomId = function (roomId) {
|
|
26
|
+
this['room_id'] = roomId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(AbnormalEvent.prototype, "roomId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['room_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (roomId) {
|
|
34
|
+
this['room_id'] = roomId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
AbnormalEvent.prototype.withStage = function (stage) {
|
|
40
|
+
this['stage'] = stage;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
AbnormalEvent.prototype.withLocation = function (location) {
|
|
44
|
+
this['location'] = location;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
AbnormalEvent.prototype.withPeerUid = function (peerUid) {
|
|
48
|
+
this['peer_uid'] = peerUid;
|
|
49
|
+
return this;
|
|
50
|
+
};
|
|
51
|
+
Object.defineProperty(AbnormalEvent.prototype, "peerUid", {
|
|
52
|
+
get: function () {
|
|
53
|
+
return this['peer_uid'];
|
|
54
|
+
},
|
|
55
|
+
set: function (peerUid) {
|
|
56
|
+
this['peer_uid'] = peerUid;
|
|
57
|
+
},
|
|
58
|
+
enumerable: false,
|
|
59
|
+
configurable: true
|
|
60
|
+
});
|
|
61
|
+
AbnormalEvent.prototype.withAbnormalType = function (abnormalType) {
|
|
62
|
+
this['abnormal_type'] = abnormalType;
|
|
63
|
+
return this;
|
|
64
|
+
};
|
|
65
|
+
Object.defineProperty(AbnormalEvent.prototype, "abnormalType", {
|
|
66
|
+
get: function () {
|
|
67
|
+
return this['abnormal_type'];
|
|
68
|
+
},
|
|
69
|
+
set: function (abnormalType) {
|
|
70
|
+
this['abnormal_type'] = abnormalType;
|
|
71
|
+
},
|
|
72
|
+
enumerable: false,
|
|
73
|
+
configurable: true
|
|
74
|
+
});
|
|
75
|
+
AbnormalEvent.prototype.withAbnormalTypeDesc = function (abnormalTypeDesc) {
|
|
76
|
+
this['abnormal_type_desc'] = abnormalTypeDesc;
|
|
77
|
+
return this;
|
|
78
|
+
};
|
|
79
|
+
Object.defineProperty(AbnormalEvent.prototype, "abnormalTypeDesc", {
|
|
80
|
+
get: function () {
|
|
81
|
+
return this['abnormal_type_desc'];
|
|
82
|
+
},
|
|
83
|
+
set: function (abnormalTypeDesc) {
|
|
84
|
+
this['abnormal_type_desc'] = abnormalTypeDesc;
|
|
85
|
+
},
|
|
86
|
+
enumerable: false,
|
|
87
|
+
configurable: true
|
|
88
|
+
});
|
|
89
|
+
AbnormalEvent.prototype.withAbnormalFactor = function (abnormalFactor) {
|
|
90
|
+
this['abnormal_factor'] = abnormalFactor;
|
|
91
|
+
return this;
|
|
92
|
+
};
|
|
93
|
+
Object.defineProperty(AbnormalEvent.prototype, "abnormalFactor", {
|
|
94
|
+
get: function () {
|
|
95
|
+
return this['abnormal_factor'];
|
|
96
|
+
},
|
|
97
|
+
set: function (abnormalFactor) {
|
|
98
|
+
this['abnormal_factor'] = abnormalFactor;
|
|
99
|
+
},
|
|
100
|
+
enumerable: false,
|
|
101
|
+
configurable: true
|
|
102
|
+
});
|
|
103
|
+
AbnormalEvent.prototype.withAbnormalFactorDesc = function (abnormalFactorDesc) {
|
|
104
|
+
this['abnormal_factor_desc'] = abnormalFactorDesc;
|
|
105
|
+
return this;
|
|
106
|
+
};
|
|
107
|
+
Object.defineProperty(AbnormalEvent.prototype, "abnormalFactorDesc", {
|
|
108
|
+
get: function () {
|
|
109
|
+
return this['abnormal_factor_desc'];
|
|
110
|
+
},
|
|
111
|
+
set: function (abnormalFactorDesc) {
|
|
112
|
+
this['abnormal_factor_desc'] = abnormalFactorDesc;
|
|
113
|
+
},
|
|
114
|
+
enumerable: false,
|
|
115
|
+
configurable: true
|
|
116
|
+
});
|
|
117
|
+
return AbnormalEvent;
|
|
118
|
+
}());
|
|
119
|
+
exports.AbnormalEvent = AbnormalEvent;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class AbnormalEventDimensionValue {
|
|
2
|
+
private 'abnormal_type';
|
|
3
|
+
private 'abnormal_type_desc';
|
|
4
|
+
private 'abnormal_factor';
|
|
5
|
+
private 'abnormal_factor_desc';
|
|
6
|
+
private 'user_count';
|
|
7
|
+
constructor(abnormalType?: any, abnormalTypeDesc?: any, abnormalFactor?: any, abnormalFactorDesc?: any, userCount?: any);
|
|
8
|
+
withAbnormalType(abnormalType: number): AbnormalEventDimensionValue;
|
|
9
|
+
set abnormalType(abnormalType: number | undefined);
|
|
10
|
+
get abnormalType(): number | undefined;
|
|
11
|
+
withAbnormalTypeDesc(abnormalTypeDesc: string): AbnormalEventDimensionValue;
|
|
12
|
+
set abnormalTypeDesc(abnormalTypeDesc: string | undefined);
|
|
13
|
+
get abnormalTypeDesc(): string | undefined;
|
|
14
|
+
withAbnormalFactor(abnormalFactor: number): AbnormalEventDimensionValue;
|
|
15
|
+
set abnormalFactor(abnormalFactor: number | undefined);
|
|
16
|
+
get abnormalFactor(): number | undefined;
|
|
17
|
+
withAbnormalFactorDesc(abnormalFactorDesc: string): AbnormalEventDimensionValue;
|
|
18
|
+
set abnormalFactorDesc(abnormalFactorDesc: string | undefined);
|
|
19
|
+
get abnormalFactorDesc(): string | undefined;
|
|
20
|
+
withUserCount(userCount: number): AbnormalEventDimensionValue;
|
|
21
|
+
set userCount(userCount: number | undefined);
|
|
22
|
+
get userCount(): number | undefined;
|
|
23
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AbnormalEventDimensionValue = void 0;
|
|
4
|
+
var AbnormalEventDimensionValue = /** @class */ (function () {
|
|
5
|
+
function AbnormalEventDimensionValue(abnormalType, abnormalTypeDesc, abnormalFactor, abnormalFactorDesc, userCount) {
|
|
6
|
+
this['abnormal_type'] = abnormalType;
|
|
7
|
+
this['abnormal_type_desc'] = abnormalTypeDesc;
|
|
8
|
+
this['abnormal_factor'] = abnormalFactor;
|
|
9
|
+
this['abnormal_factor_desc'] = abnormalFactorDesc;
|
|
10
|
+
this['user_count'] = userCount;
|
|
11
|
+
}
|
|
12
|
+
AbnormalEventDimensionValue.prototype.withAbnormalType = function (abnormalType) {
|
|
13
|
+
this['abnormal_type'] = abnormalType;
|
|
14
|
+
return this;
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(AbnormalEventDimensionValue.prototype, "abnormalType", {
|
|
17
|
+
get: function () {
|
|
18
|
+
return this['abnormal_type'];
|
|
19
|
+
},
|
|
20
|
+
set: function (abnormalType) {
|
|
21
|
+
this['abnormal_type'] = abnormalType;
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
AbnormalEventDimensionValue.prototype.withAbnormalTypeDesc = function (abnormalTypeDesc) {
|
|
27
|
+
this['abnormal_type_desc'] = abnormalTypeDesc;
|
|
28
|
+
return this;
|
|
29
|
+
};
|
|
30
|
+
Object.defineProperty(AbnormalEventDimensionValue.prototype, "abnormalTypeDesc", {
|
|
31
|
+
get: function () {
|
|
32
|
+
return this['abnormal_type_desc'];
|
|
33
|
+
},
|
|
34
|
+
set: function (abnormalTypeDesc) {
|
|
35
|
+
this['abnormal_type_desc'] = abnormalTypeDesc;
|
|
36
|
+
},
|
|
37
|
+
enumerable: false,
|
|
38
|
+
configurable: true
|
|
39
|
+
});
|
|
40
|
+
AbnormalEventDimensionValue.prototype.withAbnormalFactor = function (abnormalFactor) {
|
|
41
|
+
this['abnormal_factor'] = abnormalFactor;
|
|
42
|
+
return this;
|
|
43
|
+
};
|
|
44
|
+
Object.defineProperty(AbnormalEventDimensionValue.prototype, "abnormalFactor", {
|
|
45
|
+
get: function () {
|
|
46
|
+
return this['abnormal_factor'];
|
|
47
|
+
},
|
|
48
|
+
set: function (abnormalFactor) {
|
|
49
|
+
this['abnormal_factor'] = abnormalFactor;
|
|
50
|
+
},
|
|
51
|
+
enumerable: false,
|
|
52
|
+
configurable: true
|
|
53
|
+
});
|
|
54
|
+
AbnormalEventDimensionValue.prototype.withAbnormalFactorDesc = function (abnormalFactorDesc) {
|
|
55
|
+
this['abnormal_factor_desc'] = abnormalFactorDesc;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
Object.defineProperty(AbnormalEventDimensionValue.prototype, "abnormalFactorDesc", {
|
|
59
|
+
get: function () {
|
|
60
|
+
return this['abnormal_factor_desc'];
|
|
61
|
+
},
|
|
62
|
+
set: function (abnormalFactorDesc) {
|
|
63
|
+
this['abnormal_factor_desc'] = abnormalFactorDesc;
|
|
64
|
+
},
|
|
65
|
+
enumerable: false,
|
|
66
|
+
configurable: true
|
|
67
|
+
});
|
|
68
|
+
AbnormalEventDimensionValue.prototype.withUserCount = function (userCount) {
|
|
69
|
+
this['user_count'] = userCount;
|
|
70
|
+
return this;
|
|
71
|
+
};
|
|
72
|
+
Object.defineProperty(AbnormalEventDimensionValue.prototype, "userCount", {
|
|
73
|
+
get: function () {
|
|
74
|
+
return this['user_count'];
|
|
75
|
+
},
|
|
76
|
+
set: function (userCount) {
|
|
77
|
+
this['user_count'] = userCount;
|
|
78
|
+
},
|
|
79
|
+
enumerable: false,
|
|
80
|
+
configurable: true
|
|
81
|
+
});
|
|
82
|
+
return AbnormalEventDimensionValue;
|
|
83
|
+
}());
|
|
84
|
+
exports.AbnormalEventDimensionValue = AbnormalEventDimensionValue;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare class ListRtcAbnormalEventDimensionRequest {
|
|
2
|
+
app: string;
|
|
3
|
+
private 'room_id'?;
|
|
4
|
+
dimension?: ListRtcAbnormalEventDimensionRequestDimensionEnum;
|
|
5
|
+
private 'start_time'?;
|
|
6
|
+
private 'end_time'?;
|
|
7
|
+
constructor(app?: any);
|
|
8
|
+
withApp(app: string): ListRtcAbnormalEventDimensionRequest;
|
|
9
|
+
withRoomId(roomId: string): ListRtcAbnormalEventDimensionRequest;
|
|
10
|
+
set roomId(roomId: string | undefined);
|
|
11
|
+
get roomId(): string | undefined;
|
|
12
|
+
withDimension(dimension: ListRtcAbnormalEventDimensionRequestDimensionEnum): ListRtcAbnormalEventDimensionRequest;
|
|
13
|
+
withStartTime(startTime: string): ListRtcAbnormalEventDimensionRequest;
|
|
14
|
+
set startTime(startTime: string | undefined);
|
|
15
|
+
get startTime(): string | undefined;
|
|
16
|
+
withEndTime(endTime: string): ListRtcAbnormalEventDimensionRequest;
|
|
17
|
+
set endTime(endTime: string | undefined);
|
|
18
|
+
get endTime(): string | undefined;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @export
|
|
22
|
+
* @enum {string}
|
|
23
|
+
*/
|
|
24
|
+
export declare enum ListRtcAbnormalEventDimensionRequestDimensionEnum {
|
|
25
|
+
ABNORMAL_TYPE = "abnormal_type",
|
|
26
|
+
ABNORMAL_FACTOR = "abnormal_factor"
|
|
27
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListRtcAbnormalEventDimensionRequestDimensionEnum = exports.ListRtcAbnormalEventDimensionRequest = void 0;
|
|
4
|
+
var ListRtcAbnormalEventDimensionRequest = /** @class */ (function () {
|
|
5
|
+
function ListRtcAbnormalEventDimensionRequest(app) {
|
|
6
|
+
this['app'] = app;
|
|
7
|
+
}
|
|
8
|
+
ListRtcAbnormalEventDimensionRequest.prototype.withApp = function (app) {
|
|
9
|
+
this['app'] = app;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
ListRtcAbnormalEventDimensionRequest.prototype.withRoomId = function (roomId) {
|
|
13
|
+
this['room_id'] = roomId;
|
|
14
|
+
return this;
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(ListRtcAbnormalEventDimensionRequest.prototype, "roomId", {
|
|
17
|
+
get: function () {
|
|
18
|
+
return this['room_id'];
|
|
19
|
+
},
|
|
20
|
+
set: function (roomId) {
|
|
21
|
+
this['room_id'] = roomId;
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
ListRtcAbnormalEventDimensionRequest.prototype.withDimension = function (dimension) {
|
|
27
|
+
this['dimension'] = dimension;
|
|
28
|
+
return this;
|
|
29
|
+
};
|
|
30
|
+
ListRtcAbnormalEventDimensionRequest.prototype.withStartTime = function (startTime) {
|
|
31
|
+
this['start_time'] = startTime;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(ListRtcAbnormalEventDimensionRequest.prototype, "startTime", {
|
|
35
|
+
get: function () {
|
|
36
|
+
return this['start_time'];
|
|
37
|
+
},
|
|
38
|
+
set: function (startTime) {
|
|
39
|
+
this['start_time'] = startTime;
|
|
40
|
+
},
|
|
41
|
+
enumerable: false,
|
|
42
|
+
configurable: true
|
|
43
|
+
});
|
|
44
|
+
ListRtcAbnormalEventDimensionRequest.prototype.withEndTime = function (endTime) {
|
|
45
|
+
this['end_time'] = endTime;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
Object.defineProperty(ListRtcAbnormalEventDimensionRequest.prototype, "endTime", {
|
|
49
|
+
get: function () {
|
|
50
|
+
return this['end_time'];
|
|
51
|
+
},
|
|
52
|
+
set: function (endTime) {
|
|
53
|
+
this['end_time'] = endTime;
|
|
54
|
+
},
|
|
55
|
+
enumerable: false,
|
|
56
|
+
configurable: true
|
|
57
|
+
});
|
|
58
|
+
return ListRtcAbnormalEventDimensionRequest;
|
|
59
|
+
}());
|
|
60
|
+
exports.ListRtcAbnormalEventDimensionRequest = ListRtcAbnormalEventDimensionRequest;
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
* @enum {string}
|
|
64
|
+
*/
|
|
65
|
+
var ListRtcAbnormalEventDimensionRequestDimensionEnum;
|
|
66
|
+
(function (ListRtcAbnormalEventDimensionRequestDimensionEnum) {
|
|
67
|
+
ListRtcAbnormalEventDimensionRequestDimensionEnum["ABNORMAL_TYPE"] = "abnormal_type";
|
|
68
|
+
ListRtcAbnormalEventDimensionRequestDimensionEnum["ABNORMAL_FACTOR"] = "abnormal_factor";
|
|
69
|
+
})(ListRtcAbnormalEventDimensionRequestDimensionEnum || (exports.ListRtcAbnormalEventDimensionRequestDimensionEnum = ListRtcAbnormalEventDimensionRequestDimensionEnum = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AbnormalEventDimensionValue } from './AbnormalEventDimensionValue';
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
export declare class ListRtcAbnormalEventDimensionResponse extends SdkResponse {
|
|
4
|
+
dimensions?: Array<AbnormalEventDimensionValue>;
|
|
5
|
+
private 'X-request-id'?;
|
|
6
|
+
constructor();
|
|
7
|
+
withDimensions(dimensions: Array<AbnormalEventDimensionValue>): ListRtcAbnormalEventDimensionResponse;
|
|
8
|
+
withXRequestId(xRequestId: string): ListRtcAbnormalEventDimensionResponse;
|
|
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.ListRtcAbnormalEventDimensionResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var ListRtcAbnormalEventDimensionResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(ListRtcAbnormalEventDimensionResponse, _super);
|
|
22
|
+
function ListRtcAbnormalEventDimensionResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
ListRtcAbnormalEventDimensionResponse.prototype.withDimensions = function (dimensions) {
|
|
26
|
+
this['dimensions'] = dimensions;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
ListRtcAbnormalEventDimensionResponse.prototype.withXRequestId = function (xRequestId) {
|
|
30
|
+
this['X-request-id'] = xRequestId;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(ListRtcAbnormalEventDimensionResponse.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 ListRtcAbnormalEventDimensionResponse;
|
|
44
|
+
}(SdkResponse_1.SdkResponse));
|
|
45
|
+
exports.ListRtcAbnormalEventDimensionResponse = ListRtcAbnormalEventDimensionResponse;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class ListRtcAbnormalEventsRequest {
|
|
2
|
+
app: string;
|
|
3
|
+
private 'room_id'?;
|
|
4
|
+
uid?: string;
|
|
5
|
+
private 'start_time'?;
|
|
6
|
+
private 'end_time'?;
|
|
7
|
+
limit?: number;
|
|
8
|
+
offset?: number;
|
|
9
|
+
constructor(app?: any);
|
|
10
|
+
withApp(app: string): ListRtcAbnormalEventsRequest;
|
|
11
|
+
withRoomId(roomId: string): ListRtcAbnormalEventsRequest;
|
|
12
|
+
set roomId(roomId: string | undefined);
|
|
13
|
+
get roomId(): string | undefined;
|
|
14
|
+
withUid(uid: string): ListRtcAbnormalEventsRequest;
|
|
15
|
+
withStartTime(startTime: string): ListRtcAbnormalEventsRequest;
|
|
16
|
+
set startTime(startTime: string | undefined);
|
|
17
|
+
get startTime(): string | undefined;
|
|
18
|
+
withEndTime(endTime: string): ListRtcAbnormalEventsRequest;
|
|
19
|
+
set endTime(endTime: string | undefined);
|
|
20
|
+
get endTime(): string | undefined;
|
|
21
|
+
withLimit(limit: number): ListRtcAbnormalEventsRequest;
|
|
22
|
+
withOffset(offset: number): ListRtcAbnormalEventsRequest;
|
|
23
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListRtcAbnormalEventsRequest = void 0;
|
|
4
|
+
var ListRtcAbnormalEventsRequest = /** @class */ (function () {
|
|
5
|
+
function ListRtcAbnormalEventsRequest(app) {
|
|
6
|
+
this['app'] = app;
|
|
7
|
+
}
|
|
8
|
+
ListRtcAbnormalEventsRequest.prototype.withApp = function (app) {
|
|
9
|
+
this['app'] = app;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
ListRtcAbnormalEventsRequest.prototype.withRoomId = function (roomId) {
|
|
13
|
+
this['room_id'] = roomId;
|
|
14
|
+
return this;
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(ListRtcAbnormalEventsRequest.prototype, "roomId", {
|
|
17
|
+
get: function () {
|
|
18
|
+
return this['room_id'];
|
|
19
|
+
},
|
|
20
|
+
set: function (roomId) {
|
|
21
|
+
this['room_id'] = roomId;
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
ListRtcAbnormalEventsRequest.prototype.withUid = function (uid) {
|
|
27
|
+
this['uid'] = uid;
|
|
28
|
+
return this;
|
|
29
|
+
};
|
|
30
|
+
ListRtcAbnormalEventsRequest.prototype.withStartTime = function (startTime) {
|
|
31
|
+
this['start_time'] = startTime;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(ListRtcAbnormalEventsRequest.prototype, "startTime", {
|
|
35
|
+
get: function () {
|
|
36
|
+
return this['start_time'];
|
|
37
|
+
},
|
|
38
|
+
set: function (startTime) {
|
|
39
|
+
this['start_time'] = startTime;
|
|
40
|
+
},
|
|
41
|
+
enumerable: false,
|
|
42
|
+
configurable: true
|
|
43
|
+
});
|
|
44
|
+
ListRtcAbnormalEventsRequest.prototype.withEndTime = function (endTime) {
|
|
45
|
+
this['end_time'] = endTime;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
Object.defineProperty(ListRtcAbnormalEventsRequest.prototype, "endTime", {
|
|
49
|
+
get: function () {
|
|
50
|
+
return this['end_time'];
|
|
51
|
+
},
|
|
52
|
+
set: function (endTime) {
|
|
53
|
+
this['end_time'] = endTime;
|
|
54
|
+
},
|
|
55
|
+
enumerable: false,
|
|
56
|
+
configurable: true
|
|
57
|
+
});
|
|
58
|
+
ListRtcAbnormalEventsRequest.prototype.withLimit = function (limit) {
|
|
59
|
+
this['limit'] = limit;
|
|
60
|
+
return this;
|
|
61
|
+
};
|
|
62
|
+
ListRtcAbnormalEventsRequest.prototype.withOffset = function (offset) {
|
|
63
|
+
this['offset'] = offset;
|
|
64
|
+
return this;
|
|
65
|
+
};
|
|
66
|
+
return ListRtcAbnormalEventsRequest;
|
|
67
|
+
}());
|
|
68
|
+
exports.ListRtcAbnormalEventsRequest = ListRtcAbnormalEventsRequest;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AbnormalEvent } from './AbnormalEvent';
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
export declare class ListRtcAbnormalEventsResponse extends SdkResponse {
|
|
4
|
+
total?: number;
|
|
5
|
+
events?: Array<AbnormalEvent>;
|
|
6
|
+
private 'X-request-id'?;
|
|
7
|
+
constructor();
|
|
8
|
+
withTotal(total: number): ListRtcAbnormalEventsResponse;
|
|
9
|
+
withEvents(events: Array<AbnormalEvent>): ListRtcAbnormalEventsResponse;
|
|
10
|
+
withXRequestId(xRequestId: string): ListRtcAbnormalEventsResponse;
|
|
11
|
+
set xRequestId(xRequestId: string | undefined);
|
|
12
|
+
get xRequestId(): string | undefined;
|
|
13
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.ListRtcAbnormalEventsResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var ListRtcAbnormalEventsResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(ListRtcAbnormalEventsResponse, _super);
|
|
22
|
+
function ListRtcAbnormalEventsResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
ListRtcAbnormalEventsResponse.prototype.withTotal = function (total) {
|
|
26
|
+
this['total'] = total;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
ListRtcAbnormalEventsResponse.prototype.withEvents = function (events) {
|
|
30
|
+
this['events'] = events;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
ListRtcAbnormalEventsResponse.prototype.withXRequestId = function (xRequestId) {
|
|
34
|
+
this['X-request-id'] = xRequestId;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(ListRtcAbnormalEventsResponse.prototype, "xRequestId", {
|
|
38
|
+
get: function () {
|
|
39
|
+
return this['X-request-id'];
|
|
40
|
+
},
|
|
41
|
+
set: function (xRequestId) {
|
|
42
|
+
this['X-request-id'] = xRequestId;
|
|
43
|
+
},
|
|
44
|
+
enumerable: false,
|
|
45
|
+
configurable: true
|
|
46
|
+
});
|
|
47
|
+
return ListRtcAbnormalEventsResponse;
|
|
48
|
+
}(SdkResponse_1.SdkResponse));
|
|
49
|
+
exports.ListRtcAbnormalEventsResponse = ListRtcAbnormalEventsResponse;
|