Skip to content

Commit 654a3fe

Browse files
author
fengyikai
committed
星流平台(aicp):训练任务返回集群ID
1 parent fbc573e commit 654a3fe

6 files changed

Lines changed: 53 additions & 3 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.ksyun</groupId>
88
<artifactId>ksyun-java-sdk</artifactId>
9-
<version>1.8.6.64</version>
9+
<version>1.8.6.65</version>
1010
<packaging>jar</packaging>
1111

1212
<name>KSYUN SDK for Java</name>

src/main/java/ksyun/client/aicp/describenotebooks.v20240612/DescribeNotebooksResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public static class NotebooksStatusDto {
6565
@JsonProperty("Message")
6666
private String Message;
6767

68-
/**本次运行时长*/
68+
/**本次运行时长(h:小时 m:分钟 s:秒)*/
6969
@JsonProperty("ExecutionTime")
7070
private String ExecutionTime;
7171

src/main/java/ksyun/client/aicp/describequeues.v20240612/DescribeQueuesResponse.java

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,19 @@ public static class QueueSetStatusDto {
7373
@JsonProperty("State")
7474
private String State;
7575

76-
/**排队中的任务数量*/
76+
/**正在运行的任务数量*/
77+
@JsonProperty("Running")
78+
private Integer Running;
79+
80+
/**任务刚进入队列,尚未触发资源检查的任务数*/
81+
@JsonProperty("Inqueue")
82+
private Integer Inqueue;
83+
84+
/**等待调度的任务数(Job 已完成资源检查,但因资源不足或其他条件不满足而等待调度)*/
85+
@JsonProperty("Pending")
86+
private Integer Pending;
87+
88+
/**排队中(待处理的任务数 Inqueue+Pending)的任务数量*/
7789
@JsonProperty("Queuing")
7890
private Integer Queuing;
7991

src/main/java/ksyun/client/aicp/describetrainjob.v20240612/DescribeTrainJobResponse.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,10 @@ public static class TrainJobSetStorageConfigsDto {
262262

263263
}
264264

265+
/**任务所在资源组所属的集群ID*/
266+
@JsonProperty("ClusterId")
267+
private String ClusterId;
268+
265269
}
266270

267271
}

src/main/java/ksyun/client/aicp/describetrainjobs.v20251212/DescribeTrainJobsResponse.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ public static class TrainJobSetDto {
7878
@JsonProperty("CreateUserId")
7979
private String CreateUserId;
8080

81+
/**KCE集群ID*/
82+
@JsonProperty("ClusterId")
83+
private String ClusterId;
84+
8185
/**GPU故障自愈*/
8286
@JsonProperty("SelfHealing")
8387
private Boolean SelfHealing;

src/main/java/ksyun/client/aicp/getmodeldetail.v20240612/GetModelDetailResponse.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,32 @@ public static class ModelApiModelDataWebRespCodeCaseVideoModelModeSetDto {
235235
@JsonProperty("SupportTryout")
236236
private String SupportTryout;
237237

238+
/**true 表示 文字转语音。*/
239+
@JsonProperty("TextToSpeech")
240+
private Boolean TextToSpeech;
241+
242+
/**文本转语音定价*/
243+
@JsonProperty("VoicePrice")
244+
private String VoicePrice;
245+
246+
/**阶梯计费规则*/
247+
@JsonProperty("PricingRules")
248+
private ModelApiModelDataWebRespCodeCasePricingRulesDto PricingRules;
249+
250+
@Data
251+
@ToString
252+
public static class ModelApiModelDataWebRespCodeCasePricingRulesDto {
253+
/***/
254+
@JsonProperty("OnlineCalculateDisplayCache")
255+
private List<onlineCalculateDisplayCacheDto1> OnlineCalculateDisplayCache;
256+
257+
@Data
258+
@ToString
259+
public static class onlineCalculateDisplayCacheDto1 {
260+
}
261+
262+
}
263+
238264
}
239265

240266
/***/
@@ -245,6 +271,10 @@ public static class ModelApiModelDataWebRespCodeCaseVideoModelModeSetDto {
245271
@JsonProperty("ActiveStatus")
246272
private Integer ActiveStatus;
247273

274+
/***/
275+
@JsonProperty("ExtraFields")
276+
private String ExtraFields;
277+
248278
}
249279

250280
}

0 commit comments

Comments
 (0)