Skip to content

Commit 75ef1b9

Browse files
author
fengyikai
committed
星流平台(aicp):更新队列查询接口;
1 parent b6e74ce commit 75ef1b9

6 files changed

Lines changed: 15 additions & 797 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.70</version>
9+
<version>1.8.6.71</version>
1010
<packaging>jar</packaging>
1111

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

src/main/java/ksyun/client/aicp/describemodels.v20240612/DescribeModelsResponse.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ public static class DataCodeCaseDto {
8989
@JsonProperty("SupportTryout")
9090
private String SupportTryout;
9191

92+
/***/
93+
@JsonProperty("ContextLength")
94+
private String ContextLength;
95+
9296
}
9397

9498
/**免费额度用尽后是否继续使用*/

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

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,12 @@ public static class QueueSetAccessListDto {
131131
@ToString
132132
public static class QueueSetCapabilityDto {
133133
/**队列CPU配额量*/
134-
@JsonProperty("CPU")
135-
private Integer CPU;
134+
@JsonProperty("CPUNum")
135+
private Integer CPUNum;
136136

137137
/**内存配额量(Gi)*/
138-
@JsonProperty("Memory")
139-
private Integer Memory;
138+
@JsonProperty("MemoryNum")
139+
private Integer MemoryNum;
140140

141141
/**GPU配额列表*/
142142
@JsonProperty("GPUInfos")
@@ -165,21 +165,16 @@ public static class QueueSetCapabilityGPUInfosDto {
165165
@ToString
166166
public static class QueueSetAllocatedDto {
167167
/**已分配CPU数量*/
168-
@JsonProperty("CPU")
169-
private Integer CPU;
168+
@JsonProperty("CPUNum")
169+
private Integer CPUNum;
170170

171171
/**已分配内存(Gi)*/
172-
@JsonProperty("Memory")
173-
private Integer Memory;
172+
@JsonProperty("MemoryNum")
173+
private Integer MemoryNum;
174174

175175
/**已分配GPU数量*/
176-
@JsonProperty("GPU")
177-
private QueueSetAllocatedGPUDto GPU;
178-
179-
@Data
180-
@ToString
181-
public static class QueueSetAllocatedGPUDto {
182-
}
176+
@JsonProperty("GPUNum")
177+
private String GPUNum;
183178

184179
}
185180

0 commit comments

Comments
 (0)