@alicloud/polardb20170801 7.0.0 → 7.1.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 +63 -18
- package/dist/client.js +168 -18
- package/dist/client.js.map +1 -1
- package/dist/models/CreateBatchConsumerRequest.d.ts +61 -0
- package/dist/models/CreateBatchConsumerRequest.js +66 -0
- package/dist/models/CreateBatchConsumerRequest.js.map +1 -0
- package/dist/models/CreateBatchConsumerResponse.d.ts +19 -0
- package/dist/models/CreateBatchConsumerResponse.js +69 -0
- package/dist/models/CreateBatchConsumerResponse.js.map +1 -0
- package/dist/models/CreateBatchConsumerResponseBody.d.ts +147 -0
- package/dist/models/CreateBatchConsumerResponseBody.js +106 -0
- package/dist/models/CreateBatchConsumerResponseBody.js.map +1 -0
- package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +66 -97
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js +2 -0
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeApikeyAttributeRequest.d.ts +39 -0
- package/dist/models/DescribeApikeyAttributeRequest.js +64 -0
- package/dist/models/DescribeApikeyAttributeRequest.js.map +1 -0
- package/dist/models/DescribeApikeyAttributeResponse.d.ts +19 -0
- package/dist/models/DescribeApikeyAttributeResponse.js +69 -0
- package/dist/models/DescribeApikeyAttributeResponse.js.map +1 -0
- package/dist/models/DescribeApikeyAttributeResponseBody.d.ts +167 -0
- package/dist/models/DescribeApikeyAttributeResponseBody.js +168 -0
- package/dist/models/DescribeApikeyAttributeResponseBody.js.map +1 -0
- package/dist/models/DescribeGatewayApikeyListRequest.d.ts +43 -0
- package/dist/models/DescribeGatewayApikeyListRequest.js +62 -0
- package/dist/models/DescribeGatewayApikeyListRequest.js.map +1 -0
- package/dist/models/DescribeGatewayApikeyListResponse.d.ts +19 -0
- package/dist/models/DescribeGatewayApikeyListResponse.js +69 -0
- package/dist/models/DescribeGatewayApikeyListResponse.js.map +1 -0
- package/dist/models/DescribeGatewayApikeyListResponseBody.d.ts +147 -0
- package/dist/models/DescribeGatewayApikeyListResponseBody.js +106 -0
- package/dist/models/DescribeGatewayApikeyListResponseBody.js.map +1 -0
- package/dist/models/DescribePolarClawAgentsRequest.d.ts +1 -1
- package/dist/models/DescribePolarClawAgentsResponseBody.d.ts +79 -11
- package/dist/models/DescribePolarClawAgentsResponseBody.js +71 -1
- package/dist/models/DescribePolarClawAgentsResponseBody.js.map +1 -1
- package/dist/models/DescribePolarClawAgentsShrinkRequest.d.ts +1 -1
- package/dist/models/DescribePolarFsAttributeRequest.d.ts +5 -8
- package/dist/models/DescribePolarFsAttributeRequest.js.map +1 -1
- package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +49 -57
- package/dist/models/DescribePolarFsAttributeResponseBody.js +2 -0
- package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribePolarFsObjectsResponseBody.d.ts +13 -13
- package/dist/models/UpdatePolarClawAgentRequest.d.ts +20 -10
- package/dist/models/UpdatePolarClawAgentRequest.js +4 -0
- package/dist/models/UpdatePolarClawAgentRequest.js.map +1 -1
- package/dist/models/UpdatePolarClawAgentResponseBody.d.ts +15 -15
- package/dist/models/UpdatePolarClawAgentShrinkRequest.d.ts +18 -8
- package/dist/models/UpdatePolarClawAgentShrinkRequest.js +4 -0
- package/dist/models/UpdatePolarClawAgentShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +16 -0
- package/dist/models/model.js +68 -35
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +188 -18
- package/src/models/CreateBatchConsumerRequest.ts +82 -0
- package/src/models/CreateBatchConsumerResponse.ts +40 -0
- package/src/models/CreateBatchConsumerResponseBody.ts +199 -0
- package/src/models/DescribeAidbclusterAttributeResponseBody.ts +68 -97
- package/src/models/DescribeApikeyAttributeRequest.ts +58 -0
- package/src/models/DescribeApikeyAttributeResponse.ts +40 -0
- package/src/models/DescribeApikeyAttributeResponseBody.ts +263 -0
- package/src/models/DescribeGatewayApikeyListRequest.ts +60 -0
- package/src/models/DescribeGatewayApikeyListResponse.ts +40 -0
- package/src/models/DescribeGatewayApikeyListResponseBody.ts +199 -0
- package/src/models/DescribePolarClawAgentsRequest.ts +1 -1
- package/src/models/DescribePolarClawAgentsResponseBody.ts +131 -11
- package/src/models/DescribePolarClawAgentsShrinkRequest.ts +1 -1
- package/src/models/DescribePolarFsAttributeRequest.ts +5 -8
- package/src/models/DescribePolarFsAttributeResponseBody.ts +52 -58
- package/src/models/DescribePolarFsObjectsResponseBody.ts +13 -13
- package/src/models/UpdatePolarClawAgentRequest.ts +24 -10
- package/src/models/UpdatePolarClawAgentResponseBody.ts +15 -15
- package/src/models/UpdatePolarClawAgentShrinkRequest.ts +22 -8
- package/src/models/model.ts +16 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class CreateBatchConsumerRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The client token that is used to ensure the idempotence of the request and prevent repeated request submissions. The value is generated by the client and must be unique among different requests. The value is case-sensitive and cannot exceed 64 ASCII characters in length.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* 6000170000591aed949d0f5********************
|
|
9
|
+
*/
|
|
10
|
+
clientToken?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The ID of the user group.
|
|
14
|
+
*
|
|
15
|
+
* This parameter is required.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* cg-xxxxxx
|
|
19
|
+
*/
|
|
20
|
+
consumerGroupId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @remarks
|
|
23
|
+
* The number of user API keys to create.
|
|
24
|
+
*
|
|
25
|
+
* This parameter is required.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* 1
|
|
29
|
+
*/
|
|
30
|
+
count?: number;
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The gateway instance ID.
|
|
34
|
+
*
|
|
35
|
+
* This parameter is required.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* pg-xxxxxxxx
|
|
39
|
+
*/
|
|
40
|
+
gwClusterId?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* The region ID.
|
|
44
|
+
*
|
|
45
|
+
* This parameter is required.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* cn-beijing
|
|
49
|
+
*/
|
|
50
|
+
regionId?: string;
|
|
51
|
+
static names(): {
|
|
52
|
+
[key: string]: string;
|
|
53
|
+
};
|
|
54
|
+
static types(): {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
};
|
|
57
|
+
validate(): void;
|
|
58
|
+
constructor(map?: {
|
|
59
|
+
[key: string]: any;
|
|
60
|
+
});
|
|
61
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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.CreateBatchConsumerRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class CreateBatchConsumerRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
clientToken: 'ClientToken',
|
|
43
|
+
consumerGroupId: 'ConsumerGroupId',
|
|
44
|
+
count: 'Count',
|
|
45
|
+
gwClusterId: 'GwClusterId',
|
|
46
|
+
regionId: 'RegionId',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
static types() {
|
|
50
|
+
return {
|
|
51
|
+
clientToken: 'string',
|
|
52
|
+
consumerGroupId: 'string',
|
|
53
|
+
count: 'number',
|
|
54
|
+
gwClusterId: 'string',
|
|
55
|
+
regionId: 'string',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
validate() {
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
constructor(map) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.CreateBatchConsumerRequest = CreateBatchConsumerRequest;
|
|
66
|
+
//# sourceMappingURL=CreateBatchConsumerRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateBatchConsumerRequest.js","sourceRoot":"","sources":["../../src/models/CreateBatchConsumerRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAiDzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,eAAe,EAAE,iBAAiB;YAClC,KAAK,EAAE,OAAO;YACd,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,eAAe,EAAE,QAAQ;YACzB,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,QAAQ;YACrB,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;AA5ED,gEA4EC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { CreateBatchConsumerResponseBody } from "./CreateBatchConsumerResponseBody";
|
|
3
|
+
export declare class CreateBatchConsumerResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: CreateBatchConsumerResponseBody;
|
|
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.CreateBatchConsumerResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const CreateBatchConsumerResponseBody_1 = require("./CreateBatchConsumerResponseBody");
|
|
40
|
+
class CreateBatchConsumerResponse 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: CreateBatchConsumerResponseBody_1.CreateBatchConsumerResponseBody,
|
|
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.CreateBatchConsumerResponse = CreateBatchConsumerResponse;
|
|
69
|
+
//# sourceMappingURL=CreateBatchConsumerResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateBatchConsumerResponse.js","sourceRoot":"","sources":["../../src/models/CreateBatchConsumerResponse.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,147 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class CreateBatchConsumerResponseBodyItems extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The complete API key. This value is returned only in the current response.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* xxxxxxxx
|
|
9
|
+
*/
|
|
10
|
+
apiKey?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The API key status. Default value: Active.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* Active
|
|
17
|
+
*/
|
|
18
|
+
apiStatus?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The ID of the user group.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* cg-xxxxxx
|
|
25
|
+
*/
|
|
26
|
+
consumerGroupId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The user ID.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* c-mqveroemc***
|
|
33
|
+
*/
|
|
34
|
+
consumerId?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The consumer tag.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* test
|
|
41
|
+
*/
|
|
42
|
+
consumerTag?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The gateway instance ID.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* pg-xxxxxxxxxx
|
|
49
|
+
*/
|
|
50
|
+
gwClusterId?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The name.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* test
|
|
57
|
+
*/
|
|
58
|
+
name?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* The consumer status. Default value: Enabled.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* Enabled
|
|
65
|
+
*/
|
|
66
|
+
status?: string;
|
|
67
|
+
static names(): {
|
|
68
|
+
[key: string]: string;
|
|
69
|
+
};
|
|
70
|
+
static types(): {
|
|
71
|
+
[key: string]: any;
|
|
72
|
+
};
|
|
73
|
+
validate(): void;
|
|
74
|
+
constructor(map?: {
|
|
75
|
+
[key: string]: any;
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
export declare class CreateBatchConsumerResponseBody extends $dara.Model {
|
|
79
|
+
/**
|
|
80
|
+
* @remarks
|
|
81
|
+
* The list of consumer objects.
|
|
82
|
+
*/
|
|
83
|
+
items?: CreateBatchConsumerResponseBodyItems[];
|
|
84
|
+
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The page number. Default value: 1.
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* 1
|
|
90
|
+
*/
|
|
91
|
+
pageNumber?: number;
|
|
92
|
+
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* The number of records on the current page.
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* 1
|
|
98
|
+
*/
|
|
99
|
+
pageRecordCount?: number;
|
|
100
|
+
/**
|
|
101
|
+
* @remarks
|
|
102
|
+
* The number of records per page. Valid values:
|
|
103
|
+
* * **30**
|
|
104
|
+
* * **50**
|
|
105
|
+
* * **100**
|
|
106
|
+
*
|
|
107
|
+
* Default value: 30.
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* 30
|
|
111
|
+
*/
|
|
112
|
+
pageSize?: number;
|
|
113
|
+
/**
|
|
114
|
+
* @remarks
|
|
115
|
+
* Id of the request
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* A7E6A8FD-C50B-46B2-BA85-D8B8D3******
|
|
119
|
+
*/
|
|
120
|
+
requestId?: string;
|
|
121
|
+
/**
|
|
122
|
+
* @remarks
|
|
123
|
+
* The total number of pages.
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* 1
|
|
127
|
+
*/
|
|
128
|
+
totalPages?: number;
|
|
129
|
+
/**
|
|
130
|
+
* @remarks
|
|
131
|
+
* The total number of records.
|
|
132
|
+
*
|
|
133
|
+
* @example
|
|
134
|
+
* 2
|
|
135
|
+
*/
|
|
136
|
+
totalRecordCount?: number;
|
|
137
|
+
static names(): {
|
|
138
|
+
[key: string]: string;
|
|
139
|
+
};
|
|
140
|
+
static types(): {
|
|
141
|
+
[key: string]: any;
|
|
142
|
+
};
|
|
143
|
+
validate(): void;
|
|
144
|
+
constructor(map?: {
|
|
145
|
+
[key: string]: any;
|
|
146
|
+
});
|
|
147
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
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.CreateBatchConsumerResponseBody = exports.CreateBatchConsumerResponseBodyItems = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class CreateBatchConsumerResponseBodyItems extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
apiKey: 'ApiKey',
|
|
43
|
+
apiStatus: 'ApiStatus',
|
|
44
|
+
consumerGroupId: 'ConsumerGroupId',
|
|
45
|
+
consumerId: 'ConsumerId',
|
|
46
|
+
consumerTag: 'ConsumerTag',
|
|
47
|
+
gwClusterId: 'GwClusterId',
|
|
48
|
+
name: 'Name',
|
|
49
|
+
status: 'Status',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
static types() {
|
|
53
|
+
return {
|
|
54
|
+
apiKey: 'string',
|
|
55
|
+
apiStatus: 'string',
|
|
56
|
+
consumerGroupId: 'string',
|
|
57
|
+
consumerId: 'string',
|
|
58
|
+
consumerTag: 'string',
|
|
59
|
+
gwClusterId: 'string',
|
|
60
|
+
name: 'string',
|
|
61
|
+
status: 'string',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
validate() {
|
|
65
|
+
super.validate();
|
|
66
|
+
}
|
|
67
|
+
constructor(map) {
|
|
68
|
+
super(map);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.CreateBatchConsumerResponseBodyItems = CreateBatchConsumerResponseBodyItems;
|
|
72
|
+
class CreateBatchConsumerResponseBody extends $dara.Model {
|
|
73
|
+
static names() {
|
|
74
|
+
return {
|
|
75
|
+
items: 'Items',
|
|
76
|
+
pageNumber: 'PageNumber',
|
|
77
|
+
pageRecordCount: 'PageRecordCount',
|
|
78
|
+
pageSize: 'PageSize',
|
|
79
|
+
requestId: 'RequestId',
|
|
80
|
+
totalPages: 'TotalPages',
|
|
81
|
+
totalRecordCount: 'TotalRecordCount',
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
static types() {
|
|
85
|
+
return {
|
|
86
|
+
items: { 'type': 'array', 'itemType': CreateBatchConsumerResponseBodyItems },
|
|
87
|
+
pageNumber: 'number',
|
|
88
|
+
pageRecordCount: 'number',
|
|
89
|
+
pageSize: 'number',
|
|
90
|
+
requestId: 'string',
|
|
91
|
+
totalPages: 'number',
|
|
92
|
+
totalRecordCount: 'number',
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
validate() {
|
|
96
|
+
if (Array.isArray(this.items)) {
|
|
97
|
+
$dara.Model.validateArray(this.items);
|
|
98
|
+
}
|
|
99
|
+
super.validate();
|
|
100
|
+
}
|
|
101
|
+
constructor(map) {
|
|
102
|
+
super(map);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.CreateBatchConsumerResponseBody = CreateBatchConsumerResponseBody;
|
|
106
|
+
//# sourceMappingURL=CreateBatchConsumerResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateBatchConsumerResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateBatchConsumerResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAiEnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,eAAe,EAAE,iBAAiB;YAClC,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,MAAM;YACZ,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,QAAQ;YACnB,eAAe,EAAE,QAAQ;YACzB,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,IAAI,EAAE,QAAQ;YACd,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;AAlGD,oFAkGC;AAED,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IA2D9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,UAAU,EAAE,YAAY;YACxB,eAAe,EAAE,iBAAiB;YAClC,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,gBAAgB,EAAE,kBAAkB;SACrC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,oCAAoC,EAAE;YAC5E,UAAU,EAAE,QAAQ;YACpB,eAAe,EAAE,QAAQ;YACzB,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;YACpB,gBAAgB,EAAE,QAAQ;SAC3B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YAC7B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7FD,0EA6FC"}
|