@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,162 @@
|
|
|
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.ShowRecordRuleResponseRecordFormatsEnum = exports.ShowRecordRuleResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var ShowRecordRuleResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(ShowRecordRuleResponse, _super);
|
|
22
|
+
function ShowRecordRuleResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
ShowRecordRuleResponse.prototype.withRuleId = function (ruleId) {
|
|
26
|
+
this['rule_id'] = ruleId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(ShowRecordRuleResponse.prototype, "ruleId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['rule_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (ruleId) {
|
|
34
|
+
this['rule_id'] = ruleId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
ShowRecordRuleResponse.prototype.withAppId = function (appId) {
|
|
40
|
+
this['app_id'] = appId;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(ShowRecordRuleResponse.prototype, "appId", {
|
|
44
|
+
get: function () {
|
|
45
|
+
return this['app_id'];
|
|
46
|
+
},
|
|
47
|
+
set: function (appId) {
|
|
48
|
+
this['app_id'] = appId;
|
|
49
|
+
},
|
|
50
|
+
enumerable: false,
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
ShowRecordRuleResponse.prototype.withObsAddr = function (obsAddr) {
|
|
54
|
+
this['obs_addr'] = obsAddr;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
Object.defineProperty(ShowRecordRuleResponse.prototype, "obsAddr", {
|
|
58
|
+
get: function () {
|
|
59
|
+
return this['obs_addr'];
|
|
60
|
+
},
|
|
61
|
+
set: function (obsAddr) {
|
|
62
|
+
this['obs_addr'] = obsAddr;
|
|
63
|
+
},
|
|
64
|
+
enumerable: false,
|
|
65
|
+
configurable: true
|
|
66
|
+
});
|
|
67
|
+
ShowRecordRuleResponse.prototype.withRecordFormats = function (recordFormats) {
|
|
68
|
+
this['record_formats'] = recordFormats;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
Object.defineProperty(ShowRecordRuleResponse.prototype, "recordFormats", {
|
|
72
|
+
get: function () {
|
|
73
|
+
return this['record_formats'];
|
|
74
|
+
},
|
|
75
|
+
set: function (recordFormats) {
|
|
76
|
+
this['record_formats'] = recordFormats;
|
|
77
|
+
},
|
|
78
|
+
enumerable: false,
|
|
79
|
+
configurable: true
|
|
80
|
+
});
|
|
81
|
+
ShowRecordRuleResponse.prototype.withHlsConfig = function (hlsConfig) {
|
|
82
|
+
this['hls_config'] = hlsConfig;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
Object.defineProperty(ShowRecordRuleResponse.prototype, "hlsConfig", {
|
|
86
|
+
get: function () {
|
|
87
|
+
return this['hls_config'];
|
|
88
|
+
},
|
|
89
|
+
set: function (hlsConfig) {
|
|
90
|
+
this['hls_config'] = hlsConfig;
|
|
91
|
+
},
|
|
92
|
+
enumerable: false,
|
|
93
|
+
configurable: true
|
|
94
|
+
});
|
|
95
|
+
ShowRecordRuleResponse.prototype.withMp4Config = function (mp4Config) {
|
|
96
|
+
this['mp4_config'] = mp4Config;
|
|
97
|
+
return this;
|
|
98
|
+
};
|
|
99
|
+
Object.defineProperty(ShowRecordRuleResponse.prototype, "mp4Config", {
|
|
100
|
+
get: function () {
|
|
101
|
+
return this['mp4_config'];
|
|
102
|
+
},
|
|
103
|
+
set: function (mp4Config) {
|
|
104
|
+
this['mp4_config'] = mp4Config;
|
|
105
|
+
},
|
|
106
|
+
enumerable: false,
|
|
107
|
+
configurable: true
|
|
108
|
+
});
|
|
109
|
+
ShowRecordRuleResponse.prototype.withCreateTime = function (createTime) {
|
|
110
|
+
this['create_time'] = createTime;
|
|
111
|
+
return this;
|
|
112
|
+
};
|
|
113
|
+
Object.defineProperty(ShowRecordRuleResponse.prototype, "createTime", {
|
|
114
|
+
get: function () {
|
|
115
|
+
return this['create_time'];
|
|
116
|
+
},
|
|
117
|
+
set: function (createTime) {
|
|
118
|
+
this['create_time'] = createTime;
|
|
119
|
+
},
|
|
120
|
+
enumerable: false,
|
|
121
|
+
configurable: true
|
|
122
|
+
});
|
|
123
|
+
ShowRecordRuleResponse.prototype.withUpdateTime = function (updateTime) {
|
|
124
|
+
this['update_time'] = updateTime;
|
|
125
|
+
return this;
|
|
126
|
+
};
|
|
127
|
+
Object.defineProperty(ShowRecordRuleResponse.prototype, "updateTime", {
|
|
128
|
+
get: function () {
|
|
129
|
+
return this['update_time'];
|
|
130
|
+
},
|
|
131
|
+
set: function (updateTime) {
|
|
132
|
+
this['update_time'] = updateTime;
|
|
133
|
+
},
|
|
134
|
+
enumerable: false,
|
|
135
|
+
configurable: true
|
|
136
|
+
});
|
|
137
|
+
ShowRecordRuleResponse.prototype.withXRequestId = function (xRequestId) {
|
|
138
|
+
this['X-request-Id'] = xRequestId;
|
|
139
|
+
return this;
|
|
140
|
+
};
|
|
141
|
+
Object.defineProperty(ShowRecordRuleResponse.prototype, "xRequestId", {
|
|
142
|
+
get: function () {
|
|
143
|
+
return this['X-request-Id'];
|
|
144
|
+
},
|
|
145
|
+
set: function (xRequestId) {
|
|
146
|
+
this['X-request-Id'] = xRequestId;
|
|
147
|
+
},
|
|
148
|
+
enumerable: false,
|
|
149
|
+
configurable: true
|
|
150
|
+
});
|
|
151
|
+
return ShowRecordRuleResponse;
|
|
152
|
+
}(SdkResponse_1.SdkResponse));
|
|
153
|
+
exports.ShowRecordRuleResponse = ShowRecordRuleResponse;
|
|
154
|
+
/**
|
|
155
|
+
* @export
|
|
156
|
+
* @enum {string}
|
|
157
|
+
*/
|
|
158
|
+
var ShowRecordRuleResponseRecordFormatsEnum;
|
|
159
|
+
(function (ShowRecordRuleResponseRecordFormatsEnum) {
|
|
160
|
+
ShowRecordRuleResponseRecordFormatsEnum["HLS"] = "HLS";
|
|
161
|
+
ShowRecordRuleResponseRecordFormatsEnum["MP4"] = "MP4";
|
|
162
|
+
})(ShowRecordRuleResponseRecordFormatsEnum || (exports.ShowRecordRuleResponseRecordFormatsEnum = ShowRecordRuleResponseRecordFormatsEnum = {}));
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare class ShowUrlAuthRequest {
|
|
2
|
+
private 'Authorization'?;
|
|
3
|
+
private 'X-Sdk-Date'?;
|
|
4
|
+
private 'X-Project-Id'?;
|
|
5
|
+
private 'app_id';
|
|
6
|
+
constructor(appId?: any);
|
|
7
|
+
withAuthorization(authorization: string): ShowUrlAuthRequest;
|
|
8
|
+
set authorization(authorization: string | undefined);
|
|
9
|
+
get authorization(): string | undefined;
|
|
10
|
+
withXSdkDate(xSdkDate: string): ShowUrlAuthRequest;
|
|
11
|
+
set xSdkDate(xSdkDate: string | undefined);
|
|
12
|
+
get xSdkDate(): string | undefined;
|
|
13
|
+
withXProjectId(xProjectId: string): ShowUrlAuthRequest;
|
|
14
|
+
set xProjectId(xProjectId: string | undefined);
|
|
15
|
+
get xProjectId(): string | undefined;
|
|
16
|
+
withAppId(appId: string): ShowUrlAuthRequest;
|
|
17
|
+
set appId(appId: string | undefined);
|
|
18
|
+
get appId(): string | undefined;
|
|
19
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ShowUrlAuthRequest = void 0;
|
|
4
|
+
var ShowUrlAuthRequest = /** @class */ (function () {
|
|
5
|
+
function ShowUrlAuthRequest(appId) {
|
|
6
|
+
this['app_id'] = appId;
|
|
7
|
+
}
|
|
8
|
+
ShowUrlAuthRequest.prototype.withAuthorization = function (authorization) {
|
|
9
|
+
this['Authorization'] = authorization;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(ShowUrlAuthRequest.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
|
+
ShowUrlAuthRequest.prototype.withXSdkDate = function (xSdkDate) {
|
|
23
|
+
this['X-Sdk-Date'] = xSdkDate;
|
|
24
|
+
return this;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(ShowUrlAuthRequest.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
|
+
ShowUrlAuthRequest.prototype.withXProjectId = function (xProjectId) {
|
|
37
|
+
this['X-Project-Id'] = xProjectId;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
Object.defineProperty(ShowUrlAuthRequest.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
|
+
ShowUrlAuthRequest.prototype.withAppId = function (appId) {
|
|
51
|
+
this['app_id'] = appId;
|
|
52
|
+
return this;
|
|
53
|
+
};
|
|
54
|
+
Object.defineProperty(ShowUrlAuthRequest.prototype, "appId", {
|
|
55
|
+
get: function () {
|
|
56
|
+
return this['app_id'];
|
|
57
|
+
},
|
|
58
|
+
set: function (appId) {
|
|
59
|
+
this['app_id'] = appId;
|
|
60
|
+
},
|
|
61
|
+
enumerable: false,
|
|
62
|
+
configurable: true
|
|
63
|
+
});
|
|
64
|
+
return ShowUrlAuthRequest;
|
|
65
|
+
}());
|
|
66
|
+
exports.ShowUrlAuthRequest = ShowUrlAuthRequest;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AppAuth } from './AppAuth';
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
export declare class ShowUrlAuthResponse extends SdkResponse {
|
|
4
|
+
private 'app_id'?;
|
|
5
|
+
authentication?: AppAuth;
|
|
6
|
+
private 'X-request-Id'?;
|
|
7
|
+
constructor();
|
|
8
|
+
withAppId(appId: string): ShowUrlAuthResponse;
|
|
9
|
+
set appId(appId: string | undefined);
|
|
10
|
+
get appId(): string | undefined;
|
|
11
|
+
withAuthentication(authentication: AppAuth): ShowUrlAuthResponse;
|
|
12
|
+
withXRequestId(xRequestId: string): ShowUrlAuthResponse;
|
|
13
|
+
set xRequestId(xRequestId: string | undefined);
|
|
14
|
+
get xRequestId(): string | undefined;
|
|
15
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.ShowUrlAuthResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var ShowUrlAuthResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(ShowUrlAuthResponse, _super);
|
|
22
|
+
function ShowUrlAuthResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
ShowUrlAuthResponse.prototype.withAppId = function (appId) {
|
|
26
|
+
this['app_id'] = appId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(ShowUrlAuthResponse.prototype, "appId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['app_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (appId) {
|
|
34
|
+
this['app_id'] = appId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
ShowUrlAuthResponse.prototype.withAuthentication = function (authentication) {
|
|
40
|
+
this['authentication'] = authentication;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
ShowUrlAuthResponse.prototype.withXRequestId = function (xRequestId) {
|
|
44
|
+
this['X-request-Id'] = xRequestId;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(ShowUrlAuthResponse.prototype, "xRequestId", {
|
|
48
|
+
get: function () {
|
|
49
|
+
return this['X-request-Id'];
|
|
50
|
+
},
|
|
51
|
+
set: function (xRequestId) {
|
|
52
|
+
this['X-request-Id'] = xRequestId;
|
|
53
|
+
},
|
|
54
|
+
enumerable: false,
|
|
55
|
+
configurable: true
|
|
56
|
+
});
|
|
57
|
+
return ShowUrlAuthResponse;
|
|
58
|
+
}(SdkResponse_1.SdkResponse));
|
|
59
|
+
exports.ShowUrlAuthResponse = ShowUrlAuthResponse;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare class StartAppRequest {
|
|
2
|
+
private 'Authorization'?;
|
|
3
|
+
private 'X-Sdk-Date'?;
|
|
4
|
+
private 'X-Project-Id'?;
|
|
5
|
+
private 'app_id';
|
|
6
|
+
constructor(appId?: any);
|
|
7
|
+
withAuthorization(authorization: string): StartAppRequest;
|
|
8
|
+
set authorization(authorization: string | undefined);
|
|
9
|
+
get authorization(): string | undefined;
|
|
10
|
+
withXSdkDate(xSdkDate: string): StartAppRequest;
|
|
11
|
+
set xSdkDate(xSdkDate: string | undefined);
|
|
12
|
+
get xSdkDate(): string | undefined;
|
|
13
|
+
withXProjectId(xProjectId: string): StartAppRequest;
|
|
14
|
+
set xProjectId(xProjectId: string | undefined);
|
|
15
|
+
get xProjectId(): string | undefined;
|
|
16
|
+
withAppId(appId: string): StartAppRequest;
|
|
17
|
+
set appId(appId: string | undefined);
|
|
18
|
+
get appId(): string | undefined;
|
|
19
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartAppRequest = void 0;
|
|
4
|
+
var StartAppRequest = /** @class */ (function () {
|
|
5
|
+
function StartAppRequest(appId) {
|
|
6
|
+
this['app_id'] = appId;
|
|
7
|
+
}
|
|
8
|
+
StartAppRequest.prototype.withAuthorization = function (authorization) {
|
|
9
|
+
this['Authorization'] = authorization;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(StartAppRequest.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
|
+
StartAppRequest.prototype.withXSdkDate = function (xSdkDate) {
|
|
23
|
+
this['X-Sdk-Date'] = xSdkDate;
|
|
24
|
+
return this;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(StartAppRequest.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
|
+
StartAppRequest.prototype.withXProjectId = function (xProjectId) {
|
|
37
|
+
this['X-Project-Id'] = xProjectId;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
Object.defineProperty(StartAppRequest.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
|
+
StartAppRequest.prototype.withAppId = function (appId) {
|
|
51
|
+
this['app_id'] = appId;
|
|
52
|
+
return this;
|
|
53
|
+
};
|
|
54
|
+
Object.defineProperty(StartAppRequest.prototype, "appId", {
|
|
55
|
+
get: function () {
|
|
56
|
+
return this['app_id'];
|
|
57
|
+
},
|
|
58
|
+
set: function (appId) {
|
|
59
|
+
this['app_id'] = appId;
|
|
60
|
+
},
|
|
61
|
+
enumerable: false,
|
|
62
|
+
configurable: true
|
|
63
|
+
});
|
|
64
|
+
return StartAppRequest;
|
|
65
|
+
}());
|
|
66
|
+
exports.StartAppRequest = StartAppRequest;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AppState } from './AppState';
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
export declare class StartAppResponse extends SdkResponse {
|
|
4
|
+
private 'app_id'?;
|
|
5
|
+
state?: AppState;
|
|
6
|
+
private 'X-request-Id'?;
|
|
7
|
+
constructor();
|
|
8
|
+
withAppId(appId: string): StartAppResponse;
|
|
9
|
+
set appId(appId: string | undefined);
|
|
10
|
+
get appId(): string | undefined;
|
|
11
|
+
withState(state: AppState): StartAppResponse;
|
|
12
|
+
withXRequestId(xRequestId: string): StartAppResponse;
|
|
13
|
+
set xRequestId(xRequestId: string | undefined);
|
|
14
|
+
get xRequestId(): string | undefined;
|
|
15
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.StartAppResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var StartAppResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(StartAppResponse, _super);
|
|
22
|
+
function StartAppResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
StartAppResponse.prototype.withAppId = function (appId) {
|
|
26
|
+
this['app_id'] = appId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(StartAppResponse.prototype, "appId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['app_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (appId) {
|
|
34
|
+
this['app_id'] = appId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
StartAppResponse.prototype.withState = function (state) {
|
|
40
|
+
this['state'] = state;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
StartAppResponse.prototype.withXRequestId = function (xRequestId) {
|
|
44
|
+
this['X-request-Id'] = xRequestId;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(StartAppResponse.prototype, "xRequestId", {
|
|
48
|
+
get: function () {
|
|
49
|
+
return this['X-request-Id'];
|
|
50
|
+
},
|
|
51
|
+
set: function (xRequestId) {
|
|
52
|
+
this['X-request-Id'] = xRequestId;
|
|
53
|
+
},
|
|
54
|
+
enumerable: false,
|
|
55
|
+
configurable: true
|
|
56
|
+
});
|
|
57
|
+
return StartAppResponse;
|
|
58
|
+
}(SdkResponse_1.SdkResponse));
|
|
59
|
+
exports.StartAppResponse = StartAppResponse;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare class StopAppRequest {
|
|
2
|
+
private 'Authorization'?;
|
|
3
|
+
private 'X-Sdk-Date'?;
|
|
4
|
+
private 'X-Project-Id'?;
|
|
5
|
+
private 'app_id';
|
|
6
|
+
constructor(appId?: any);
|
|
7
|
+
withAuthorization(authorization: string): StopAppRequest;
|
|
8
|
+
set authorization(authorization: string | undefined);
|
|
9
|
+
get authorization(): string | undefined;
|
|
10
|
+
withXSdkDate(xSdkDate: string): StopAppRequest;
|
|
11
|
+
set xSdkDate(xSdkDate: string | undefined);
|
|
12
|
+
get xSdkDate(): string | undefined;
|
|
13
|
+
withXProjectId(xProjectId: string): StopAppRequest;
|
|
14
|
+
set xProjectId(xProjectId: string | undefined);
|
|
15
|
+
get xProjectId(): string | undefined;
|
|
16
|
+
withAppId(appId: string): StopAppRequest;
|
|
17
|
+
set appId(appId: string | undefined);
|
|
18
|
+
get appId(): string | undefined;
|
|
19
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StopAppRequest = void 0;
|
|
4
|
+
var StopAppRequest = /** @class */ (function () {
|
|
5
|
+
function StopAppRequest(appId) {
|
|
6
|
+
this['app_id'] = appId;
|
|
7
|
+
}
|
|
8
|
+
StopAppRequest.prototype.withAuthorization = function (authorization) {
|
|
9
|
+
this['Authorization'] = authorization;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(StopAppRequest.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
|
+
StopAppRequest.prototype.withXSdkDate = function (xSdkDate) {
|
|
23
|
+
this['X-Sdk-Date'] = xSdkDate;
|
|
24
|
+
return this;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(StopAppRequest.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
|
+
StopAppRequest.prototype.withXProjectId = function (xProjectId) {
|
|
37
|
+
this['X-Project-Id'] = xProjectId;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
Object.defineProperty(StopAppRequest.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
|
+
StopAppRequest.prototype.withAppId = function (appId) {
|
|
51
|
+
this['app_id'] = appId;
|
|
52
|
+
return this;
|
|
53
|
+
};
|
|
54
|
+
Object.defineProperty(StopAppRequest.prototype, "appId", {
|
|
55
|
+
get: function () {
|
|
56
|
+
return this['app_id'];
|
|
57
|
+
},
|
|
58
|
+
set: function (appId) {
|
|
59
|
+
this['app_id'] = appId;
|
|
60
|
+
},
|
|
61
|
+
enumerable: false,
|
|
62
|
+
configurable: true
|
|
63
|
+
});
|
|
64
|
+
return StopAppRequest;
|
|
65
|
+
}());
|
|
66
|
+
exports.StopAppRequest = StopAppRequest;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AppState } from './AppState';
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
export declare class StopAppResponse extends SdkResponse {
|
|
4
|
+
private 'app_id'?;
|
|
5
|
+
state?: AppState;
|
|
6
|
+
private 'X-request-Id'?;
|
|
7
|
+
constructor();
|
|
8
|
+
withAppId(appId: string): StopAppResponse;
|
|
9
|
+
set appId(appId: string | undefined);
|
|
10
|
+
get appId(): string | undefined;
|
|
11
|
+
withState(state: AppState): StopAppResponse;
|
|
12
|
+
withXRequestId(xRequestId: string): StopAppResponse;
|
|
13
|
+
set xRequestId(xRequestId: string | undefined);
|
|
14
|
+
get xRequestId(): string | undefined;
|
|
15
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.StopAppResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var StopAppResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(StopAppResponse, _super);
|
|
22
|
+
function StopAppResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
StopAppResponse.prototype.withAppId = function (appId) {
|
|
26
|
+
this['app_id'] = appId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(StopAppResponse.prototype, "appId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['app_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (appId) {
|
|
34
|
+
this['app_id'] = appId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
StopAppResponse.prototype.withState = function (state) {
|
|
40
|
+
this['state'] = state;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
StopAppResponse.prototype.withXRequestId = function (xRequestId) {
|
|
44
|
+
this['X-request-Id'] = xRequestId;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(StopAppResponse.prototype, "xRequestId", {
|
|
48
|
+
get: function () {
|
|
49
|
+
return this['X-request-Id'];
|
|
50
|
+
},
|
|
51
|
+
set: function (xRequestId) {
|
|
52
|
+
this['X-request-Id'] = xRequestId;
|
|
53
|
+
},
|
|
54
|
+
enumerable: false,
|
|
55
|
+
configurable: true
|
|
56
|
+
});
|
|
57
|
+
return StopAppResponse;
|
|
58
|
+
}(SdkResponse_1.SdkResponse));
|
|
59
|
+
exports.StopAppResponse = StopAppResponse;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class StopIndividualStreamJobRequest {
|
|
2
|
+
private 'Authorization'?;
|
|
3
|
+
private 'X-Sdk-Date'?;
|
|
4
|
+
private 'X-Project-Id'?;
|
|
5
|
+
private 'app_id';
|
|
6
|
+
private 'job_id';
|
|
7
|
+
constructor(appId?: any, jobId?: any);
|
|
8
|
+
withAuthorization(authorization: string): StopIndividualStreamJobRequest;
|
|
9
|
+
set authorization(authorization: string | undefined);
|
|
10
|
+
get authorization(): string | undefined;
|
|
11
|
+
withXSdkDate(xSdkDate: string): StopIndividualStreamJobRequest;
|
|
12
|
+
set xSdkDate(xSdkDate: string | undefined);
|
|
13
|
+
get xSdkDate(): string | undefined;
|
|
14
|
+
withXProjectId(xProjectId: string): StopIndividualStreamJobRequest;
|
|
15
|
+
set xProjectId(xProjectId: string | undefined);
|
|
16
|
+
get xProjectId(): string | undefined;
|
|
17
|
+
withAppId(appId: string): StopIndividualStreamJobRequest;
|
|
18
|
+
set appId(appId: string | undefined);
|
|
19
|
+
get appId(): string | undefined;
|
|
20
|
+
withJobId(jobId: string): StopIndividualStreamJobRequest;
|
|
21
|
+
set jobId(jobId: string | undefined);
|
|
22
|
+
get jobId(): string | undefined;
|
|
23
|
+
}
|