Skip to content

Commit

Permalink
Add The billingCount return value to the RunPreTrainService Api.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed May 6, 2023
1 parent 689b098 commit 6fd2ce7
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-nlp-automl/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2023-05-06 Version: 0.0.13
- Add The billingCount return value to the RunPreTrainService Api.

2023-03-23 Version: 0.0.12
- Add FindUserReport4Alinlp Api.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-nlp-automl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-nlp-automl</artifactId>
<packaging>jar</packaging>
<version>0.0.12</version>
<version>0.0.13</version>
<name>aliyun-java-sdk-nlp-automl</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ public class RunPreTrainServiceResponse extends AcsResponse {

private String requestId;

private Integer billingCount;

public String getPredictResult() {
return this.predictResult;
}
Expand All @@ -44,6 +46,14 @@ public void setRequestId(String requestId) {
this.requestId = requestId;
}

public Integer getBillingCount() {
return this.billingCount;
}

public void setBillingCount(Integer billingCount) {
this.billingCount = billingCount;
}

@Override
public RunPreTrainServiceResponse getInstance(UnmarshallerContext context) {
return RunPreTrainServiceResponseUnmarshaller.unmarshall(this, context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ public class RunPreTrainServiceResponseUnmarshaller {
public static RunPreTrainServiceResponse unmarshall(RunPreTrainServiceResponse runPreTrainServiceResponse, UnmarshallerContext _ctx) {

runPreTrainServiceResponse.setRequestId(_ctx.stringValue("RunPreTrainServiceResponse.RequestId"));
runPreTrainServiceResponse.setPredictResult(_ctx.stringValue("RunPreTrainServiceResponse.PredictResult"));
runPreTrainServiceResponse.setPredictResult(_ctx.stringValue("RunPreTrainServiceResponse.PredictResult"));
runPreTrainServiceResponse.setBillingCount(_ctx.integerValue("RunPreTrainServiceResponse.BillingCount"));

return runPreTrainServiceResponse;
}
Expand Down

0 comments on commit 6fd2ce7

Please sign in to comment.