Skip to content

Commit df416ae

Browse files
committed
Update GetInstance and ListInstances.
1 parent 3b10ee5 commit df416ae

37 files changed

+2610
-10
lines changed

aliyun-java-sdk-paifeaturestore/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-07-17 Version: 1.0.16
2+
- Update GetInstance and ListInstances.
3+
14
2024-12-18 Version: 1.0.15
25
- Add Support Real time mock table.
36

aliyun-java-sdk-paifeaturestore/pom.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-paifeaturestore</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0.15</version>
7+
<version>1.0.16</version>
88
<name>aliyun-java-sdk-paifeaturestore</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
@@ -92,7 +92,7 @@ http://www.aliyun.com</description>
9292
<plugin>
9393
<groupId>org.apache.maven.plugins</groupId>
9494
<artifactId>maven-gpg-plugin</artifactId>
95-
<version>1.5</version>
95+
<version>3.1.0</version>
9696
<executions>
9797
<execution>
9898
<id>sign-artifacts</id>
@@ -104,14 +104,14 @@ http://www.aliyun.com</description>
104104
</executions>
105105
</plugin>
106106
<plugin>
107-
<groupId>org.sonatype.plugins</groupId>
108-
<artifactId>nexus-staging-maven-plugin</artifactId>
109-
<version>1.6.3</version>
107+
<groupId>org.sonatype.central</groupId>
108+
<artifactId>central-publishing-maven-plugin</artifactId>
109+
<version>0.8.0</version>
110110
<extensions>true</extensions>
111111
<configuration>
112-
<serverId>sonatype-nexus-staging</serverId>
113-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
114-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
112+
<publishingServerId>central</publishingServerId>
113+
<autoPublish>true</autoPublish>
114+
<waitUntil>published</waitUntil>
115115
</configuration>
116116
</plugin>
117117
</plugins>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.paifeaturestore.model.v20230621;
16+
17+
import com.aliyuncs.RoaAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
20+
/**
21+
* @author auto create
22+
* @version
23+
*/
24+
public class CheckModelFeatureFGFeatureRequest extends RoaAcsRequest<CheckModelFeatureFGFeatureResponse> {
25+
26+
27+
private String modelFeatureId;
28+
29+
private String instanceId;
30+
public CheckModelFeatureFGFeatureRequest() {
31+
super("PaiFeatureStore", "2023-06-21", "CheckModelFeatureFGFeature");
32+
setUriPattern("/api/v1/instances/[InstanceId]/modelfeatures/[ModelFeatureId]/action/checkfgfeature");
33+
setMethod(MethodType.POST);
34+
}
35+
36+
public String getModelFeatureId() {
37+
return this.modelFeatureId;
38+
}
39+
40+
public void setModelFeatureId(String modelFeatureId) {
41+
this.modelFeatureId = modelFeatureId;
42+
if(modelFeatureId != null){
43+
putPathParameter("ModelFeatureId", modelFeatureId);
44+
}
45+
}
46+
47+
public String getInstanceId() {
48+
return this.instanceId;
49+
}
50+
51+
public void setInstanceId(String instanceId) {
52+
this.instanceId = instanceId;
53+
if(instanceId != null){
54+
putPathParameter("InstanceId", instanceId);
55+
}
56+
}
57+
58+
@Override
59+
public Class<CheckModelFeatureFGFeatureResponse> getResponseClass() {
60+
return CheckModelFeatureFGFeatureResponse.class;
61+
}
62+
63+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.paifeaturestore.model.v20230621;
16+
17+
import java.util.List;
18+
import com.aliyuncs.AcsResponse;
19+
import com.aliyuncs.paifeaturestore.transform.v20230621.CheckModelFeatureFGFeatureResponseUnmarshaller;
20+
import com.aliyuncs.transform.UnmarshallerContext;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class CheckModelFeatureFGFeatureResponse extends AcsResponse {
27+
28+
private String requestId;
29+
30+
private List<FGCheckResultsItem> fGCheckResults;
31+
32+
public String getRequestId() {
33+
return this.requestId;
34+
}
35+
36+
public void setRequestId(String requestId) {
37+
this.requestId = requestId;
38+
}
39+
40+
public List<FGCheckResultsItem> getFGCheckResults() {
41+
return this.fGCheckResults;
42+
}
43+
44+
public void setFGCheckResults(List<FGCheckResultsItem> fGCheckResults) {
45+
this.fGCheckResults = fGCheckResults;
46+
}
47+
48+
public static class FGCheckResultsItem {
49+
50+
private String ruleCode;
51+
52+
private Boolean status;
53+
54+
private String message;
55+
56+
public String getRuleCode() {
57+
return this.ruleCode;
58+
}
59+
60+
public void setRuleCode(String ruleCode) {
61+
this.ruleCode = ruleCode;
62+
}
63+
64+
public Boolean getStatus() {
65+
return this.status;
66+
}
67+
68+
public void setStatus(Boolean status) {
69+
this.status = status;
70+
}
71+
72+
public String getMessage() {
73+
return this.message;
74+
}
75+
76+
public void setMessage(String message) {
77+
this.message = message;
78+
}
79+
}
80+
81+
@Override
82+
public CheckModelFeatureFGFeatureResponse getInstance(UnmarshallerContext context) {
83+
return CheckModelFeatureFGFeatureResponseUnmarshaller.unmarshall(this, context);
84+
}
85+
86+
@Override
87+
public boolean checkShowJsonItemName() {
88+
return false;
89+
}
90+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.paifeaturestore.model.v20230621;
16+
17+
import com.aliyuncs.RoaAcsRequest;
18+
import com.aliyuncs.http.ProtocolType;
19+
import com.aliyuncs.http.MethodType;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class CreateLLMConfigRequest extends RoaAcsRequest<CreateLLMConfigResponse> {
26+
27+
28+
private String body;
29+
30+
private String instanceId;
31+
public CreateLLMConfigRequest() {
32+
super("PaiFeatureStore", "2023-06-21", "CreateLLMConfig");
33+
setProtocol(ProtocolType.HTTPS);
34+
setUriPattern("/api/v1/instances/[InstanceId]/llmconfigs");
35+
setMethod(MethodType.POST);
36+
}
37+
38+
public String getBody() {
39+
return this.body;
40+
}
41+
42+
public void setBody(String body) {
43+
this.body = body;
44+
if(body != null){
45+
putBodyParameter("body", body);
46+
}
47+
}
48+
49+
public String getInstanceId() {
50+
return this.instanceId;
51+
}
52+
53+
public void setInstanceId(String instanceId) {
54+
this.instanceId = instanceId;
55+
if(instanceId != null){
56+
putPathParameter("InstanceId", instanceId);
57+
}
58+
}
59+
60+
@Override
61+
public Class<CreateLLMConfigResponse> getResponseClass() {
62+
return CreateLLMConfigResponse.class;
63+
}
64+
65+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.paifeaturestore.model.v20230621;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.paifeaturestore.transform.v20230621.CreateLLMConfigResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class CreateLLMConfigResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
private String lLMConfigId;
30+
31+
public String getRequestId() {
32+
return this.requestId;
33+
}
34+
35+
public void setRequestId(String requestId) {
36+
this.requestId = requestId;
37+
}
38+
39+
public String getLLMConfigId() {
40+
return this.lLMConfigId;
41+
}
42+
43+
public void setLLMConfigId(String lLMConfigId) {
44+
this.lLMConfigId = lLMConfigId;
45+
}
46+
47+
@Override
48+
public CreateLLMConfigResponse getInstance(UnmarshallerContext context) {
49+
return CreateLLMConfigResponseUnmarshaller.unmarshall(this, context);
50+
}
51+
52+
@Override
53+
public boolean checkShowJsonItemName() {
54+
return false;
55+
}
56+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.paifeaturestore.model.v20230621;
16+
17+
import com.aliyuncs.RoaAcsRequest;
18+
import com.aliyuncs.http.ProtocolType;
19+
import com.aliyuncs.http.MethodType;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class DeleteLLMConfigRequest extends RoaAcsRequest<DeleteLLMConfigResponse> {
26+
27+
28+
private String lLMConfigId;
29+
30+
private String instanceId;
31+
public DeleteLLMConfigRequest() {
32+
super("PaiFeatureStore", "2023-06-21", "DeleteLLMConfig");
33+
setProtocol(ProtocolType.HTTPS);
34+
setUriPattern("/api/v1/instances/[InstanceId]/llmconfigs/[LLMConfigId]");
35+
setMethod(MethodType.DELETE);
36+
}
37+
38+
public String getLLMConfigId() {
39+
return this.lLMConfigId;
40+
}
41+
42+
public void setLLMConfigId(String lLMConfigId) {
43+
this.lLMConfigId = lLMConfigId;
44+
if(lLMConfigId != null){
45+
putPathParameter("LLMConfigId", lLMConfigId);
46+
}
47+
}
48+
49+
public String getInstanceId() {
50+
return this.instanceId;
51+
}
52+
53+
public void setInstanceId(String instanceId) {
54+
this.instanceId = instanceId;
55+
if(instanceId != null){
56+
putPathParameter("InstanceId", instanceId);
57+
}
58+
}
59+
60+
@Override
61+
public Class<DeleteLLMConfigResponse> getResponseClass() {
62+
return DeleteLLMConfigResponse.class;
63+
}
64+
65+
}

0 commit comments

Comments
 (0)