@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,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AutoRecordModeReqModeEnum = exports.AutoRecordModeReq = void 0;
|
|
4
|
+
var AutoRecordModeReq = /** @class */ (function () {
|
|
5
|
+
function AutoRecordModeReq(mode) {
|
|
6
|
+
this['mode'] = mode;
|
|
7
|
+
}
|
|
8
|
+
AutoRecordModeReq.prototype.withMode = function (mode) {
|
|
9
|
+
this['mode'] = mode;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
AutoRecordModeReq.prototype.withRecordRuleId = function (recordRuleId) {
|
|
13
|
+
this['record_rule_id'] = recordRuleId;
|
|
14
|
+
return this;
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(AutoRecordModeReq.prototype, "recordRuleId", {
|
|
17
|
+
get: function () {
|
|
18
|
+
return this['record_rule_id'];
|
|
19
|
+
},
|
|
20
|
+
set: function (recordRuleId) {
|
|
21
|
+
this['record_rule_id'] = recordRuleId;
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
return AutoRecordModeReq;
|
|
27
|
+
}());
|
|
28
|
+
exports.AutoRecordModeReq = AutoRecordModeReq;
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
* @enum {string}
|
|
32
|
+
*/
|
|
33
|
+
var AutoRecordModeReqModeEnum;
|
|
34
|
+
(function (AutoRecordModeReqModeEnum) {
|
|
35
|
+
AutoRecordModeReqModeEnum["AUTO_RECORD_OFF"] = "AUTO_RECORD_OFF";
|
|
36
|
+
AutoRecordModeReqModeEnum["AUTO_INDIVIDUAL_RECORD"] = "AUTO_INDIVIDUAL_RECORD";
|
|
37
|
+
})(AutoRecordModeReqModeEnum || (exports.AutoRecordModeReqModeEnum = AutoRecordModeReqModeEnum = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AppReq } from './AppReq';
|
|
2
|
+
export declare class CreateAppRequest {
|
|
3
|
+
private 'Authorization'?;
|
|
4
|
+
private 'X-Sdk-Date'?;
|
|
5
|
+
private 'X-Project-Id'?;
|
|
6
|
+
body?: AppReq;
|
|
7
|
+
constructor();
|
|
8
|
+
withAuthorization(authorization: string): CreateAppRequest;
|
|
9
|
+
set authorization(authorization: string | undefined);
|
|
10
|
+
get authorization(): string | undefined;
|
|
11
|
+
withXSdkDate(xSdkDate: string): CreateAppRequest;
|
|
12
|
+
set xSdkDate(xSdkDate: string | undefined);
|
|
13
|
+
get xSdkDate(): string | undefined;
|
|
14
|
+
withXProjectId(xProjectId: string): CreateAppRequest;
|
|
15
|
+
set xProjectId(xProjectId: string | undefined);
|
|
16
|
+
get xProjectId(): string | undefined;
|
|
17
|
+
withBody(body: AppReq): CreateAppRequest;
|
|
18
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateAppRequest = void 0;
|
|
4
|
+
var CreateAppRequest = /** @class */ (function () {
|
|
5
|
+
function CreateAppRequest() {
|
|
6
|
+
}
|
|
7
|
+
CreateAppRequest.prototype.withAuthorization = function (authorization) {
|
|
8
|
+
this['Authorization'] = authorization;
|
|
9
|
+
return this;
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(CreateAppRequest.prototype, "authorization", {
|
|
12
|
+
get: function () {
|
|
13
|
+
return this['Authorization'];
|
|
14
|
+
},
|
|
15
|
+
set: function (authorization) {
|
|
16
|
+
this['Authorization'] = authorization;
|
|
17
|
+
},
|
|
18
|
+
enumerable: false,
|
|
19
|
+
configurable: true
|
|
20
|
+
});
|
|
21
|
+
CreateAppRequest.prototype.withXSdkDate = function (xSdkDate) {
|
|
22
|
+
this['X-Sdk-Date'] = xSdkDate;
|
|
23
|
+
return this;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(CreateAppRequest.prototype, "xSdkDate", {
|
|
26
|
+
get: function () {
|
|
27
|
+
return this['X-Sdk-Date'];
|
|
28
|
+
},
|
|
29
|
+
set: function (xSdkDate) {
|
|
30
|
+
this['X-Sdk-Date'] = xSdkDate;
|
|
31
|
+
},
|
|
32
|
+
enumerable: false,
|
|
33
|
+
configurable: true
|
|
34
|
+
});
|
|
35
|
+
CreateAppRequest.prototype.withXProjectId = function (xProjectId) {
|
|
36
|
+
this['X-Project-Id'] = xProjectId;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(CreateAppRequest.prototype, "xProjectId", {
|
|
40
|
+
get: function () {
|
|
41
|
+
return this['X-Project-Id'];
|
|
42
|
+
},
|
|
43
|
+
set: function (xProjectId) {
|
|
44
|
+
this['X-Project-Id'] = xProjectId;
|
|
45
|
+
},
|
|
46
|
+
enumerable: false,
|
|
47
|
+
configurable: true
|
|
48
|
+
});
|
|
49
|
+
CreateAppRequest.prototype.withBody = function (body) {
|
|
50
|
+
this['body'] = body;
|
|
51
|
+
return this;
|
|
52
|
+
};
|
|
53
|
+
return CreateAppRequest;
|
|
54
|
+
}());
|
|
55
|
+
exports.CreateAppRequest = CreateAppRequest;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
2
|
+
export declare class CreateAppResponse extends SdkResponse {
|
|
3
|
+
private 'app_id'?;
|
|
4
|
+
private 'X-request-Id'?;
|
|
5
|
+
constructor();
|
|
6
|
+
withAppId(appId: string): CreateAppResponse;
|
|
7
|
+
set appId(appId: string | undefined);
|
|
8
|
+
get appId(): string | undefined;
|
|
9
|
+
withXRequestId(xRequestId: string): CreateAppResponse;
|
|
10
|
+
set xRequestId(xRequestId: string | undefined);
|
|
11
|
+
get xRequestId(): string | undefined;
|
|
12
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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.CreateAppResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var CreateAppResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(CreateAppResponse, _super);
|
|
22
|
+
function CreateAppResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
CreateAppResponse.prototype.withAppId = function (appId) {
|
|
26
|
+
this['app_id'] = appId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(CreateAppResponse.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
|
+
CreateAppResponse.prototype.withXRequestId = function (xRequestId) {
|
|
40
|
+
this['X-request-Id'] = xRequestId;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(CreateAppResponse.prototype, "xRequestId", {
|
|
44
|
+
get: function () {
|
|
45
|
+
return this['X-request-Id'];
|
|
46
|
+
},
|
|
47
|
+
set: function (xRequestId) {
|
|
48
|
+
this['X-request-Id'] = xRequestId;
|
|
49
|
+
},
|
|
50
|
+
enumerable: false,
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
return CreateAppResponse;
|
|
54
|
+
}(SdkResponse_1.SdkResponse));
|
|
55
|
+
exports.CreateAppResponse = CreateAppResponse;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IndividualStreamJobReq } from './IndividualStreamJobReq';
|
|
2
|
+
export declare class CreateIndividualStreamJobRequest {
|
|
3
|
+
private 'Authorization'?;
|
|
4
|
+
private 'X-Sdk-Date'?;
|
|
5
|
+
private 'X-Project-Id'?;
|
|
6
|
+
private 'app_id';
|
|
7
|
+
body?: IndividualStreamJobReq;
|
|
8
|
+
constructor(appId?: any);
|
|
9
|
+
withAuthorization(authorization: string): CreateIndividualStreamJobRequest;
|
|
10
|
+
set authorization(authorization: string | undefined);
|
|
11
|
+
get authorization(): string | undefined;
|
|
12
|
+
withXSdkDate(xSdkDate: string): CreateIndividualStreamJobRequest;
|
|
13
|
+
set xSdkDate(xSdkDate: string | undefined);
|
|
14
|
+
get xSdkDate(): string | undefined;
|
|
15
|
+
withXProjectId(xProjectId: string): CreateIndividualStreamJobRequest;
|
|
16
|
+
set xProjectId(xProjectId: string | undefined);
|
|
17
|
+
get xProjectId(): string | undefined;
|
|
18
|
+
withAppId(appId: string): CreateIndividualStreamJobRequest;
|
|
19
|
+
set appId(appId: string | undefined);
|
|
20
|
+
get appId(): string | undefined;
|
|
21
|
+
withBody(body: IndividualStreamJobReq): CreateIndividualStreamJobRequest;
|
|
22
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateIndividualStreamJobRequest = void 0;
|
|
4
|
+
var CreateIndividualStreamJobRequest = /** @class */ (function () {
|
|
5
|
+
function CreateIndividualStreamJobRequest(appId) {
|
|
6
|
+
this['app_id'] = appId;
|
|
7
|
+
}
|
|
8
|
+
CreateIndividualStreamJobRequest.prototype.withAuthorization = function (authorization) {
|
|
9
|
+
this['Authorization'] = authorization;
|
|
10
|
+
return this;
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(CreateIndividualStreamJobRequest.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
|
+
CreateIndividualStreamJobRequest.prototype.withXSdkDate = function (xSdkDate) {
|
|
23
|
+
this['X-Sdk-Date'] = xSdkDate;
|
|
24
|
+
return this;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(CreateIndividualStreamJobRequest.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
|
+
CreateIndividualStreamJobRequest.prototype.withXProjectId = function (xProjectId) {
|
|
37
|
+
this['X-Project-Id'] = xProjectId;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
Object.defineProperty(CreateIndividualStreamJobRequest.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
|
+
CreateIndividualStreamJobRequest.prototype.withAppId = function (appId) {
|
|
51
|
+
this['app_id'] = appId;
|
|
52
|
+
return this;
|
|
53
|
+
};
|
|
54
|
+
Object.defineProperty(CreateIndividualStreamJobRequest.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
|
+
CreateIndividualStreamJobRequest.prototype.withBody = function (body) {
|
|
65
|
+
this['body'] = body;
|
|
66
|
+
return this;
|
|
67
|
+
};
|
|
68
|
+
return CreateIndividualStreamJobRequest;
|
|
69
|
+
}());
|
|
70
|
+
exports.CreateIndividualStreamJobRequest = CreateIndividualStreamJobRequest;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { RecordParam } from './RecordParam';
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
export declare class CreateIndividualStreamJobResponse extends SdkResponse {
|
|
4
|
+
private 'job_id'?;
|
|
5
|
+
private 'stream_name'?;
|
|
6
|
+
private 'app_id'?;
|
|
7
|
+
private 'room_id'?;
|
|
8
|
+
private 'user_id'?;
|
|
9
|
+
private 'is_record_audio'?;
|
|
10
|
+
private 'video_type'?;
|
|
11
|
+
private 'select_stream_type'?;
|
|
12
|
+
private 'max_idle_time'?;
|
|
13
|
+
private 'record_param'?;
|
|
14
|
+
private 'create_time'?;
|
|
15
|
+
private 'update_time'?;
|
|
16
|
+
state?: CreateIndividualStreamJobResponseStateEnum;
|
|
17
|
+
private 'stop_reason'?;
|
|
18
|
+
description?: string;
|
|
19
|
+
private 'start_time'?;
|
|
20
|
+
private 'stop_time'?;
|
|
21
|
+
private 'X-request-Id'?;
|
|
22
|
+
constructor();
|
|
23
|
+
withJobId(jobId: string): CreateIndividualStreamJobResponse;
|
|
24
|
+
set jobId(jobId: string | undefined);
|
|
25
|
+
get jobId(): string | undefined;
|
|
26
|
+
withStreamName(streamName: string): CreateIndividualStreamJobResponse;
|
|
27
|
+
set streamName(streamName: string | undefined);
|
|
28
|
+
get streamName(): string | undefined;
|
|
29
|
+
withAppId(appId: string): CreateIndividualStreamJobResponse;
|
|
30
|
+
set appId(appId: string | undefined);
|
|
31
|
+
get appId(): string | undefined;
|
|
32
|
+
withRoomId(roomId: string): CreateIndividualStreamJobResponse;
|
|
33
|
+
set roomId(roomId: string | undefined);
|
|
34
|
+
get roomId(): string | undefined;
|
|
35
|
+
withUserId(userId: string): CreateIndividualStreamJobResponse;
|
|
36
|
+
set userId(userId: string | undefined);
|
|
37
|
+
get userId(): string | undefined;
|
|
38
|
+
withIsRecordAudio(isRecordAudio: boolean): CreateIndividualStreamJobResponse;
|
|
39
|
+
set isRecordAudio(isRecordAudio: boolean | undefined);
|
|
40
|
+
get isRecordAudio(): boolean | undefined;
|
|
41
|
+
withVideoType(videoType: CreateIndividualStreamJobResponseVideoTypeEnum): CreateIndividualStreamJobResponse;
|
|
42
|
+
set videoType(videoType: CreateIndividualStreamJobResponseVideoTypeEnum | undefined);
|
|
43
|
+
get videoType(): CreateIndividualStreamJobResponseVideoTypeEnum | undefined;
|
|
44
|
+
withSelectStreamType(selectStreamType: CreateIndividualStreamJobResponseSelectStreamTypeEnum): CreateIndividualStreamJobResponse;
|
|
45
|
+
set selectStreamType(selectStreamType: CreateIndividualStreamJobResponseSelectStreamTypeEnum | undefined);
|
|
46
|
+
get selectStreamType(): CreateIndividualStreamJobResponseSelectStreamTypeEnum | undefined;
|
|
47
|
+
withMaxIdleTime(maxIdleTime: number): CreateIndividualStreamJobResponse;
|
|
48
|
+
set maxIdleTime(maxIdleTime: number | undefined);
|
|
49
|
+
get maxIdleTime(): number | undefined;
|
|
50
|
+
withRecordParam(recordParam: RecordParam): CreateIndividualStreamJobResponse;
|
|
51
|
+
set recordParam(recordParam: RecordParam | undefined);
|
|
52
|
+
get recordParam(): RecordParam | undefined;
|
|
53
|
+
withCreateTime(createTime: string): CreateIndividualStreamJobResponse;
|
|
54
|
+
set createTime(createTime: string | undefined);
|
|
55
|
+
get createTime(): string | undefined;
|
|
56
|
+
withUpdateTime(updateTime: string): CreateIndividualStreamJobResponse;
|
|
57
|
+
set updateTime(updateTime: string | undefined);
|
|
58
|
+
get updateTime(): string | undefined;
|
|
59
|
+
withState(state: CreateIndividualStreamJobResponseStateEnum): CreateIndividualStreamJobResponse;
|
|
60
|
+
withStopReason(stopReason: CreateIndividualStreamJobResponseStopReasonEnum): CreateIndividualStreamJobResponse;
|
|
61
|
+
set stopReason(stopReason: CreateIndividualStreamJobResponseStopReasonEnum | undefined);
|
|
62
|
+
get stopReason(): CreateIndividualStreamJobResponseStopReasonEnum | undefined;
|
|
63
|
+
withDescription(description: string): CreateIndividualStreamJobResponse;
|
|
64
|
+
withStartTime(startTime: string): CreateIndividualStreamJobResponse;
|
|
65
|
+
set startTime(startTime: string | undefined);
|
|
66
|
+
get startTime(): string | undefined;
|
|
67
|
+
withStopTime(stopTime: string): CreateIndividualStreamJobResponse;
|
|
68
|
+
set stopTime(stopTime: string | undefined);
|
|
69
|
+
get stopTime(): string | undefined;
|
|
70
|
+
withXRequestId(xRequestId: string): CreateIndividualStreamJobResponse;
|
|
71
|
+
set xRequestId(xRequestId: string | undefined);
|
|
72
|
+
get xRequestId(): string | undefined;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* @export
|
|
76
|
+
* @enum {string}
|
|
77
|
+
*/
|
|
78
|
+
export declare enum CreateIndividualStreamJobResponseVideoTypeEnum {
|
|
79
|
+
CAMERASTREAM = "CAMERASTREAM",
|
|
80
|
+
SCREENSTREAM = "SCREENSTREAM",
|
|
81
|
+
Empty = ""
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* @export
|
|
85
|
+
* @enum {string}
|
|
86
|
+
*/
|
|
87
|
+
export declare enum CreateIndividualStreamJobResponseSelectStreamTypeEnum {
|
|
88
|
+
LD = "LD",
|
|
89
|
+
SD = "SD",
|
|
90
|
+
HD = "HD",
|
|
91
|
+
FHD = "FHD"
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* @export
|
|
95
|
+
* @enum {string}
|
|
96
|
+
*/
|
|
97
|
+
export declare enum CreateIndividualStreamJobResponseStateEnum {
|
|
98
|
+
INIT = "INIT",
|
|
99
|
+
RUNNING = "RUNNING",
|
|
100
|
+
STOPPED = "STOPPED"
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* @export
|
|
104
|
+
* @enum {string}
|
|
105
|
+
*/
|
|
106
|
+
export declare enum CreateIndividualStreamJobResponseStopReasonEnum {
|
|
107
|
+
TENANT_STOP = "TENANT_STOP",
|
|
108
|
+
EXCEED_MAX_IDLE_TIME = "EXCEED_MAX_IDLE_TIME",
|
|
109
|
+
INTERNAL_ERROR = "INTERNAL_ERROR"
|
|
110
|
+
}
|
|
@@ -0,0 +1,300 @@
|
|
|
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.CreateIndividualStreamJobResponseStopReasonEnum = exports.CreateIndividualStreamJobResponseStateEnum = exports.CreateIndividualStreamJobResponseSelectStreamTypeEnum = exports.CreateIndividualStreamJobResponseVideoTypeEnum = exports.CreateIndividualStreamJobResponse = void 0;
|
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
20
|
+
var CreateIndividualStreamJobResponse = /** @class */ (function (_super) {
|
|
21
|
+
__extends(CreateIndividualStreamJobResponse, _super);
|
|
22
|
+
function CreateIndividualStreamJobResponse() {
|
|
23
|
+
return _super.call(this) || this;
|
|
24
|
+
}
|
|
25
|
+
CreateIndividualStreamJobResponse.prototype.withJobId = function (jobId) {
|
|
26
|
+
this['job_id'] = jobId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(CreateIndividualStreamJobResponse.prototype, "jobId", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this['job_id'];
|
|
32
|
+
},
|
|
33
|
+
set: function (jobId) {
|
|
34
|
+
this['job_id'] = jobId;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
CreateIndividualStreamJobResponse.prototype.withStreamName = function (streamName) {
|
|
40
|
+
this['stream_name'] = streamName;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(CreateIndividualStreamJobResponse.prototype, "streamName", {
|
|
44
|
+
get: function () {
|
|
45
|
+
return this['stream_name'];
|
|
46
|
+
},
|
|
47
|
+
set: function (streamName) {
|
|
48
|
+
this['stream_name'] = streamName;
|
|
49
|
+
},
|
|
50
|
+
enumerable: false,
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
CreateIndividualStreamJobResponse.prototype.withAppId = function (appId) {
|
|
54
|
+
this['app_id'] = appId;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
Object.defineProperty(CreateIndividualStreamJobResponse.prototype, "appId", {
|
|
58
|
+
get: function () {
|
|
59
|
+
return this['app_id'];
|
|
60
|
+
},
|
|
61
|
+
set: function (appId) {
|
|
62
|
+
this['app_id'] = appId;
|
|
63
|
+
},
|
|
64
|
+
enumerable: false,
|
|
65
|
+
configurable: true
|
|
66
|
+
});
|
|
67
|
+
CreateIndividualStreamJobResponse.prototype.withRoomId = function (roomId) {
|
|
68
|
+
this['room_id'] = roomId;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
Object.defineProperty(CreateIndividualStreamJobResponse.prototype, "roomId", {
|
|
72
|
+
get: function () {
|
|
73
|
+
return this['room_id'];
|
|
74
|
+
},
|
|
75
|
+
set: function (roomId) {
|
|
76
|
+
this['room_id'] = roomId;
|
|
77
|
+
},
|
|
78
|
+
enumerable: false,
|
|
79
|
+
configurable: true
|
|
80
|
+
});
|
|
81
|
+
CreateIndividualStreamJobResponse.prototype.withUserId = function (userId) {
|
|
82
|
+
this['user_id'] = userId;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
Object.defineProperty(CreateIndividualStreamJobResponse.prototype, "userId", {
|
|
86
|
+
get: function () {
|
|
87
|
+
return this['user_id'];
|
|
88
|
+
},
|
|
89
|
+
set: function (userId) {
|
|
90
|
+
this['user_id'] = userId;
|
|
91
|
+
},
|
|
92
|
+
enumerable: false,
|
|
93
|
+
configurable: true
|
|
94
|
+
});
|
|
95
|
+
CreateIndividualStreamJobResponse.prototype.withIsRecordAudio = function (isRecordAudio) {
|
|
96
|
+
this['is_record_audio'] = isRecordAudio;
|
|
97
|
+
return this;
|
|
98
|
+
};
|
|
99
|
+
Object.defineProperty(CreateIndividualStreamJobResponse.prototype, "isRecordAudio", {
|
|
100
|
+
get: function () {
|
|
101
|
+
return this['is_record_audio'];
|
|
102
|
+
},
|
|
103
|
+
set: function (isRecordAudio) {
|
|
104
|
+
this['is_record_audio'] = isRecordAudio;
|
|
105
|
+
},
|
|
106
|
+
enumerable: false,
|
|
107
|
+
configurable: true
|
|
108
|
+
});
|
|
109
|
+
CreateIndividualStreamJobResponse.prototype.withVideoType = function (videoType) {
|
|
110
|
+
this['video_type'] = videoType;
|
|
111
|
+
return this;
|
|
112
|
+
};
|
|
113
|
+
Object.defineProperty(CreateIndividualStreamJobResponse.prototype, "videoType", {
|
|
114
|
+
get: function () {
|
|
115
|
+
return this['video_type'];
|
|
116
|
+
},
|
|
117
|
+
set: function (videoType) {
|
|
118
|
+
this['video_type'] = videoType;
|
|
119
|
+
},
|
|
120
|
+
enumerable: false,
|
|
121
|
+
configurable: true
|
|
122
|
+
});
|
|
123
|
+
CreateIndividualStreamJobResponse.prototype.withSelectStreamType = function (selectStreamType) {
|
|
124
|
+
this['select_stream_type'] = selectStreamType;
|
|
125
|
+
return this;
|
|
126
|
+
};
|
|
127
|
+
Object.defineProperty(CreateIndividualStreamJobResponse.prototype, "selectStreamType", {
|
|
128
|
+
get: function () {
|
|
129
|
+
return this['select_stream_type'];
|
|
130
|
+
},
|
|
131
|
+
set: function (selectStreamType) {
|
|
132
|
+
this['select_stream_type'] = selectStreamType;
|
|
133
|
+
},
|
|
134
|
+
enumerable: false,
|
|
135
|
+
configurable: true
|
|
136
|
+
});
|
|
137
|
+
CreateIndividualStreamJobResponse.prototype.withMaxIdleTime = function (maxIdleTime) {
|
|
138
|
+
this['max_idle_time'] = maxIdleTime;
|
|
139
|
+
return this;
|
|
140
|
+
};
|
|
141
|
+
Object.defineProperty(CreateIndividualStreamJobResponse.prototype, "maxIdleTime", {
|
|
142
|
+
get: function () {
|
|
143
|
+
return this['max_idle_time'];
|
|
144
|
+
},
|
|
145
|
+
set: function (maxIdleTime) {
|
|
146
|
+
this['max_idle_time'] = maxIdleTime;
|
|
147
|
+
},
|
|
148
|
+
enumerable: false,
|
|
149
|
+
configurable: true
|
|
150
|
+
});
|
|
151
|
+
CreateIndividualStreamJobResponse.prototype.withRecordParam = function (recordParam) {
|
|
152
|
+
this['record_param'] = recordParam;
|
|
153
|
+
return this;
|
|
154
|
+
};
|
|
155
|
+
Object.defineProperty(CreateIndividualStreamJobResponse.prototype, "recordParam", {
|
|
156
|
+
get: function () {
|
|
157
|
+
return this['record_param'];
|
|
158
|
+
},
|
|
159
|
+
set: function (recordParam) {
|
|
160
|
+
this['record_param'] = recordParam;
|
|
161
|
+
},
|
|
162
|
+
enumerable: false,
|
|
163
|
+
configurable: true
|
|
164
|
+
});
|
|
165
|
+
CreateIndividualStreamJobResponse.prototype.withCreateTime = function (createTime) {
|
|
166
|
+
this['create_time'] = createTime;
|
|
167
|
+
return this;
|
|
168
|
+
};
|
|
169
|
+
Object.defineProperty(CreateIndividualStreamJobResponse.prototype, "createTime", {
|
|
170
|
+
get: function () {
|
|
171
|
+
return this['create_time'];
|
|
172
|
+
},
|
|
173
|
+
set: function (createTime) {
|
|
174
|
+
this['create_time'] = createTime;
|
|
175
|
+
},
|
|
176
|
+
enumerable: false,
|
|
177
|
+
configurable: true
|
|
178
|
+
});
|
|
179
|
+
CreateIndividualStreamJobResponse.prototype.withUpdateTime = function (updateTime) {
|
|
180
|
+
this['update_time'] = updateTime;
|
|
181
|
+
return this;
|
|
182
|
+
};
|
|
183
|
+
Object.defineProperty(CreateIndividualStreamJobResponse.prototype, "updateTime", {
|
|
184
|
+
get: function () {
|
|
185
|
+
return this['update_time'];
|
|
186
|
+
},
|
|
187
|
+
set: function (updateTime) {
|
|
188
|
+
this['update_time'] = updateTime;
|
|
189
|
+
},
|
|
190
|
+
enumerable: false,
|
|
191
|
+
configurable: true
|
|
192
|
+
});
|
|
193
|
+
CreateIndividualStreamJobResponse.prototype.withState = function (state) {
|
|
194
|
+
this['state'] = state;
|
|
195
|
+
return this;
|
|
196
|
+
};
|
|
197
|
+
CreateIndividualStreamJobResponse.prototype.withStopReason = function (stopReason) {
|
|
198
|
+
this['stop_reason'] = stopReason;
|
|
199
|
+
return this;
|
|
200
|
+
};
|
|
201
|
+
Object.defineProperty(CreateIndividualStreamJobResponse.prototype, "stopReason", {
|
|
202
|
+
get: function () {
|
|
203
|
+
return this['stop_reason'];
|
|
204
|
+
},
|
|
205
|
+
set: function (stopReason) {
|
|
206
|
+
this['stop_reason'] = stopReason;
|
|
207
|
+
},
|
|
208
|
+
enumerable: false,
|
|
209
|
+
configurable: true
|
|
210
|
+
});
|
|
211
|
+
CreateIndividualStreamJobResponse.prototype.withDescription = function (description) {
|
|
212
|
+
this['description'] = description;
|
|
213
|
+
return this;
|
|
214
|
+
};
|
|
215
|
+
CreateIndividualStreamJobResponse.prototype.withStartTime = function (startTime) {
|
|
216
|
+
this['start_time'] = startTime;
|
|
217
|
+
return this;
|
|
218
|
+
};
|
|
219
|
+
Object.defineProperty(CreateIndividualStreamJobResponse.prototype, "startTime", {
|
|
220
|
+
get: function () {
|
|
221
|
+
return this['start_time'];
|
|
222
|
+
},
|
|
223
|
+
set: function (startTime) {
|
|
224
|
+
this['start_time'] = startTime;
|
|
225
|
+
},
|
|
226
|
+
enumerable: false,
|
|
227
|
+
configurable: true
|
|
228
|
+
});
|
|
229
|
+
CreateIndividualStreamJobResponse.prototype.withStopTime = function (stopTime) {
|
|
230
|
+
this['stop_time'] = stopTime;
|
|
231
|
+
return this;
|
|
232
|
+
};
|
|
233
|
+
Object.defineProperty(CreateIndividualStreamJobResponse.prototype, "stopTime", {
|
|
234
|
+
get: function () {
|
|
235
|
+
return this['stop_time'];
|
|
236
|
+
},
|
|
237
|
+
set: function (stopTime) {
|
|
238
|
+
this['stop_time'] = stopTime;
|
|
239
|
+
},
|
|
240
|
+
enumerable: false,
|
|
241
|
+
configurable: true
|
|
242
|
+
});
|
|
243
|
+
CreateIndividualStreamJobResponse.prototype.withXRequestId = function (xRequestId) {
|
|
244
|
+
this['X-request-Id'] = xRequestId;
|
|
245
|
+
return this;
|
|
246
|
+
};
|
|
247
|
+
Object.defineProperty(CreateIndividualStreamJobResponse.prototype, "xRequestId", {
|
|
248
|
+
get: function () {
|
|
249
|
+
return this['X-request-Id'];
|
|
250
|
+
},
|
|
251
|
+
set: function (xRequestId) {
|
|
252
|
+
this['X-request-Id'] = xRequestId;
|
|
253
|
+
},
|
|
254
|
+
enumerable: false,
|
|
255
|
+
configurable: true
|
|
256
|
+
});
|
|
257
|
+
return CreateIndividualStreamJobResponse;
|
|
258
|
+
}(SdkResponse_1.SdkResponse));
|
|
259
|
+
exports.CreateIndividualStreamJobResponse = CreateIndividualStreamJobResponse;
|
|
260
|
+
/**
|
|
261
|
+
* @export
|
|
262
|
+
* @enum {string}
|
|
263
|
+
*/
|
|
264
|
+
var CreateIndividualStreamJobResponseVideoTypeEnum;
|
|
265
|
+
(function (CreateIndividualStreamJobResponseVideoTypeEnum) {
|
|
266
|
+
CreateIndividualStreamJobResponseVideoTypeEnum["CAMERASTREAM"] = "CAMERASTREAM";
|
|
267
|
+
CreateIndividualStreamJobResponseVideoTypeEnum["SCREENSTREAM"] = "SCREENSTREAM";
|
|
268
|
+
CreateIndividualStreamJobResponseVideoTypeEnum["Empty"] = "";
|
|
269
|
+
})(CreateIndividualStreamJobResponseVideoTypeEnum || (exports.CreateIndividualStreamJobResponseVideoTypeEnum = CreateIndividualStreamJobResponseVideoTypeEnum = {}));
|
|
270
|
+
/**
|
|
271
|
+
* @export
|
|
272
|
+
* @enum {string}
|
|
273
|
+
*/
|
|
274
|
+
var CreateIndividualStreamJobResponseSelectStreamTypeEnum;
|
|
275
|
+
(function (CreateIndividualStreamJobResponseSelectStreamTypeEnum) {
|
|
276
|
+
CreateIndividualStreamJobResponseSelectStreamTypeEnum["LD"] = "LD";
|
|
277
|
+
CreateIndividualStreamJobResponseSelectStreamTypeEnum["SD"] = "SD";
|
|
278
|
+
CreateIndividualStreamJobResponseSelectStreamTypeEnum["HD"] = "HD";
|
|
279
|
+
CreateIndividualStreamJobResponseSelectStreamTypeEnum["FHD"] = "FHD";
|
|
280
|
+
})(CreateIndividualStreamJobResponseSelectStreamTypeEnum || (exports.CreateIndividualStreamJobResponseSelectStreamTypeEnum = CreateIndividualStreamJobResponseSelectStreamTypeEnum = {}));
|
|
281
|
+
/**
|
|
282
|
+
* @export
|
|
283
|
+
* @enum {string}
|
|
284
|
+
*/
|
|
285
|
+
var CreateIndividualStreamJobResponseStateEnum;
|
|
286
|
+
(function (CreateIndividualStreamJobResponseStateEnum) {
|
|
287
|
+
CreateIndividualStreamJobResponseStateEnum["INIT"] = "INIT";
|
|
288
|
+
CreateIndividualStreamJobResponseStateEnum["RUNNING"] = "RUNNING";
|
|
289
|
+
CreateIndividualStreamJobResponseStateEnum["STOPPED"] = "STOPPED";
|
|
290
|
+
})(CreateIndividualStreamJobResponseStateEnum || (exports.CreateIndividualStreamJobResponseStateEnum = CreateIndividualStreamJobResponseStateEnum = {}));
|
|
291
|
+
/**
|
|
292
|
+
* @export
|
|
293
|
+
* @enum {string}
|
|
294
|
+
*/
|
|
295
|
+
var CreateIndividualStreamJobResponseStopReasonEnum;
|
|
296
|
+
(function (CreateIndividualStreamJobResponseStopReasonEnum) {
|
|
297
|
+
CreateIndividualStreamJobResponseStopReasonEnum["TENANT_STOP"] = "TENANT_STOP";
|
|
298
|
+
CreateIndividualStreamJobResponseStopReasonEnum["EXCEED_MAX_IDLE_TIME"] = "EXCEED_MAX_IDLE_TIME";
|
|
299
|
+
CreateIndividualStreamJobResponseStopReasonEnum["INTERNAL_ERROR"] = "INTERNAL_ERROR";
|
|
300
|
+
})(CreateIndividualStreamJobResponseStopReasonEnum || (exports.CreateIndividualStreamJobResponseStopReasonEnum = CreateIndividualStreamJobResponseStopReasonEnum = {}));
|