@alicloud/polardb20170801 7.0.0 → 7.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 +189 -24
- package/dist/client.js +576 -24
- 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/CreateDbnodesRequest.d.ts +34 -54
- package/dist/models/CreateDbnodesRequest.js.map +1 -1
- package/dist/models/CreateDbnodesResponseBody.d.ts +1 -1
- 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 +51 -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 +248 -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/DescribePolarClawAgentFileRequest.d.ts +43 -0
- package/dist/models/DescribePolarClawAgentFileRequest.js +62 -0
- package/dist/models/DescribePolarClawAgentFileRequest.js.map +1 -0
- package/dist/models/DescribePolarClawAgentFileResponse.d.ts +19 -0
- package/dist/models/DescribePolarClawAgentFileResponse.js +69 -0
- package/dist/models/DescribePolarClawAgentFileResponse.js.map +1 -0
- package/dist/models/DescribePolarClawAgentFileResponseBody.d.ts +126 -0
- package/dist/models/DescribePolarClawAgentFileResponseBody.js +102 -0
- package/dist/models/DescribePolarClawAgentFileResponseBody.js.map +1 -0
- package/dist/models/DescribePolarClawAgentToolsRequest.d.ts +41 -0
- package/dist/models/DescribePolarClawAgentToolsRequest.js +62 -0
- package/dist/models/DescribePolarClawAgentToolsRequest.js.map +1 -0
- package/dist/models/DescribePolarClawAgentToolsResponse.d.ts +19 -0
- package/dist/models/DescribePolarClawAgentToolsResponse.js +69 -0
- package/dist/models/DescribePolarClawAgentToolsResponse.js.map +1 -0
- package/dist/models/DescribePolarClawAgentToolsResponseBody.d.ts +221 -0
- package/dist/models/DescribePolarClawAgentToolsResponseBody.js +194 -0
- package/dist/models/DescribePolarClawAgentToolsResponseBody.js.map +1 -0
- package/dist/models/DescribePolarClawAgentsRequest.d.ts +1 -1
- package/dist/models/DescribePolarClawAgentsResponseBody.d.ts +118 -10
- 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/DescribePolarClawSkillDetailRequest.d.ts +33 -0
- package/dist/models/DescribePolarClawSkillDetailRequest.js +60 -0
- package/dist/models/DescribePolarClawSkillDetailRequest.js.map +1 -0
- package/dist/models/DescribePolarClawSkillDetailResponse.d.ts +19 -0
- package/dist/models/DescribePolarClawSkillDetailResponse.js +69 -0
- package/dist/models/DescribePolarClawSkillDetailResponse.js.map +1 -0
- package/dist/models/DescribePolarClawSkillDetailResponseBody.d.ts +269 -0
- package/dist/models/DescribePolarClawSkillDetailResponseBody.js +193 -0
- package/dist/models/DescribePolarClawSkillDetailResponseBody.js.map +1 -0
- 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/InstallPolarClawSkillRequest.d.ts +63 -0
- package/dist/models/InstallPolarClawSkillRequest.js +68 -0
- package/dist/models/InstallPolarClawSkillRequest.js.map +1 -0
- package/dist/models/InstallPolarClawSkillResponse.d.ts +19 -0
- package/dist/models/InstallPolarClawSkillResponse.js +69 -0
- package/dist/models/InstallPolarClawSkillResponse.js.map +1 -0
- package/dist/models/InstallPolarClawSkillResponseBody.d.ts +77 -0
- package/dist/models/InstallPolarClawSkillResponseBody.js +72 -0
- package/dist/models/InstallPolarClawSkillResponseBody.js.map +1 -0
- package/dist/models/ModifyDbnodeClassRequest.d.ts +23 -32
- package/dist/models/ModifyDbnodeClassRequest.js.map +1 -1
- package/dist/models/ModifyDbnodeClassResponseBody.d.ts +1 -1
- package/dist/models/SearchPolarClawSkillsRequest.d.ts +39 -0
- package/dist/models/SearchPolarClawSkillsRequest.js +62 -0
- package/dist/models/SearchPolarClawSkillsRequest.js.map +1 -0
- package/dist/models/SearchPolarClawSkillsResponse.d.ts +19 -0
- package/dist/models/SearchPolarClawSkillsResponse.js +69 -0
- package/dist/models/SearchPolarClawSkillsResponse.js.map +1 -0
- package/dist/models/SearchPolarClawSkillsResponseBody.d.ts +110 -0
- package/dist/models/SearchPolarClawSkillsResponseBody.js +98 -0
- package/dist/models/SearchPolarClawSkillsResponseBody.js.map +1 -0
- package/dist/models/UpdatePolarClawAgentRequest.d.ts +23 -7
- package/dist/models/UpdatePolarClawAgentRequest.js +4 -0
- package/dist/models/UpdatePolarClawAgentRequest.js.map +1 -1
- package/dist/models/UpdatePolarClawAgentResponseBody.d.ts +9 -9
- package/dist/models/UpdatePolarClawAgentShrinkRequest.d.ts +22 -6
- package/dist/models/UpdatePolarClawAgentShrinkRequest.js +4 -0
- package/dist/models/UpdatePolarClawAgentShrinkRequest.js.map +1 -1
- package/dist/models/UpdatePolarClawAgentSkillsRequest.d.ts +41 -0
- package/dist/models/UpdatePolarClawAgentSkillsRequest.js +65 -0
- package/dist/models/UpdatePolarClawAgentSkillsRequest.js.map +1 -0
- package/dist/models/UpdatePolarClawAgentSkillsResponse.d.ts +19 -0
- package/dist/models/UpdatePolarClawAgentSkillsResponse.js +69 -0
- package/dist/models/UpdatePolarClawAgentSkillsResponse.js.map +1 -0
- package/dist/models/UpdatePolarClawAgentSkillsResponseBody.d.ts +66 -0
- package/dist/models/UpdatePolarClawAgentSkillsResponseBody.js +73 -0
- package/dist/models/UpdatePolarClawAgentSkillsResponseBody.js.map +1 -0
- package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.d.ts +41 -0
- package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.js +62 -0
- package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.js.map +1 -0
- package/dist/models/UpdatePolarClawAgentToolsRequest.d.ts +65 -0
- package/dist/models/UpdatePolarClawAgentToolsRequest.js +77 -0
- package/dist/models/UpdatePolarClawAgentToolsRequest.js.map +1 -0
- package/dist/models/UpdatePolarClawAgentToolsResponse.d.ts +19 -0
- package/dist/models/UpdatePolarClawAgentToolsResponse.js +69 -0
- package/dist/models/UpdatePolarClawAgentToolsResponse.js.map +1 -0
- package/dist/models/UpdatePolarClawAgentToolsResponseBody.d.ts +101 -0
- package/dist/models/UpdatePolarClawAgentToolsResponseBody.js +107 -0
- package/dist/models/UpdatePolarClawAgentToolsResponseBody.js.map +1 -0
- package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.d.ts +65 -0
- package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.js +68 -0
- package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.js.map +1 -0
- package/dist/models/UpdatePolarClawSkillRequest.d.ts +59 -0
- package/dist/models/UpdatePolarClawSkillRequest.js +69 -0
- package/dist/models/UpdatePolarClawSkillRequest.js.map +1 -0
- package/dist/models/UpdatePolarClawSkillResponse.d.ts +19 -0
- package/dist/models/UpdatePolarClawSkillResponse.js +69 -0
- package/dist/models/UpdatePolarClawSkillResponse.js.map +1 -0
- package/dist/models/UpdatePolarClawSkillResponseBody.d.ts +93 -0
- package/dist/models/UpdatePolarClawSkillResponseBody.js +97 -0
- package/dist/models/UpdatePolarClawSkillResponseBody.js.map +1 -0
- package/dist/models/UpdatePolarClawSkillShrinkRequest.d.ts +57 -0
- package/dist/models/UpdatePolarClawSkillShrinkRequest.js +66 -0
- package/dist/models/UpdatePolarClawSkillShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +55 -0
- package/dist/models/model.js +146 -35
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +648 -24
- package/src/models/CreateBatchConsumerRequest.ts +82 -0
- package/src/models/CreateBatchConsumerResponse.ts +40 -0
- package/src/models/CreateBatchConsumerResponseBody.ts +199 -0
- package/src/models/CreateDbnodesRequest.ts +34 -54
- package/src/models/CreateDbnodesResponseBody.ts +1 -1
- package/src/models/DescribeAidbclusterAttributeResponseBody.ts +68 -97
- package/src/models/DescribeApikeyAttributeRequest.ts +70 -0
- package/src/models/DescribeApikeyAttributeResponse.ts +40 -0
- package/src/models/DescribeApikeyAttributeResponseBody.ts +344 -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/DescribePolarClawAgentFileRequest.ts +60 -0
- package/src/models/DescribePolarClawAgentFileResponse.ts +40 -0
- package/src/models/DescribePolarClawAgentFileResponseBody.ts +174 -0
- package/src/models/DescribePolarClawAgentToolsRequest.ts +58 -0
- package/src/models/DescribePolarClawAgentToolsResponse.ts +40 -0
- package/src/models/DescribePolarClawAgentToolsResponseBody.ts +334 -0
- package/src/models/DescribePolarClawAgentsRequest.ts +1 -1
- package/src/models/DescribePolarClawAgentsResponseBody.ts +170 -10
- package/src/models/DescribePolarClawAgentsShrinkRequest.ts +1 -1
- package/src/models/DescribePolarClawSkillDetailRequest.ts +48 -0
- package/src/models/DescribePolarClawSkillDetailResponse.ts +40 -0
- package/src/models/DescribePolarClawSkillDetailResponseBody.ts +379 -0
- package/src/models/DescribePolarFsAttributeRequest.ts +5 -8
- package/src/models/DescribePolarFsAttributeResponseBody.ts +52 -58
- package/src/models/DescribePolarFsObjectsResponseBody.ts +13 -13
- package/src/models/InstallPolarClawSkillRequest.ts +86 -0
- package/src/models/InstallPolarClawSkillResponse.ts +40 -0
- package/src/models/InstallPolarClawSkillResponseBody.ts +104 -0
- package/src/models/ModifyDbnodeClassRequest.ts +23 -32
- package/src/models/ModifyDbnodeClassResponseBody.ts +1 -1
- package/src/models/SearchPolarClawSkillsRequest.ts +56 -0
- package/src/models/SearchPolarClawSkillsResponse.ts +40 -0
- package/src/models/SearchPolarClawSkillsResponseBody.ts +154 -0
- package/src/models/UpdatePolarClawAgentRequest.ts +27 -7
- package/src/models/UpdatePolarClawAgentResponseBody.ts +9 -9
- package/src/models/UpdatePolarClawAgentShrinkRequest.ts +26 -6
- package/src/models/UpdatePolarClawAgentSkillsRequest.ts +61 -0
- package/src/models/UpdatePolarClawAgentSkillsResponse.ts +40 -0
- package/src/models/UpdatePolarClawAgentSkillsResponseBody.ts +94 -0
- package/src/models/UpdatePolarClawAgentSkillsShrinkRequest.ts +58 -0
- package/src/models/UpdatePolarClawAgentToolsRequest.ts +97 -0
- package/src/models/UpdatePolarClawAgentToolsResponse.ts +40 -0
- package/src/models/UpdatePolarClawAgentToolsResponseBody.ts +154 -0
- package/src/models/UpdatePolarClawAgentToolsShrinkRequest.ts +88 -0
- package/src/models/UpdatePolarClawSkillRequest.ts +81 -0
- package/src/models/UpdatePolarClawSkillResponse.ts +40 -0
- package/src/models/UpdatePolarClawSkillResponseBody.ts +134 -0
- package/src/models/UpdatePolarClawSkillShrinkRequest.ts +78 -0
- package/src/models/model.ts +55 -0
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeApikeyAttributeResponseBodyItemsConsumer extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The API key.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ***
|
|
12
|
+
*/
|
|
13
|
+
apiKey?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The user group ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* cg-bq6rcdjp02vt
|
|
20
|
+
*/
|
|
21
|
+
consumerGroupId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The consumer ID.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* c-71qh3pscbd3i
|
|
28
|
+
*/
|
|
29
|
+
consumerId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The consumer tag.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* test
|
|
36
|
+
*/
|
|
37
|
+
consumerTag?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The creation time.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* 2021-07-18T07:32:30Z
|
|
44
|
+
*/
|
|
45
|
+
createTime?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The gateway instance ID.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* pg-2ze5n62ef4s165***
|
|
52
|
+
*/
|
|
53
|
+
gwClusterId?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The last modification time.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* 2026-04-10T01:48:25Z
|
|
60
|
+
*/
|
|
61
|
+
modifyTime?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The consumer name.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* test
|
|
68
|
+
*/
|
|
69
|
+
name?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The consumer status.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* Enabled
|
|
76
|
+
*/
|
|
77
|
+
status?: string;
|
|
78
|
+
static names(): { [key: string]: string } {
|
|
79
|
+
return {
|
|
80
|
+
apiKey: 'ApiKey',
|
|
81
|
+
consumerGroupId: 'ConsumerGroupId',
|
|
82
|
+
consumerId: 'ConsumerId',
|
|
83
|
+
consumerTag: 'ConsumerTag',
|
|
84
|
+
createTime: 'CreateTime',
|
|
85
|
+
gwClusterId: 'GwClusterId',
|
|
86
|
+
modifyTime: 'ModifyTime',
|
|
87
|
+
name: 'Name',
|
|
88
|
+
status: 'Status',
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
static types(): { [key: string]: any } {
|
|
93
|
+
return {
|
|
94
|
+
apiKey: 'string',
|
|
95
|
+
consumerGroupId: 'string',
|
|
96
|
+
consumerId: 'string',
|
|
97
|
+
consumerTag: 'string',
|
|
98
|
+
createTime: 'string',
|
|
99
|
+
gwClusterId: 'string',
|
|
100
|
+
modifyTime: 'string',
|
|
101
|
+
name: 'string',
|
|
102
|
+
status: 'string',
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
validate() {
|
|
107
|
+
super.validate();
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
constructor(map?: { [key: string]: any }) {
|
|
111
|
+
super(map);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export class DescribeApikeyAttributeResponseBodyItemsUsageStatistics extends $dara.Model {
|
|
116
|
+
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* The dimension reference ID, which is the ConsumerId.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* c-xxxxxx
|
|
122
|
+
*/
|
|
123
|
+
dimensionRefId?: string;
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* The statistics dimension. The value is typically Consumer.
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* Consumer
|
|
130
|
+
*/
|
|
131
|
+
dimensionType?: string;
|
|
132
|
+
/**
|
|
133
|
+
* @remarks
|
|
134
|
+
* The gateway instance ID.
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* pg-bp1ln7w98yrhzz7i2
|
|
138
|
+
*/
|
|
139
|
+
gwClusterId?: string;
|
|
140
|
+
/**
|
|
141
|
+
* @remarks
|
|
142
|
+
* The number of cache tokens for the current month.
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* 10
|
|
146
|
+
*/
|
|
147
|
+
monthlyCacheToken?: string;
|
|
148
|
+
/**
|
|
149
|
+
* @remarks
|
|
150
|
+
* The cost points consumed for the current month.
|
|
151
|
+
*
|
|
152
|
+
* @example
|
|
153
|
+
* 10
|
|
154
|
+
*/
|
|
155
|
+
monthlyCostPoints?: string;
|
|
156
|
+
/**
|
|
157
|
+
* @remarks
|
|
158
|
+
* The number of input tokens for the current month.
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* 10
|
|
162
|
+
*/
|
|
163
|
+
monthlyInputToken?: string;
|
|
164
|
+
/**
|
|
165
|
+
* @remarks
|
|
166
|
+
* The number of output tokens for the current month.
|
|
167
|
+
*
|
|
168
|
+
* @example
|
|
169
|
+
* 10
|
|
170
|
+
*/
|
|
171
|
+
monthlyOutputToken?: string;
|
|
172
|
+
/**
|
|
173
|
+
* @remarks
|
|
174
|
+
* The number of tokens for the current month.
|
|
175
|
+
*
|
|
176
|
+
* @example
|
|
177
|
+
* 10
|
|
178
|
+
*/
|
|
179
|
+
monthlyToken?: string;
|
|
180
|
+
/**
|
|
181
|
+
* @remarks
|
|
182
|
+
* The cumulative number of cache tokens.
|
|
183
|
+
*
|
|
184
|
+
* @example
|
|
185
|
+
* 10
|
|
186
|
+
*/
|
|
187
|
+
totalCacheToken?: string;
|
|
188
|
+
/**
|
|
189
|
+
* @remarks
|
|
190
|
+
* The cumulative cost points consumed.
|
|
191
|
+
*
|
|
192
|
+
* @example
|
|
193
|
+
* 10
|
|
194
|
+
*/
|
|
195
|
+
totalCostPoints?: string;
|
|
196
|
+
/**
|
|
197
|
+
* @remarks
|
|
198
|
+
* The cumulative number of input tokens.
|
|
199
|
+
*
|
|
200
|
+
* @example
|
|
201
|
+
* 10
|
|
202
|
+
*/
|
|
203
|
+
totalInputToken?: string;
|
|
204
|
+
/**
|
|
205
|
+
* @remarks
|
|
206
|
+
* The cumulative number of output tokens.
|
|
207
|
+
*
|
|
208
|
+
* @example
|
|
209
|
+
* 10
|
|
210
|
+
*/
|
|
211
|
+
totalOutputToken?: string;
|
|
212
|
+
/**
|
|
213
|
+
* @remarks
|
|
214
|
+
* The cumulative number of tokens.
|
|
215
|
+
*
|
|
216
|
+
* @example
|
|
217
|
+
* 10
|
|
218
|
+
*/
|
|
219
|
+
totalToken?: string;
|
|
220
|
+
static names(): { [key: string]: string } {
|
|
221
|
+
return {
|
|
222
|
+
dimensionRefId: 'DimensionRefId',
|
|
223
|
+
dimensionType: 'DimensionType',
|
|
224
|
+
gwClusterId: 'GwClusterId',
|
|
225
|
+
monthlyCacheToken: 'MonthlyCacheToken',
|
|
226
|
+
monthlyCostPoints: 'MonthlyCostPoints',
|
|
227
|
+
monthlyInputToken: 'MonthlyInputToken',
|
|
228
|
+
monthlyOutputToken: 'MonthlyOutputToken',
|
|
229
|
+
monthlyToken: 'MonthlyToken',
|
|
230
|
+
totalCacheToken: 'TotalCacheToken',
|
|
231
|
+
totalCostPoints: 'TotalCostPoints',
|
|
232
|
+
totalInputToken: 'TotalInputToken',
|
|
233
|
+
totalOutputToken: 'TotalOutputToken',
|
|
234
|
+
totalToken: 'TotalToken',
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
static types(): { [key: string]: any } {
|
|
239
|
+
return {
|
|
240
|
+
dimensionRefId: 'string',
|
|
241
|
+
dimensionType: 'string',
|
|
242
|
+
gwClusterId: 'string',
|
|
243
|
+
monthlyCacheToken: 'string',
|
|
244
|
+
monthlyCostPoints: 'string',
|
|
245
|
+
monthlyInputToken: 'string',
|
|
246
|
+
monthlyOutputToken: 'string',
|
|
247
|
+
monthlyToken: 'string',
|
|
248
|
+
totalCacheToken: 'string',
|
|
249
|
+
totalCostPoints: 'string',
|
|
250
|
+
totalInputToken: 'string',
|
|
251
|
+
totalOutputToken: 'string',
|
|
252
|
+
totalToken: 'string',
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
validate() {
|
|
257
|
+
super.validate();
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
constructor(map?: { [key: string]: any }) {
|
|
261
|
+
super(map);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export class DescribeApikeyAttributeResponseBodyItems extends $dara.Model {
|
|
266
|
+
/**
|
|
267
|
+
* @remarks
|
|
268
|
+
* The consumer information.
|
|
269
|
+
*/
|
|
270
|
+
consumer?: DescribeApikeyAttributeResponseBodyItemsConsumer;
|
|
271
|
+
/**
|
|
272
|
+
* @remarks
|
|
273
|
+
* The usage statistics for the consumer.
|
|
274
|
+
*/
|
|
275
|
+
usageStatistics?: DescribeApikeyAttributeResponseBodyItemsUsageStatistics[];
|
|
276
|
+
static names(): { [key: string]: string } {
|
|
277
|
+
return {
|
|
278
|
+
consumer: 'Consumer',
|
|
279
|
+
usageStatistics: 'UsageStatistics',
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
static types(): { [key: string]: any } {
|
|
284
|
+
return {
|
|
285
|
+
consumer: DescribeApikeyAttributeResponseBodyItemsConsumer,
|
|
286
|
+
usageStatistics: { 'type': 'array', 'itemType': DescribeApikeyAttributeResponseBodyItemsUsageStatistics },
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
validate() {
|
|
291
|
+
if(this.consumer && typeof (this.consumer as any).validate === 'function') {
|
|
292
|
+
(this.consumer as any).validate();
|
|
293
|
+
}
|
|
294
|
+
if(Array.isArray(this.usageStatistics)) {
|
|
295
|
+
$dara.Model.validateArray(this.usageStatistics);
|
|
296
|
+
}
|
|
297
|
+
super.validate();
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
constructor(map?: { [key: string]: any }) {
|
|
301
|
+
super(map);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
export class DescribeApikeyAttributeResponseBody extends $dara.Model {
|
|
306
|
+
/**
|
|
307
|
+
* @remarks
|
|
308
|
+
* The list of consumer objects.
|
|
309
|
+
*/
|
|
310
|
+
items?: DescribeApikeyAttributeResponseBodyItems[];
|
|
311
|
+
/**
|
|
312
|
+
* @remarks
|
|
313
|
+
* Id of the request
|
|
314
|
+
*
|
|
315
|
+
* @example
|
|
316
|
+
* F3322AFE-083E-4D77-A074-421301******
|
|
317
|
+
*/
|
|
318
|
+
requestId?: string;
|
|
319
|
+
static names(): { [key: string]: string } {
|
|
320
|
+
return {
|
|
321
|
+
items: 'Items',
|
|
322
|
+
requestId: 'RequestId',
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
static types(): { [key: string]: any } {
|
|
327
|
+
return {
|
|
328
|
+
items: { 'type': 'array', 'itemType': DescribeApikeyAttributeResponseBodyItems },
|
|
329
|
+
requestId: 'string',
|
|
330
|
+
};
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
validate() {
|
|
334
|
+
if(Array.isArray(this.items)) {
|
|
335
|
+
$dara.Model.validateArray(this.items);
|
|
336
|
+
}
|
|
337
|
+
super.validate();
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
constructor(map?: { [key: string]: any }) {
|
|
341
|
+
super(map);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeGatewayApikeyListRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The page number. Default value: 1.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1
|
|
12
|
+
*/
|
|
13
|
+
pageNumber?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The number of entries per page. Valid values:
|
|
17
|
+
* * **30**
|
|
18
|
+
* * **50**
|
|
19
|
+
* * **100**
|
|
20
|
+
* Default value: **30**.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* 30
|
|
24
|
+
*/
|
|
25
|
+
pageSize?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The region ID.
|
|
29
|
+
*
|
|
30
|
+
* This parameter is required.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* cn-beijing
|
|
34
|
+
*/
|
|
35
|
+
regionId?: string;
|
|
36
|
+
static names(): { [key: string]: string } {
|
|
37
|
+
return {
|
|
38
|
+
pageNumber: 'PageNumber',
|
|
39
|
+
pageSize: 'PageSize',
|
|
40
|
+
regionId: 'RegionId',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
static types(): { [key: string]: any } {
|
|
45
|
+
return {
|
|
46
|
+
pageNumber: 'number',
|
|
47
|
+
pageSize: 'number',
|
|
48
|
+
regionId: 'string',
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
constructor(map?: { [key: string]: any }) {
|
|
57
|
+
super(map);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeGatewayApikeyListResponseBody } from "./DescribeGatewayApikeyListResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeGatewayApikeyListResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeGatewayApikeyListResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeGatewayApikeyListResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeGatewayApikeyListResponseBodyItems extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The API key in use.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* xxxxxxxx
|
|
12
|
+
*/
|
|
13
|
+
apiKey?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The user group ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* cg-xxxxxx
|
|
20
|
+
*/
|
|
21
|
+
consumerGroupId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The user ID.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* c-mqveroemc***
|
|
28
|
+
*/
|
|
29
|
+
consumerId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The consumer tag.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* test
|
|
36
|
+
*/
|
|
37
|
+
consumerTag?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The creation time.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* 2020-08-14T05:58:42Z
|
|
44
|
+
*/
|
|
45
|
+
createTime?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The gateway instance ID.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* pg-xxxxxxxx
|
|
52
|
+
*/
|
|
53
|
+
gwClusterId?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The last modification time.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* 2024-10-29T09:31:37Z
|
|
60
|
+
*/
|
|
61
|
+
modifyTime?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The username.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* test
|
|
68
|
+
*/
|
|
69
|
+
name?: string;
|
|
70
|
+
static names(): { [key: string]: string } {
|
|
71
|
+
return {
|
|
72
|
+
apiKey: 'ApiKey',
|
|
73
|
+
consumerGroupId: 'ConsumerGroupId',
|
|
74
|
+
consumerId: 'ConsumerId',
|
|
75
|
+
consumerTag: 'ConsumerTag',
|
|
76
|
+
createTime: 'CreateTime',
|
|
77
|
+
gwClusterId: 'GwClusterId',
|
|
78
|
+
modifyTime: 'ModifyTime',
|
|
79
|
+
name: 'Name',
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
static types(): { [key: string]: any } {
|
|
84
|
+
return {
|
|
85
|
+
apiKey: 'string',
|
|
86
|
+
consumerGroupId: 'string',
|
|
87
|
+
consumerId: 'string',
|
|
88
|
+
consumerTag: 'string',
|
|
89
|
+
createTime: 'string',
|
|
90
|
+
gwClusterId: 'string',
|
|
91
|
+
modifyTime: 'string',
|
|
92
|
+
name: 'string',
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
validate() {
|
|
97
|
+
super.validate();
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
constructor(map?: { [key: string]: any }) {
|
|
101
|
+
super(map);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export class DescribeGatewayApikeyListResponseBody extends $dara.Model {
|
|
106
|
+
/**
|
|
107
|
+
* @remarks
|
|
108
|
+
* The list of consumer objects.
|
|
109
|
+
*/
|
|
110
|
+
items?: DescribeGatewayApikeyListResponseBodyItems[];
|
|
111
|
+
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* The page number.
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* 1
|
|
117
|
+
*/
|
|
118
|
+
pageNumber?: number;
|
|
119
|
+
/**
|
|
120
|
+
* @remarks
|
|
121
|
+
* The number of records on the current page.
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* 1
|
|
125
|
+
*/
|
|
126
|
+
pageRecordCount?: number;
|
|
127
|
+
/**
|
|
128
|
+
* @remarks
|
|
129
|
+
* The number of entries per page. Valid values:
|
|
130
|
+
* * **30**
|
|
131
|
+
* * **50**
|
|
132
|
+
* * **100**
|
|
133
|
+
*
|
|
134
|
+
* Default value: 30.
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* 30
|
|
138
|
+
*/
|
|
139
|
+
pageSize?: number;
|
|
140
|
+
/**
|
|
141
|
+
* @remarks
|
|
142
|
+
* Id of the request
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* A0450B18-BBD4-5DF9-8E71-610F1A921CDE
|
|
146
|
+
*/
|
|
147
|
+
requestId?: string;
|
|
148
|
+
/**
|
|
149
|
+
* @remarks
|
|
150
|
+
* The total number of pages.
|
|
151
|
+
*
|
|
152
|
+
* @example
|
|
153
|
+
* 1
|
|
154
|
+
*/
|
|
155
|
+
totalPages?: number;
|
|
156
|
+
/**
|
|
157
|
+
* @remarks
|
|
158
|
+
* The total number of records.
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* 1
|
|
162
|
+
*/
|
|
163
|
+
totalRecordCount?: number;
|
|
164
|
+
static names(): { [key: string]: string } {
|
|
165
|
+
return {
|
|
166
|
+
items: 'Items',
|
|
167
|
+
pageNumber: 'PageNumber',
|
|
168
|
+
pageRecordCount: 'PageRecordCount',
|
|
169
|
+
pageSize: 'PageSize',
|
|
170
|
+
requestId: 'RequestId',
|
|
171
|
+
totalPages: 'TotalPages',
|
|
172
|
+
totalRecordCount: 'TotalRecordCount',
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
static types(): { [key: string]: any } {
|
|
177
|
+
return {
|
|
178
|
+
items: { 'type': 'array', 'itemType': DescribeGatewayApikeyListResponseBodyItems },
|
|
179
|
+
pageNumber: 'number',
|
|
180
|
+
pageRecordCount: 'number',
|
|
181
|
+
pageSize: 'number',
|
|
182
|
+
requestId: 'string',
|
|
183
|
+
totalPages: 'number',
|
|
184
|
+
totalRecordCount: 'number',
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
validate() {
|
|
189
|
+
if(Array.isArray(this.items)) {
|
|
190
|
+
$dara.Model.validateArray(this.items);
|
|
191
|
+
}
|
|
192
|
+
super.validate();
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
constructor(map?: { [key: string]: any }) {
|
|
196
|
+
super(map);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribePolarClawAgentFileRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Agent ID
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* main
|
|
14
|
+
*/
|
|
15
|
+
agentId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The application ID.
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* pa-xxx
|
|
24
|
+
*/
|
|
25
|
+
applicationId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The file name.
|
|
29
|
+
*
|
|
30
|
+
* This parameter is required.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* SOUL.md
|
|
34
|
+
*/
|
|
35
|
+
fileName?: string;
|
|
36
|
+
static names(): { [key: string]: string } {
|
|
37
|
+
return {
|
|
38
|
+
agentId: 'AgentId',
|
|
39
|
+
applicationId: 'ApplicationId',
|
|
40
|
+
fileName: 'FileName',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
static types(): { [key: string]: any } {
|
|
45
|
+
return {
|
|
46
|
+
agentId: 'string',
|
|
47
|
+
applicationId: 'string',
|
|
48
|
+
fileName: 'string',
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
constructor(map?: { [key: string]: any }) {
|
|
57
|
+
super(map);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|