@alicloud/apig20240327 10.1.4 → 10.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +90 -0
- package/dist/client.js +278 -21
- package/dist/client.js.map +1 -1
- package/dist/models/BatchExportHttpApisRequest.d.ts +54 -0
- package/dist/models/BatchExportHttpApisRequest.js +99 -0
- package/dist/models/BatchExportHttpApisRequest.js.map +1 -0
- package/dist/models/BatchExportHttpApisResponse.d.ts +19 -0
- package/dist/models/BatchExportHttpApisResponse.js +69 -0
- package/dist/models/BatchExportHttpApisResponse.js.map +1 -0
- package/dist/models/BatchExportHttpApisResponseBody.d.ts +46 -0
- package/dist/models/BatchExportHttpApisResponseBody.js +86 -0
- package/dist/models/BatchExportHttpApisResponseBody.js.map +1 -0
- package/dist/models/BatchImportHttpApisRequest.d.ts +81 -0
- package/dist/models/BatchImportHttpApisRequest.js +100 -0
- package/dist/models/BatchImportHttpApisRequest.js.map +1 -0
- package/dist/models/BatchImportHttpApisResponse.d.ts +19 -0
- package/dist/models/BatchImportHttpApisResponse.js +69 -0
- package/dist/models/BatchImportHttpApisResponse.js.map +1 -0
- package/dist/models/BatchImportHttpApisResponseBody.d.ts +46 -0
- package/dist/models/BatchImportHttpApisResponseBody.js +86 -0
- package/dist/models/BatchImportHttpApisResponseBody.js.map +1 -0
- package/dist/models/DeployHttpApiRequest.d.ts +5 -5
- package/dist/models/GetBatchExportTaskRequest.d.ts +13 -0
- package/dist/models/GetBatchExportTaskRequest.js +54 -0
- package/dist/models/GetBatchExportTaskRequest.js.map +1 -0
- package/dist/models/GetBatchExportTaskResponse.d.ts +19 -0
- package/dist/models/GetBatchExportTaskResponse.js +69 -0
- package/dist/models/GetBatchExportTaskResponse.js.map +1 -0
- package/dist/models/GetBatchExportTaskResponseBody.d.ts +160 -0
- package/dist/models/GetBatchExportTaskResponseBody.js +182 -0
- package/dist/models/GetBatchExportTaskResponseBody.js.map +1 -0
- package/dist/models/GetBatchImportTaskRequest.d.ts +13 -0
- package/dist/models/GetBatchImportTaskRequest.js +54 -0
- package/dist/models/GetBatchImportTaskRequest.js.map +1 -0
- package/dist/models/GetBatchImportTaskResponse.d.ts +19 -0
- package/dist/models/GetBatchImportTaskResponse.js +69 -0
- package/dist/models/GetBatchImportTaskResponse.js.map +1 -0
- package/dist/models/GetBatchImportTaskResponseBody.d.ts +515 -0
- package/dist/models/GetBatchImportTaskResponseBody.js +538 -0
- package/dist/models/GetBatchImportTaskResponseBody.js.map +1 -0
- package/dist/models/ListBatchExportTasksRequest.d.ts +53 -0
- package/dist/models/ListBatchExportTasksRequest.js +72 -0
- package/dist/models/ListBatchExportTasksRequest.js.map +1 -0
- package/dist/models/ListBatchExportTasksResponse.d.ts +19 -0
- package/dist/models/ListBatchExportTasksResponse.js +69 -0
- package/dist/models/ListBatchExportTasksResponse.js.map +1 -0
- package/dist/models/ListBatchExportTasksResponseBody.d.ts +119 -0
- package/dist/models/ListBatchExportTasksResponseBody.js +132 -0
- package/dist/models/ListBatchExportTasksResponseBody.js.map +1 -0
- package/dist/models/QueryConsumerAuthorizationRulesRequest.d.ts +5 -1
- package/dist/models/QueryConsumerAuthorizationRulesRequest.js.map +1 -1
- package/dist/models/QueryConsumerAuthorizationRulesResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +41 -0
- package/dist/models/model.js +98 -15
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +310 -21
- package/src/models/BatchExportHttpApisRequest.ts +99 -0
- package/src/models/BatchExportHttpApisResponse.ts +40 -0
- package/src/models/BatchExportHttpApisResponseBody.ts +78 -0
- package/src/models/BatchImportHttpApisRequest.ts +127 -0
- package/src/models/BatchImportHttpApisResponse.ts +40 -0
- package/src/models/BatchImportHttpApisResponseBody.ts +78 -0
- package/src/models/DeployHttpApiRequest.ts +5 -5
- package/src/models/GetBatchExportTaskRequest.ts +24 -0
- package/src/models/GetBatchExportTaskResponse.ts +40 -0
- package/src/models/GetBatchExportTaskResponseBody.ts +261 -0
- package/src/models/GetBatchImportTaskRequest.ts +24 -0
- package/src/models/GetBatchImportTaskResponse.ts +40 -0
- package/src/models/GetBatchImportTaskResponseBody.ts +864 -0
- package/src/models/ListBatchExportTasksRequest.ts +80 -0
- package/src/models/ListBatchExportTasksResponse.ts +40 -0
- package/src/models/ListBatchExportTasksResponseBody.ts +188 -0
- package/src/models/QueryConsumerAuthorizationRulesRequest.ts +5 -1
- package/src/models/QueryConsumerAuthorizationRulesResponseBody.ts +1 -1
- package/src/models/model.ts +41 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class BatchExportHttpApisRequestExtensionConfig extends $dara.Model {
|
|
3
|
+
withAuthConfig?: boolean;
|
|
4
|
+
withAuthConsumer?: boolean;
|
|
5
|
+
withPlugin?: boolean;
|
|
6
|
+
withPolicy?: boolean;
|
|
7
|
+
withService?: boolean;
|
|
8
|
+
static names(): {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
static types(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
validate(): void;
|
|
15
|
+
constructor(map?: {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
export declare class BatchExportHttpApisRequest extends $dara.Model {
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* This parameter is required.
|
|
23
|
+
*/
|
|
24
|
+
apiIds?: string[];
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* This parameter is required.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* Http
|
|
31
|
+
*/
|
|
32
|
+
apiType?: string;
|
|
33
|
+
extensionConfig?: BatchExportHttpApisRequestExtensionConfig;
|
|
34
|
+
/**
|
|
35
|
+
* @example
|
|
36
|
+
* yaml
|
|
37
|
+
*/
|
|
38
|
+
format?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @example
|
|
41
|
+
* gw-xxx
|
|
42
|
+
*/
|
|
43
|
+
gatewayId?: string;
|
|
44
|
+
static names(): {
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
};
|
|
47
|
+
static types(): {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
};
|
|
50
|
+
validate(): void;
|
|
51
|
+
constructor(map?: {
|
|
52
|
+
[key: string]: any;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.BatchExportHttpApisRequest = exports.BatchExportHttpApisRequestExtensionConfig = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class BatchExportHttpApisRequestExtensionConfig extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
withAuthConfig: 'withAuthConfig',
|
|
43
|
+
withAuthConsumer: 'withAuthConsumer',
|
|
44
|
+
withPlugin: 'withPlugin',
|
|
45
|
+
withPolicy: 'withPolicy',
|
|
46
|
+
withService: 'withService',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
static types() {
|
|
50
|
+
return {
|
|
51
|
+
withAuthConfig: 'boolean',
|
|
52
|
+
withAuthConsumer: 'boolean',
|
|
53
|
+
withPlugin: 'boolean',
|
|
54
|
+
withPolicy: 'boolean',
|
|
55
|
+
withService: 'boolean',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
validate() {
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
constructor(map) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.BatchExportHttpApisRequestExtensionConfig = BatchExportHttpApisRequestExtensionConfig;
|
|
66
|
+
class BatchExportHttpApisRequest extends $dara.Model {
|
|
67
|
+
static names() {
|
|
68
|
+
return {
|
|
69
|
+
apiIds: 'apiIds',
|
|
70
|
+
apiType: 'apiType',
|
|
71
|
+
extensionConfig: 'extensionConfig',
|
|
72
|
+
format: 'format',
|
|
73
|
+
gatewayId: 'gatewayId',
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
static types() {
|
|
77
|
+
return {
|
|
78
|
+
apiIds: { 'type': 'array', 'itemType': 'string' },
|
|
79
|
+
apiType: 'string',
|
|
80
|
+
extensionConfig: BatchExportHttpApisRequestExtensionConfig,
|
|
81
|
+
format: 'string',
|
|
82
|
+
gatewayId: 'string',
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
validate() {
|
|
86
|
+
if (Array.isArray(this.apiIds)) {
|
|
87
|
+
$dara.Model.validateArray(this.apiIds);
|
|
88
|
+
}
|
|
89
|
+
if (this.extensionConfig && typeof this.extensionConfig.validate === 'function') {
|
|
90
|
+
this.extensionConfig.validate();
|
|
91
|
+
}
|
|
92
|
+
super.validate();
|
|
93
|
+
}
|
|
94
|
+
constructor(map) {
|
|
95
|
+
super(map);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.BatchExportHttpApisRequest = BatchExportHttpApisRequest;
|
|
99
|
+
//# sourceMappingURL=BatchExportHttpApisRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchExportHttpApisRequest.js","sourceRoot":"","sources":["../../src/models/BatchExportHttpApisRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yCAA0C,SAAQ,KAAK,CAAC,KAAK;IAMxE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,gBAAgB,EAAE,kBAAkB;YACpC,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,SAAS;YACzB,gBAAgB,EAAE,SAAS;YAC3B,UAAU,EAAE,SAAS;YACrB,UAAU,EAAE,SAAS;YACrB,WAAW,EAAE,SAAS;SACvB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,8FAiCC;AAED,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAyBzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,SAAS;YAClB,eAAe,EAAE,iBAAiB;YAClC,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACjD,OAAO,EAAE,QAAQ;YACjB,eAAe,EAAE,yCAAyC;YAC1D,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YAC9B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACzC,CAAC;QACD,IAAG,IAAI,CAAC,eAAe,IAAI,OAAQ,IAAI,CAAC,eAAuB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACvF,IAAI,CAAC,eAAuB,CAAC,QAAQ,EAAE,CAAC;QAC3C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1DD,gEA0DC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { BatchExportHttpApisResponseBody } from "./BatchExportHttpApisResponseBody";
|
|
3
|
+
export declare class BatchExportHttpApisResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: BatchExportHttpApisResponseBody;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.BatchExportHttpApisResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const BatchExportHttpApisResponseBody_1 = require("./BatchExportHttpApisResponseBody");
|
|
40
|
+
class BatchExportHttpApisResponse extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
headers: 'headers',
|
|
44
|
+
statusCode: 'statusCode',
|
|
45
|
+
body: 'body',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
51
|
+
statusCode: 'number',
|
|
52
|
+
body: BatchExportHttpApisResponseBody_1.BatchExportHttpApisResponseBody,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
validate() {
|
|
56
|
+
if (this.headers) {
|
|
57
|
+
$dara.Model.validateMap(this.headers);
|
|
58
|
+
}
|
|
59
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
60
|
+
this.body.validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
constructor(map) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.BatchExportHttpApisResponse = BatchExportHttpApisResponse;
|
|
69
|
+
//# sourceMappingURL=BatchExportHttpApisResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchExportHttpApisResponse.js","sourceRoot":"","sources":["../../src/models/BatchExportHttpApisResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uFAAoF;AAGpF,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAI1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,iEAA+B;SACtC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,kEAiCC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class BatchExportHttpApisResponseBodyData extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* async-task-xxx
|
|
6
|
+
*/
|
|
7
|
+
taskId?: string;
|
|
8
|
+
static names(): {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
static types(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
validate(): void;
|
|
15
|
+
constructor(map?: {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
export declare class BatchExportHttpApisResponseBody extends $dara.Model {
|
|
20
|
+
/**
|
|
21
|
+
* @example
|
|
22
|
+
* Ok
|
|
23
|
+
*/
|
|
24
|
+
code?: string;
|
|
25
|
+
data?: BatchExportHttpApisResponseBodyData;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* success
|
|
29
|
+
*/
|
|
30
|
+
message?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* CE534E1D-FCE4-5930-B784-E055EC1AEE6F
|
|
34
|
+
*/
|
|
35
|
+
requestId?: string;
|
|
36
|
+
static names(): {
|
|
37
|
+
[key: string]: string;
|
|
38
|
+
};
|
|
39
|
+
static types(): {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
};
|
|
42
|
+
validate(): void;
|
|
43
|
+
constructor(map?: {
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
});
|
|
46
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.BatchExportHttpApisResponseBody = exports.BatchExportHttpApisResponseBodyData = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class BatchExportHttpApisResponseBodyData extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
taskId: 'taskId',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
static types() {
|
|
46
|
+
return {
|
|
47
|
+
taskId: 'string',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
constructor(map) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.BatchExportHttpApisResponseBodyData = BatchExportHttpApisResponseBodyData;
|
|
58
|
+
class BatchExportHttpApisResponseBody extends $dara.Model {
|
|
59
|
+
static names() {
|
|
60
|
+
return {
|
|
61
|
+
code: 'code',
|
|
62
|
+
data: 'data',
|
|
63
|
+
message: 'message',
|
|
64
|
+
requestId: 'requestId',
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
static types() {
|
|
68
|
+
return {
|
|
69
|
+
code: 'string',
|
|
70
|
+
data: BatchExportHttpApisResponseBodyData,
|
|
71
|
+
message: 'string',
|
|
72
|
+
requestId: 'string',
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
validate() {
|
|
76
|
+
if (this.data && typeof this.data.validate === 'function') {
|
|
77
|
+
this.data.validate();
|
|
78
|
+
}
|
|
79
|
+
super.validate();
|
|
80
|
+
}
|
|
81
|
+
constructor(map) {
|
|
82
|
+
super(map);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.BatchExportHttpApisResponseBody = BatchExportHttpApisResponseBody;
|
|
86
|
+
//# sourceMappingURL=BatchExportHttpApisResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchExportHttpApisResponseBody.js","sourceRoot":"","sources":["../../src/models/BatchExportHttpApisResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAMlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzBD,kFAyBC;AAED,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAiB9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,mCAAmC;YACzC,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7CD,0EA6CC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class BatchImportHttpApisRequestSpecOssConfig extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* This parameter is required.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* my-bucket
|
|
9
|
+
*/
|
|
10
|
+
bucketName?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* imports/batch.zip
|
|
17
|
+
*/
|
|
18
|
+
objectKey?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* cn-hangzhou
|
|
25
|
+
*/
|
|
26
|
+
regionId?: string;
|
|
27
|
+
static names(): {
|
|
28
|
+
[key: string]: string;
|
|
29
|
+
};
|
|
30
|
+
static types(): {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
};
|
|
33
|
+
validate(): void;
|
|
34
|
+
constructor(map?: {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
export declare class BatchImportHttpApisRequest extends $dara.Model {
|
|
39
|
+
allowUpdate?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* This parameter is required.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* Http
|
|
46
|
+
*/
|
|
47
|
+
apiType?: string;
|
|
48
|
+
dryRun?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* @example
|
|
51
|
+
* gw-xxx
|
|
52
|
+
*/
|
|
53
|
+
gatewayId?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* rg-xxx
|
|
57
|
+
*/
|
|
58
|
+
resourceGroupId?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @example
|
|
61
|
+
* https://oss-cn-hangzhou.aliyuncs.com/my-bucket/imports/batch.zip
|
|
62
|
+
*/
|
|
63
|
+
specFileUrl?: string;
|
|
64
|
+
specOssConfig?: BatchImportHttpApisRequestSpecOssConfig;
|
|
65
|
+
/**
|
|
66
|
+
* @example
|
|
67
|
+
* ExistFirst
|
|
68
|
+
*/
|
|
69
|
+
strategy?: string;
|
|
70
|
+
withGatewayExtension?: boolean;
|
|
71
|
+
static names(): {
|
|
72
|
+
[key: string]: string;
|
|
73
|
+
};
|
|
74
|
+
static types(): {
|
|
75
|
+
[key: string]: any;
|
|
76
|
+
};
|
|
77
|
+
validate(): void;
|
|
78
|
+
constructor(map?: {
|
|
79
|
+
[key: string]: any;
|
|
80
|
+
});
|
|
81
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.BatchImportHttpApisRequest = exports.BatchImportHttpApisRequestSpecOssConfig = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class BatchImportHttpApisRequestSpecOssConfig extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
bucketName: 'bucketName',
|
|
43
|
+
objectKey: 'objectKey',
|
|
44
|
+
regionId: 'regionId',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static types() {
|
|
48
|
+
return {
|
|
49
|
+
bucketName: 'string',
|
|
50
|
+
objectKey: 'string',
|
|
51
|
+
regionId: 'string',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
validate() {
|
|
55
|
+
super.validate();
|
|
56
|
+
}
|
|
57
|
+
constructor(map) {
|
|
58
|
+
super(map);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.BatchImportHttpApisRequestSpecOssConfig = BatchImportHttpApisRequestSpecOssConfig;
|
|
62
|
+
class BatchImportHttpApisRequest extends $dara.Model {
|
|
63
|
+
static names() {
|
|
64
|
+
return {
|
|
65
|
+
allowUpdate: 'allowUpdate',
|
|
66
|
+
apiType: 'apiType',
|
|
67
|
+
dryRun: 'dryRun',
|
|
68
|
+
gatewayId: 'gatewayId',
|
|
69
|
+
resourceGroupId: 'resourceGroupId',
|
|
70
|
+
specFileUrl: 'specFileUrl',
|
|
71
|
+
specOssConfig: 'specOssConfig',
|
|
72
|
+
strategy: 'strategy',
|
|
73
|
+
withGatewayExtension: 'withGatewayExtension',
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
static types() {
|
|
77
|
+
return {
|
|
78
|
+
allowUpdate: 'boolean',
|
|
79
|
+
apiType: 'string',
|
|
80
|
+
dryRun: 'boolean',
|
|
81
|
+
gatewayId: 'string',
|
|
82
|
+
resourceGroupId: 'string',
|
|
83
|
+
specFileUrl: 'string',
|
|
84
|
+
specOssConfig: BatchImportHttpApisRequestSpecOssConfig,
|
|
85
|
+
strategy: 'string',
|
|
86
|
+
withGatewayExtension: 'boolean',
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
validate() {
|
|
90
|
+
if (this.specOssConfig && typeof this.specOssConfig.validate === 'function') {
|
|
91
|
+
this.specOssConfig.validate();
|
|
92
|
+
}
|
|
93
|
+
super.validate();
|
|
94
|
+
}
|
|
95
|
+
constructor(map) {
|
|
96
|
+
super(map);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.BatchImportHttpApisRequest = BatchImportHttpApisRequest;
|
|
100
|
+
//# sourceMappingURL=BatchImportHttpApisRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchImportHttpApisRequest.js","sourceRoot":"","sources":["../../src/models/BatchImportHttpApisRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uCAAwC,SAAQ,KAAK,CAAC,KAAK;IAyBtE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,0FAgDC;AAED,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAiCzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,eAAe,EAAE,iBAAiB;YAClC,WAAW,EAAE,aAAa;YAC1B,aAAa,EAAE,eAAe;YAC9B,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;SAC7C,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,SAAS;YACtB,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,QAAQ;YACnB,eAAe,EAAE,QAAQ;YACzB,WAAW,EAAE,QAAQ;YACrB,aAAa,EAAE,uCAAuC;YACtD,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,SAAS;SAChC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,aAAa,IAAI,OAAQ,IAAI,CAAC,aAAqB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACnF,IAAI,CAAC,aAAqB,CAAC,QAAQ,EAAE,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvED,gEAuEC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { BatchImportHttpApisResponseBody } from "./BatchImportHttpApisResponseBody";
|
|
3
|
+
export declare class BatchImportHttpApisResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: BatchImportHttpApisResponseBody;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.BatchImportHttpApisResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const BatchImportHttpApisResponseBody_1 = require("./BatchImportHttpApisResponseBody");
|
|
40
|
+
class BatchImportHttpApisResponse extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
headers: 'headers',
|
|
44
|
+
statusCode: 'statusCode',
|
|
45
|
+
body: 'body',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
51
|
+
statusCode: 'number',
|
|
52
|
+
body: BatchImportHttpApisResponseBody_1.BatchImportHttpApisResponseBody,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
validate() {
|
|
56
|
+
if (this.headers) {
|
|
57
|
+
$dara.Model.validateMap(this.headers);
|
|
58
|
+
}
|
|
59
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
60
|
+
this.body.validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
constructor(map) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.BatchImportHttpApisResponse = BatchImportHttpApisResponse;
|
|
69
|
+
//# sourceMappingURL=BatchImportHttpApisResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchImportHttpApisResponse.js","sourceRoot":"","sources":["../../src/models/BatchImportHttpApisResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uFAAoF;AAGpF,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAI1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,iEAA+B;SACtC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,kEAiCC"}
|