Skip to content

Commit 08a5389

Browse files
committed
Update API CreateDataset: add request parameters DatasetConfig.
1 parent f17865c commit 08a5389

File tree

108 files changed

+4557
-27
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+4557
-27
lines changed

imm-20200930/ChangeLog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2026-02-26 Version: 4.7.3
2+
- Update API CreateDataset: add request parameters DatasetConfig.
3+
- Update API UpdateDataset: add request parameters DatasetConfig.
4+
5+
16
2025-12-12 Version: 4.7.2
27
- Generated java 2020-09-30 for imm.
38

imm-20200930/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aliyun</groupId>
55
<artifactId>imm20200930</artifactId>
6-
<version>4.7.2</version>
6+
<version>4.7.3</version>
77
<packaging>jar</packaging>
88
<name>imm20200930</name>
99
<description>Alibaba Cloud Intelligent Media Management (20200930) SDK for Java
@@ -61,7 +61,7 @@
6161
<dependency>
6262
<groupId>com.aliyun</groupId>
6363
<artifactId>tea</artifactId>
64-
<version>1.3.1</version>
64+
<version>1.4.1</version>
6565
</dependency>
6666
</dependencies>
6767
<build>
@@ -96,6 +96,7 @@
9696
<configuration>
9797
<encoding>UTF-8</encoding>
9898
<doclint>none</doclint>
99+
<maxmemory>2048m</maxmemory>
99100
</configuration>
100101
</plugin>
101102
<plugin>

imm-20200930/src/main/java/com/aliyun/imm20200930/Client.java

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ public CompareImageFacesResponse compareImageFaces(CompareImageFacesRequest requ
710710
* </ul>
711711
*
712712
* <b>summary</b> :
713-
* <p>Phase II of AI Assistant, Q\&amp;A API</p>
713+
* <p>Phase II of AI Assistant, Q\\\&amp;A API</p>
714714
*
715715
* @param tmpReq ContextualAnswerRequest
716716
* @param runtime runtime options for this request RuntimeOptions
@@ -775,7 +775,7 @@ public ContextualAnswerResponse contextualAnswerWithOptions(ContextualAnswerRequ
775775
* </ul>
776776
*
777777
* <b>summary</b> :
778-
* <p>Phase II of AI Assistant, Q\&amp;A API</p>
778+
* <p>Phase II of AI Assistant, Q\\\&amp;A API</p>
779779
*
780780
* @param request ContextualAnswerRequest
781781
* @return ContextualAnswerResponse
@@ -1393,7 +1393,7 @@ public CreateCustomizedStoryResponse createCustomizedStory(CreateCustomizedStory
13931393
* </ul>
13941394
*
13951395
* <b>summary</b> :
1396-
* <p>Create Dataset</p>
1396+
* <p>Creates a dataset.</p>
13971397
*
13981398
* @param tmpReq CreateDatasetRequest
13991399
* @param runtime runtime options for this request RuntimeOptions
@@ -1403,11 +1403,19 @@ public CreateDatasetResponse createDatasetWithOptions(CreateDatasetRequest tmpRe
14031403
com.aliyun.teautil.Common.validateModel(tmpReq);
14041404
CreateDatasetShrinkRequest request = new CreateDatasetShrinkRequest();
14051405
com.aliyun.openapiutil.Client.convert(tmpReq, request);
1406+
if (!com.aliyun.teautil.Common.isUnset(tmpReq.datasetConfig)) {
1407+
request.datasetConfigShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.datasetConfig, "DatasetConfig", "json");
1408+
}
1409+
14061410
if (!com.aliyun.teautil.Common.isUnset(tmpReq.workflowParameters)) {
14071411
request.workflowParametersShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.workflowParameters, "WorkflowParameters", "json");
14081412
}
14091413

14101414
java.util.Map<String, Object> query = new java.util.HashMap<>();
1415+
if (!com.aliyun.teautil.Common.isUnset(request.datasetConfigShrink)) {
1416+
query.put("DatasetConfig", request.datasetConfigShrink);
1417+
}
1418+
14111419
if (!com.aliyun.teautil.Common.isUnset(request.datasetMaxBindCount)) {
14121420
query.put("DatasetMaxBindCount", request.datasetMaxBindCount);
14131421
}
@@ -1475,7 +1483,7 @@ public CreateDatasetResponse createDatasetWithOptions(CreateDatasetRequest tmpRe
14751483
* </ul>
14761484
*
14771485
* <b>summary</b> :
1478-
* <p>Create Dataset</p>
1486+
* <p>Creates a dataset.</p>
14791487
*
14801488
* @param request CreateDatasetRequest
14811489
* @return CreateDatasetResponse
@@ -2609,7 +2617,7 @@ public CreateLocationDateClusteringTaskResponse createLocationDateClusteringTask
26092617
* </ul>
26102618
*
26112619
* <b>summary</b> :
2612-
* <p>Create Transcoding Service</p>
2620+
* <p>Creates an asynchronous media transcoding task to provide audio and video file processing abilities, such as media transcoding, media splicing, video frame capturing, and video to GIF conversion.</p>
26132621
*
26142622
* @param tmpReq CreateMediaConvertTaskRequest
26152623
* @param runtime runtime options for this request RuntimeOptions
@@ -2703,7 +2711,7 @@ public CreateMediaConvertTaskResponse createMediaConvertTaskWithOptions(CreateMe
27032711
* </ul>
27042712
*
27052713
* <b>summary</b> :
2706-
* <p>Create Transcoding Service</p>
2714+
* <p>Creates an asynchronous media transcoding task to provide audio and video file processing abilities, such as media transcoding, media splicing, video frame capturing, and video to GIF conversion.</p>
27072715
*
27082716
* @param request CreateMediaConvertTaskRequest
27092717
* @return CreateMediaConvertTaskResponse
@@ -5307,7 +5315,7 @@ public GenerateVideoPlaylistResponse generateVideoPlaylist(GenerateVideoPlaylist
53075315
* </ul>
53085316
*
53095317
* <b>summary</b> :
5310-
* <p>Generates an access token for document preview or editing.</p>
5318+
* <p>Obtain Document Preview and Edit Token</p>
53115319
*
53125320
* @param tmpReq GenerateWebofficeTokenRequest
53135321
* @param runtime runtime options for this request RuntimeOptions
@@ -5443,7 +5451,7 @@ public GenerateWebofficeTokenResponse generateWebofficeTokenWithOptions(Generate
54435451
* </ul>
54445452
*
54455453
* <b>summary</b> :
5446-
* <p>Generates an access token for document preview or editing.</p>
5454+
* <p>Obtain Document Preview and Edit Token</p>
54475455
*
54485456
* @param request GenerateWebofficeTokenRequest
54495457
* @return GenerateWebofficeTokenResponse
@@ -5567,7 +5575,7 @@ public GetBindingResponse getBinding(GetBindingRequest request) throws Exception
55675575

55685576
/**
55695577
* <b>summary</b> :
5570-
* <p>drmlicense获取</p>
5578+
* <p>Obtains a Digital Rights Management (DRM) license for encrypted video playback.</p>
55715579
*
55725580
* @deprecated OpenAPI GetDRMLicense is deprecated
55735581
*
@@ -5619,7 +5627,7 @@ public GetDRMLicenseResponse getDRMLicenseWithOptions(GetDRMLicenseRequest reque
56195627

56205628
/**
56215629
* <b>summary</b> :
5622-
* <p>drmlicense获取</p>
5630+
* <p>Obtains a Digital Rights Management (DRM) license for encrypted video playback.</p>
56235631
*
56245632
* @deprecated OpenAPI GetDRMLicense is deprecated
56255633
*
@@ -8415,11 +8423,19 @@ public UpdateDatasetResponse updateDatasetWithOptions(UpdateDatasetRequest tmpRe
84158423
com.aliyun.teautil.Common.validateModel(tmpReq);
84168424
UpdateDatasetShrinkRequest request = new UpdateDatasetShrinkRequest();
84178425
com.aliyun.openapiutil.Client.convert(tmpReq, request);
8426+
if (!com.aliyun.teautil.Common.isUnset(tmpReq.datasetConfig)) {
8427+
request.datasetConfigShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.datasetConfig, "DatasetConfig", "json");
8428+
}
8429+
84188430
if (!com.aliyun.teautil.Common.isUnset(tmpReq.workflowParameters)) {
84198431
request.workflowParametersShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.workflowParameters, "WorkflowParameters", "json");
84208432
}
84218433

84228434
java.util.Map<String, Object> query = new java.util.HashMap<>();
8435+
if (!com.aliyun.teautil.Common.isUnset(request.datasetConfigShrink)) {
8436+
query.put("DatasetConfig", request.datasetConfigShrink);
8437+
}
8438+
84238439
if (!com.aliyun.teautil.Common.isUnset(request.datasetMaxBindCount)) {
84248440
query.put("DatasetMaxBindCount", request.datasetMaxBindCount);
84258441
}

imm-20200930/src/main/java/com/aliyun/imm20200930/models/Address.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,48 @@
44
import com.aliyun.tea.*;
55

66
public class Address extends TeaModel {
7+
/**
8+
* <p>The full address.</p>
9+
*/
710
@NameInMap("AddressLine")
811
public String addressLine;
912

13+
/**
14+
* <p>The city.</p>
15+
*/
1016
@NameInMap("City")
1117
public String city;
1218

19+
/**
20+
* <p>The country or region.</p>
21+
*/
1322
@NameInMap("Country")
1423
public String country;
1524

25+
/**
26+
* <p>The district.</p>
27+
*/
1628
@NameInMap("District")
1729
public String district;
1830

31+
/**
32+
* <p>The BCP 47 language code.</p>
33+
*
34+
* <strong>example:</strong>
35+
* <p>zh-hans</p>
36+
*/
1937
@NameInMap("Language")
2038
public String language;
2139

40+
/**
41+
* <p>The province.</p>
42+
*/
2243
@NameInMap("Province")
2344
public String province;
2445

46+
/**
47+
* <p>The street.</p>
48+
*/
2549
@NameInMap("Township")
2650
public String township;
2751

imm-20200930/src/main/java/com/aliyun/imm20200930/models/AddressForStory.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,33 @@
44
import com.aliyun.tea.*;
55

66
public class AddressForStory extends TeaModel {
7+
/**
8+
* <p>The city.</p>
9+
*/
710
@NameInMap("City")
811
public String city;
912

13+
/**
14+
* <p>The country.</p>
15+
*/
1016
@NameInMap("Country")
1117
public String country;
1218

19+
/**
20+
* <p>The district.</p>
21+
*/
1322
@NameInMap("District")
1423
public String district;
1524

25+
/**
26+
* <p>The province.</p>
27+
*/
1628
@NameInMap("Province")
1729
public String province;
1830

31+
/**
32+
* <p>The township.</p>
33+
*/
1934
@NameInMap("Township")
2035
public String township;
2136

imm-20200930/src/main/java/com/aliyun/imm20200930/models/AlgorithmDefinition.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,54 +5,74 @@
55

66
public class AlgorithmDefinition extends TeaModel {
77
/**
8+
* <p>The ID of the algorithm definition.</p>
9+
*
810
* <strong>example:</strong>
911
* <p>8fc6e718-8d19-495f-a510-bcee3c598588</p>
1012
*/
1113
@NameInMap("AlgorithmDefinitionId")
1214
public String algorithmDefinitionId;
1315

1416
/**
17+
* <p>The creation time.</p>
18+
*
1519
* <strong>example:</strong>
1620
* <p>2023-05-31T10:19:40.572325888+08:00</p>
1721
*/
1822
@NameInMap("CreateTime")
1923
public String createTime;
2024

25+
/**
26+
* <p>Custom labels.</p>
27+
*/
2128
@NameInMap("CustomLabels")
2229
public java.util.List<java.util.Map<String, String>> customLabels;
2330

2431
/**
32+
* <p>The description.</p>
33+
*
2534
* <strong>example:</strong>
2635
* <p>test</p>
2736
*/
2837
@NameInMap("Description")
2938
public String description;
3039

3140
/**
41+
* <p>The name of the algorithm.</p>
42+
*
3243
* <strong>example:</strong>
3344
* <p>algoName</p>
3445
*/
3546
@NameInMap("Name")
3647
public String name;
3748

3849
/**
50+
* <p>The ID of the Alibaba Cloud account.</p>
51+
*
3952
* <strong>example:</strong>
4053
* <p>user1</p>
4154
*/
4255
@NameInMap("OwnerId")
4356
public String ownerId;
4457

4558
/**
59+
* <p>The name of the project.</p>
60+
*
4661
* <strong>example:</strong>
4762
* <p>traningtest</p>
4863
*/
4964
@NameInMap("ProjectName")
5065
public String projectName;
5166

67+
/**
68+
* <p>The model training parameters.</p>
69+
*/
5270
@NameInMap("TrainingSpecification")
5371
public TrainingSpecification trainingSpecification;
5472

5573
/**
74+
* <p>The update time.</p>
75+
*
5676
* <strong>example:</strong>
5777
* <p>2023-05-31T10:19:40.572325888+08:00</p>
5878
*/

imm-20200930/src/main/java/com/aliyun/imm20200930/models/Answer.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,17 @@
55

66
public class Answer extends TeaModel {
77
/**
8+
* <p>The answer.</p>
9+
*
810
* <strong>example:</strong>
9-
* <p>你好</p>
11+
* <p>Hello</p>
1012
*/
1113
@NameInMap("Content")
1214
public String content;
1315

16+
/**
17+
* <p>The reference sources of the answer.</p>
18+
*/
1419
@NameInMap("References")
1520
public java.util.List<ReferenceFile> references;
1621

0 commit comments

Comments
 (0)