Skip to content

Commit cb098e6

Browse files
author
fengyikai
committed
修复List
1 parent 141dabb commit cb098e6

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

src/main/java/ksyun/client/aicp/describeinferences.v20240612/DescribeInferencesResponse.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,20 @@ public static class InferenceSetEnvDto {
113113

114114
/**启动参数(模型部署类型参数)*/
115115
@JsonProperty("CmdOptions")
116+
private List<InferenceSetCmdOptionsDto> CmdOptions;
117+
118+
@Data
119+
@ToString
120+
public static class InferenceSetCmdOptionsDto {
121+
/**环境变量名*/
122+
@JsonProperty("Name")
123+
private String Name;
124+
125+
/**环境变量值*/
126+
@JsonProperty("Value")
127+
private String Value;
128+
129+
}
116130
/**资源池ID*/
117131
@JsonProperty("ResourcePoolId")
118132
private String ResourcePoolId;

src/main/java/ksyun/client/aicp/getinferencedetail.v20240612/GetInferenceDetailResponse.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,20 @@ public static class InferenceDetailEnvDto {
101101

102102
/**启动参数(模型部署类型参数)*/
103103
@JsonProperty("CmdOptions")
104+
private List<InferenceDetailCmdOptionsDto> CmdOptions;
105+
@Data
106+
@ToString
107+
public static class InferenceDetailCmdOptionsDto {
108+
/**环境变量名*/
109+
@JsonProperty("Name")
110+
private String Name;
111+
112+
/**环境变量值*/
113+
@JsonProperty("Value")
114+
private String Value;
115+
116+
}
117+
104118
/**资源池ID*/
105119
@JsonProperty("ResourcePoolId")
106120
private String ResourcePoolId;

0 commit comments

Comments
 (0)