Skip to content

Commit a4bd9dc

Browse files
committed
Update API ListRecognitionLibs: add request parameters LibId.
1 parent f88ab61 commit a4bd9dc

9 files changed

+41
-1
lines changed

ice-20201109/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alicloud/ice20201109",
3-
"version": "6.8.0",
3+
"version": "6.8.1",
44
"description": "",
55
"main": "dist/client.js",
66
"scripts": {

ice-20201109/src/client.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12399,6 +12399,10 @@ export default class Client extends OpenApi {
1239912399
query["Algorithm"] = request.algorithm;
1240012400
}
1240112401

12402+
if (!$dara.isNull(request.libId)) {
12403+
query["LibId"] = request.libId;
12404+
}
12405+
1240212406
if (!$dara.isNull(request.ownerAccount)) {
1240312407
query["OwnerAccount"] = request.ownerAccount;
1240412408
}
@@ -12473,6 +12477,10 @@ export default class Client extends OpenApi {
1247312477
query["EntityId"] = request.entityId;
1247412478
}
1247512479

12480+
if (!$dara.isNull(request.entityName)) {
12481+
query["EntityName"] = request.entityName;
12482+
}
12483+
1247612484
if (!$dara.isNull(request.libId)) {
1247712485
query["LibId"] = request.libId;
1247812486
}
@@ -18770,6 +18778,10 @@ export default class Client extends OpenApi {
1877018778
query["ScheduleConfig"] = request.scheduleConfigShrink;
1877118779
}
1877218780

18781+
if (!$dara.isNull(request.templateConfig)) {
18782+
query["TemplateConfig"] = request.templateConfig;
18783+
}
18784+
1877318785
if (!$dara.isNull(request.templateId)) {
1877418786
query["TemplateId"] = request.templateId;
1877518787
}
@@ -19455,6 +19467,10 @@ export default class Client extends OpenApi {
1945519467
query["Params"] = request.params;
1945619468
}
1945719469

19470+
if (!$dara.isNull(request.templateConfig)) {
19471+
query["TemplateConfig"] = request.templateConfig;
19472+
}
19473+
1945819474
if (!$dara.isNull(request.templateId)) {
1945919475
query["TemplateId"] = request.templateId;
1946019476
}

ice-20201109/src/models/ListRecognitionLibsRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export class ListRecognitionLibsRequest extends $dara.Model {
1919
* landmark
2020
*/
2121
algorithm?: string;
22+
libId?: string;
2223
ownerAccount?: string;
2324
ownerId?: number;
2425
/**
@@ -46,6 +47,7 @@ export class ListRecognitionLibsRequest extends $dara.Model {
4647
static names(): { [key: string]: string } {
4748
return {
4849
algorithm: 'Algorithm',
50+
libId: 'LibId',
4951
ownerAccount: 'OwnerAccount',
5052
ownerId: 'OwnerId',
5153
pageNumber: 'PageNumber',
@@ -58,6 +60,7 @@ export class ListRecognitionLibsRequest extends $dara.Model {
5860
static types(): { [key: string]: any } {
5961
return {
6062
algorithm: 'string',
63+
libId: 'string',
6164
ownerAccount: 'string',
6265
ownerId: 'number',
6366
pageNumber: 'number',

ice-20201109/src/models/ListRecognitionSamplesRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export class ListRecognitionSamplesRequest extends $dara.Model {
2828
* e6b985c05174412dbc77c92496b7373b
2929
*/
3030
entityId?: string;
31+
entityName?: string;
3132
/**
3233
* @remarks
3334
* The ID of the recognition library.
@@ -66,6 +67,7 @@ export class ListRecognitionSamplesRequest extends $dara.Model {
6667
return {
6768
algorithm: 'Algorithm',
6869
entityId: 'EntityId',
70+
entityName: 'EntityName',
6971
libId: 'LibId',
7072
ownerAccount: 'OwnerAccount',
7173
ownerId: 'OwnerId',
@@ -80,6 +82,7 @@ export class ListRecognitionSamplesRequest extends $dara.Model {
8082
return {
8183
algorithm: 'string',
8284
entityId: 'string',
85+
entityName: 'string',
8386
libId: 'string',
8487
ownerAccount: 'string',
8588
ownerId: 'number',

ice-20201109/src/models/ListRecognitionSamplesResponseBody.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
33

44

55
export class ListRecognitionSamplesResponseBodySamplesSample extends $dara.Model {
6+
entityId?: string;
67
/**
78
* @remarks
89
* The URL of the image sample.
@@ -11,6 +12,7 @@ export class ListRecognitionSamplesResponseBodySamplesSample extends $dara.Model
1112
* https://example.com/sample.png
1213
*/
1314
imageUrl?: string;
15+
libId?: string;
1416
/**
1517
* @remarks
1618
* The sample ID.
@@ -21,14 +23,18 @@ export class ListRecognitionSamplesResponseBodySamplesSample extends $dara.Model
2123
sampleId?: string;
2224
static names(): { [key: string]: string } {
2325
return {
26+
entityId: 'EntityId',
2427
imageUrl: 'ImageUrl',
28+
libId: 'LibId',
2529
sampleId: 'SampleId',
2630
};
2731
}
2832

2933
static types(): { [key: string]: any } {
3034
return {
35+
entityId: 'string',
3136
imageUrl: 'string',
37+
libId: 'string',
3238
sampleId: 'string',
3339
};
3440
}

ice-20201109/src/models/SubmitSmarttagJobRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ export class SubmitSmarttagJobRequest extends $dara.Model {
146146
* The scheduling configurations.
147147
*/
148148
scheduleConfig?: SubmitSmarttagJobRequestScheduleConfig;
149+
templateConfig?: string;
149150
/**
150151
* @remarks
151152
* The ID of the template that specifies the analysis algorithms. For more information about template operations, see [Configure templates](https://help.aliyun.com/document_detail/445702.html).
@@ -179,6 +180,7 @@ export class SubmitSmarttagJobRequest extends $dara.Model {
179180
notifyUrl: 'NotifyUrl',
180181
params: 'Params',
181182
scheduleConfig: 'ScheduleConfig',
183+
templateConfig: 'TemplateConfig',
182184
templateId: 'TemplateId',
183185
title: 'Title',
184186
userData: 'UserData',
@@ -194,6 +196,7 @@ export class SubmitSmarttagJobRequest extends $dara.Model {
194196
notifyUrl: 'string',
195197
params: 'string',
196198
scheduleConfig: SubmitSmarttagJobRequestScheduleConfig,
199+
templateConfig: 'string',
197200
templateId: 'string',
198201
title: 'string',
199202
userData: 'string',

ice-20201109/src/models/SubmitSmarttagJobShrinkRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export class SubmitSmarttagJobShrinkRequest extends $dara.Model {
5858
* The scheduling configurations.
5959
*/
6060
scheduleConfigShrink?: string;
61+
templateConfig?: string;
6162
/**
6263
* @remarks
6364
* The ID of the template that specifies the analysis algorithms. For more information about template operations, see [Configure templates](https://help.aliyun.com/document_detail/445702.html).
@@ -91,6 +92,7 @@ export class SubmitSmarttagJobShrinkRequest extends $dara.Model {
9192
notifyUrl: 'NotifyUrl',
9293
params: 'Params',
9394
scheduleConfigShrink: 'ScheduleConfig',
95+
templateConfig: 'TemplateConfig',
9496
templateId: 'TemplateId',
9597
title: 'Title',
9698
userData: 'UserData',
@@ -106,6 +108,7 @@ export class SubmitSmarttagJobShrinkRequest extends $dara.Model {
106108
notifyUrl: 'string',
107109
params: 'string',
108110
scheduleConfigShrink: 'string',
111+
templateConfig: 'string',
109112
templateId: 'string',
110113
title: 'string',
111114
userData: 'string',

ice-20201109/src/models/SubmitVideoCognitionJobRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export class SubmitVideoCognitionJobRequest extends $dara.Model {
7676
* }
7777
*/
7878
params?: string;
79+
templateConfig?: string;
7980
/**
8081
* @remarks
8182
* The ID of the template that specifies the analysis algorithms to be used. For details, see [CreateCustomTemplate](https://help.aliyun.com/zh/ims/developer-reference/api-ice-2020-11-09-createcustomtemplate?spm=a2c4g.11186623.help-menu-193643.d_5_0_3_3_0_0.17b66afamjKySv) and [smart tagging template](https://help.aliyun.com/zh/ims/user-guide/smart-tagging-template?spm=a2c4g.11186623.0.i15).
@@ -104,6 +105,7 @@ export class SubmitVideoCognitionJobRequest extends $dara.Model {
104105
return {
105106
input: 'Input',
106107
params: 'Params',
108+
templateConfig: 'TemplateConfig',
107109
templateId: 'TemplateId',
108110
title: 'Title',
109111
userData: 'UserData',
@@ -114,6 +116,7 @@ export class SubmitVideoCognitionJobRequest extends $dara.Model {
114116
return {
115117
input: SubmitVideoCognitionJobRequestInput,
116118
params: 'string',
119+
templateConfig: 'string',
117120
templateId: 'string',
118121
title: 'string',
119122
userData: 'string',

ice-20201109/src/models/SubmitVideoCognitionJobShrinkRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export class SubmitVideoCognitionJobShrinkRequest extends $dara.Model {
2828
* }
2929
*/
3030
params?: string;
31+
templateConfig?: string;
3132
/**
3233
* @remarks
3334
* The ID of the template that specifies the analysis algorithms to be used. For details, see [CreateCustomTemplate](https://help.aliyun.com/zh/ims/developer-reference/api-ice-2020-11-09-createcustomtemplate?spm=a2c4g.11186623.help-menu-193643.d_5_0_3_3_0_0.17b66afamjKySv) and [smart tagging template](https://help.aliyun.com/zh/ims/user-guide/smart-tagging-template?spm=a2c4g.11186623.0.i15).
@@ -56,6 +57,7 @@ export class SubmitVideoCognitionJobShrinkRequest extends $dara.Model {
5657
return {
5758
inputShrink: 'Input',
5859
params: 'Params',
60+
templateConfig: 'TemplateConfig',
5961
templateId: 'TemplateId',
6062
title: 'Title',
6163
userData: 'UserData',
@@ -66,6 +68,7 @@ export class SubmitVideoCognitionJobShrinkRequest extends $dara.Model {
6668
return {
6769
inputShrink: 'string',
6870
params: 'string',
71+
templateConfig: 'string',
6972
templateId: 'string',
7073
title: 'string',
7174
userData: 'string',

0 commit comments

Comments
 (0)