Skip to content

Commit fcf24a0

Browse files
committed
Update API ListRecognitionLibs: add request parameters LibId.
1 parent df85822 commit fcf24a0

File tree

9 files changed

+137
-0
lines changed

9 files changed

+137
-0
lines changed

ice-20201109/ChangeLog.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
2025-11-18 Version: 6.8.1
2+
- Update API ListRecognitionLibs: add request parameters LibId.
3+
- Update API ListRecognitionSamples: add request parameters EntityName.
4+
- Update API ListRecognitionSamples: add response parameters Body.Samples.$.EntityId.
5+
- Update API ListRecognitionSamples: add response parameters Body.Samples.$.LibId.
6+
- Update API SubmitSmarttagJob: add request parameters TemplateConfig.
7+
- Update API SubmitVideoCognitionJob: add request parameters TemplateConfig.
8+
9+
110
2025-11-14 Version: 6.8.0
211
- Support API ActiveAiRtcLicense.
312
- Support API GetAiRtcAuthCodeList.

ice-20201109/src/ICE.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16582,6 +16582,10 @@ public function listRecognitionLibsWithOptions($request, $runtime)
1658216582
@$query['Algorithm'] = $request->algorithm;
1658316583
}
1658416584

16585+
if (null !== $request->libId) {
16586+
@$query['LibId'] = $request->libId;
16587+
}
16588+
1658516589
if (null !== $request->ownerAccount) {
1658616590
@$query['OwnerAccount'] = $request->ownerAccount;
1658716591
}
@@ -16671,6 +16675,10 @@ public function listRecognitionSamplesWithOptions($request, $runtime)
1667116675
@$query['EntityId'] = $request->entityId;
1667216676
}
1667316677

16678+
if (null !== $request->entityName) {
16679+
@$query['EntityName'] = $request->entityName;
16680+
}
16681+
1667416682
if (null !== $request->libId) {
1667516683
@$query['LibId'] = $request->libId;
1667616684
}
@@ -24436,6 +24444,10 @@ public function submitSmarttagJobWithOptions($tmpReq, $runtime)
2443624444
@$query['ScheduleConfig'] = $request->scheduleConfigShrink;
2443724445
}
2443824446

24447+
if (null !== $request->templateConfig) {
24448+
@$query['TemplateConfig'] = $request->templateConfig;
24449+
}
24450+
2443924451
if (null !== $request->templateId) {
2444024452
@$query['TemplateId'] = $request->templateId;
2444124453
}
@@ -25271,6 +25283,10 @@ public function submitVideoCognitionJobWithOptions($tmpReq, $runtime)
2527125283
@$query['Params'] = $request->params;
2527225284
}
2527325285

25286+
if (null !== $request->templateConfig) {
25287+
@$query['TemplateConfig'] = $request->templateConfig;
25288+
}
25289+
2527425290
if (null !== $request->templateId) {
2527525291
@$query['TemplateId'] = $request->templateId;
2527625292
}

ice-20201109/src/Models/ListRecognitionLibsRequest.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ class ListRecognitionLibsRequest extends Model
1313
*/
1414
public $algorithm;
1515

16+
/**
17+
* @var string
18+
*/
19+
public $libId;
20+
1621
/**
1722
* @var string
1823
*/
@@ -44,6 +49,7 @@ class ListRecognitionLibsRequest extends Model
4449
public $resourceOwnerId;
4550
protected $_name = [
4651
'algorithm' => 'Algorithm',
52+
'libId' => 'LibId',
4753
'ownerAccount' => 'OwnerAccount',
4854
'ownerId' => 'OwnerId',
4955
'pageNumber' => 'PageNumber',
@@ -64,6 +70,10 @@ public function toArray($noStream = false)
6470
$res['Algorithm'] = $this->algorithm;
6571
}
6672

73+
if (null !== $this->libId) {
74+
$res['LibId'] = $this->libId;
75+
}
76+
6777
if (null !== $this->ownerAccount) {
6878
$res['OwnerAccount'] = $this->ownerAccount;
6979
}
@@ -103,6 +113,10 @@ public static function fromMap($map = [])
103113
$model->algorithm = $map['Algorithm'];
104114
}
105115

116+
if (isset($map['LibId'])) {
117+
$model->libId = $map['LibId'];
118+
}
119+
106120
if (isset($map['OwnerAccount'])) {
107121
$model->ownerAccount = $map['OwnerAccount'];
108122
}

ice-20201109/src/Models/ListRecognitionSamplesRequest.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ class ListRecognitionSamplesRequest extends Model
1818
*/
1919
public $entityId;
2020

21+
/**
22+
* @var string
23+
*/
24+
public $entityName;
25+
2126
/**
2227
* @var string
2328
*/
@@ -55,6 +60,7 @@ class ListRecognitionSamplesRequest extends Model
5560
protected $_name = [
5661
'algorithm' => 'Algorithm',
5762
'entityId' => 'EntityId',
63+
'entityName' => 'EntityName',
5864
'libId' => 'LibId',
5965
'ownerAccount' => 'OwnerAccount',
6066
'ownerId' => 'OwnerId',
@@ -80,6 +86,10 @@ public function toArray($noStream = false)
8086
$res['EntityId'] = $this->entityId;
8187
}
8288

89+
if (null !== $this->entityName) {
90+
$res['EntityName'] = $this->entityName;
91+
}
92+
8393
if (null !== $this->libId) {
8494
$res['LibId'] = $this->libId;
8595
}
@@ -127,6 +137,10 @@ public static function fromMap($map = [])
127137
$model->entityId = $map['EntityId'];
128138
}
129139

140+
if (isset($map['EntityName'])) {
141+
$model->entityName = $map['EntityName'];
142+
}
143+
130144
if (isset($map['LibId'])) {
131145
$model->libId = $map['LibId'];
132146
}

ice-20201109/src/Models/ListRecognitionSamplesResponseBody/samples/sample.php

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,29 @@
88

99
class sample extends Model
1010
{
11+
/**
12+
* @var string
13+
*/
14+
public $entityId;
15+
1116
/**
1217
* @var string
1318
*/
1419
public $imageUrl;
1520

21+
/**
22+
* @var string
23+
*/
24+
public $libId;
25+
1626
/**
1727
* @var string
1828
*/
1929
public $sampleId;
2030
protected $_name = [
31+
'entityId' => 'EntityId',
2132
'imageUrl' => 'ImageUrl',
33+
'libId' => 'LibId',
2234
'sampleId' => 'SampleId',
2335
];
2436

@@ -30,10 +42,18 @@ public function validate()
3042
public function toArray($noStream = false)
3143
{
3244
$res = [];
45+
if (null !== $this->entityId) {
46+
$res['EntityId'] = $this->entityId;
47+
}
48+
3349
if (null !== $this->imageUrl) {
3450
$res['ImageUrl'] = $this->imageUrl;
3551
}
3652

53+
if (null !== $this->libId) {
54+
$res['LibId'] = $this->libId;
55+
}
56+
3757
if (null !== $this->sampleId) {
3858
$res['SampleId'] = $this->sampleId;
3959
}
@@ -49,10 +69,18 @@ public function toMap($noStream = false)
4969
public static function fromMap($map = [])
5070
{
5171
$model = new self();
72+
if (isset($map['EntityId'])) {
73+
$model->entityId = $map['EntityId'];
74+
}
75+
5276
if (isset($map['ImageUrl'])) {
5377
$model->imageUrl = $map['ImageUrl'];
5478
}
5579

80+
if (isset($map['LibId'])) {
81+
$model->libId = $map['LibId'];
82+
}
83+
5684
if (isset($map['SampleId'])) {
5785
$model->sampleId = $map['SampleId'];
5886
}

ice-20201109/src/Models/SubmitSmarttagJobRequest.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ class SubmitSmarttagJobRequest extends Model
4545
*/
4646
public $scheduleConfig;
4747

48+
/**
49+
* @var string
50+
*/
51+
public $templateConfig;
52+
4853
/**
4954
* @var string
5055
*/
@@ -67,6 +72,7 @@ class SubmitSmarttagJobRequest extends Model
6772
'notifyUrl' => 'NotifyUrl',
6873
'params' => 'Params',
6974
'scheduleConfig' => 'ScheduleConfig',
75+
'templateConfig' => 'TemplateConfig',
7076
'templateId' => 'TemplateId',
7177
'title' => 'Title',
7278
'userData' => 'UserData',
@@ -114,6 +120,10 @@ public function toArray($noStream = false)
114120
$res['ScheduleConfig'] = null !== $this->scheduleConfig ? $this->scheduleConfig->toArray($noStream) : $this->scheduleConfig;
115121
}
116122

123+
if (null !== $this->templateConfig) {
124+
$res['TemplateConfig'] = $this->templateConfig;
125+
}
126+
117127
if (null !== $this->templateId) {
118128
$res['TemplateId'] = $this->templateId;
119129
}
@@ -165,6 +175,10 @@ public static function fromMap($map = [])
165175
$model->scheduleConfig = scheduleConfig::fromMap($map['ScheduleConfig']);
166176
}
167177

178+
if (isset($map['TemplateConfig'])) {
179+
$model->templateConfig = $map['TemplateConfig'];
180+
}
181+
168182
if (isset($map['TemplateId'])) {
169183
$model->templateId = $map['TemplateId'];
170184
}

ice-20201109/src/Models/SubmitSmarttagJobShrinkRequest.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ class SubmitSmarttagJobShrinkRequest extends Model
4343
*/
4444
public $scheduleConfigShrink;
4545

46+
/**
47+
* @var string
48+
*/
49+
public $templateConfig;
50+
4651
/**
4752
* @var string
4853
*/
@@ -65,6 +70,7 @@ class SubmitSmarttagJobShrinkRequest extends Model
6570
'notifyUrl' => 'NotifyUrl',
6671
'params' => 'Params',
6772
'scheduleConfigShrink' => 'ScheduleConfig',
73+
'templateConfig' => 'TemplateConfig',
6874
'templateId' => 'TemplateId',
6975
'title' => 'Title',
7076
'userData' => 'UserData',
@@ -106,6 +112,10 @@ public function toArray($noStream = false)
106112
$res['ScheduleConfig'] = $this->scheduleConfigShrink;
107113
}
108114

115+
if (null !== $this->templateConfig) {
116+
$res['TemplateConfig'] = $this->templateConfig;
117+
}
118+
109119
if (null !== $this->templateId) {
110120
$res['TemplateId'] = $this->templateId;
111121
}
@@ -157,6 +167,10 @@ public static function fromMap($map = [])
157167
$model->scheduleConfigShrink = $map['ScheduleConfig'];
158168
}
159169

170+
if (isset($map['TemplateConfig'])) {
171+
$model->templateConfig = $map['TemplateConfig'];
172+
}
173+
160174
if (isset($map['TemplateId'])) {
161175
$model->templateId = $map['TemplateId'];
162176
}

ice-20201109/src/Models/SubmitVideoCognitionJobRequest.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ class SubmitVideoCognitionJobRequest extends Model
1919
*/
2020
public $params;
2121

22+
/**
23+
* @var string
24+
*/
25+
public $templateConfig;
26+
2227
/**
2328
* @var string
2429
*/
@@ -36,6 +41,7 @@ class SubmitVideoCognitionJobRequest extends Model
3641
protected $_name = [
3742
'input' => 'Input',
3843
'params' => 'Params',
44+
'templateConfig' => 'TemplateConfig',
3945
'templateId' => 'TemplateId',
4046
'title' => 'Title',
4147
'userData' => 'UserData',
@@ -60,6 +66,10 @@ public function toArray($noStream = false)
6066
$res['Params'] = $this->params;
6167
}
6268

69+
if (null !== $this->templateConfig) {
70+
$res['TemplateConfig'] = $this->templateConfig;
71+
}
72+
6373
if (null !== $this->templateId) {
6474
$res['TemplateId'] = $this->templateId;
6575
}
@@ -91,6 +101,10 @@ public static function fromMap($map = [])
91101
$model->params = $map['Params'];
92102
}
93103

104+
if (isset($map['TemplateConfig'])) {
105+
$model->templateConfig = $map['TemplateConfig'];
106+
}
107+
94108
if (isset($map['TemplateId'])) {
95109
$model->templateId = $map['TemplateId'];
96110
}

ice-20201109/src/Models/SubmitVideoCognitionJobShrinkRequest.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ class SubmitVideoCognitionJobShrinkRequest extends Model
1818
*/
1919
public $params;
2020

21+
/**
22+
* @var string
23+
*/
24+
public $templateConfig;
25+
2126
/**
2227
* @var string
2328
*/
@@ -35,6 +40,7 @@ class SubmitVideoCognitionJobShrinkRequest extends Model
3540
protected $_name = [
3641
'inputShrink' => 'Input',
3742
'params' => 'Params',
43+
'templateConfig' => 'TemplateConfig',
3844
'templateId' => 'TemplateId',
3945
'title' => 'Title',
4046
'userData' => 'UserData',
@@ -56,6 +62,10 @@ public function toArray($noStream = false)
5662
$res['Params'] = $this->params;
5763
}
5864

65+
if (null !== $this->templateConfig) {
66+
$res['TemplateConfig'] = $this->templateConfig;
67+
}
68+
5969
if (null !== $this->templateId) {
6070
$res['TemplateId'] = $this->templateId;
6171
}
@@ -87,6 +97,10 @@ public static function fromMap($map = [])
8797
$model->params = $map['Params'];
8898
}
8999

100+
if (isset($map['TemplateConfig'])) {
101+
$model->templateConfig = $map['TemplateConfig'];
102+
}
103+
90104
if (isset($map['TemplateId'])) {
91105
$model->templateId = $map['TemplateId'];
92106
}

0 commit comments

Comments
 (0)