Skip to content

Commit c58b0de

Browse files
committed
-Add API ListApiByApp.
1 parent febea9e commit c58b0de

File tree

5 files changed

+1650
-1
lines changed

5 files changed

+1650
-1
lines changed

aliyun-java-sdk-dataphin-public/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-04-17 Version: 1.0.6
2+
-- Add API ListApiByApp.
3+
14
2025-04-16 Version: 1.0.5
25
-- API CreateDataSource input param fix.
36

aliyun-java-sdk-dataphin-public/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-dataphin-public</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0.5</version>
7+
<version>1.0.6</version>
88
<name>aliyun-java-sdk-dataphin-public</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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.dataphin_public.model.v20230630;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.google.gson.Gson;
19+
import com.google.gson.annotations.SerializedName;
20+
import com.aliyuncs.http.ProtocolType;
21+
import com.aliyuncs.http.MethodType;
22+
23+
/**
24+
* @author auto create
25+
* @version
26+
*/
27+
public class ListApiByAppRequest extends RpcAcsRequest<ListApiByAppResponse> {
28+
29+
30+
private Long opTenantId;
31+
32+
@SerializedName("pageQuery")
33+
private PageQuery pageQuery;
34+
public ListApiByAppRequest() {
35+
super("dataphin-public", "2023-06-30", "ListApiByApp");
36+
setProtocol(ProtocolType.HTTPS);
37+
setMethod(MethodType.POST);
38+
}
39+
40+
public Long getOpTenantId() {
41+
return this.opTenantId;
42+
}
43+
44+
public void setOpTenantId(Long opTenantId) {
45+
this.opTenantId = opTenantId;
46+
if(opTenantId != null){
47+
putQueryParameter("OpTenantId", opTenantId.toString());
48+
}
49+
}
50+
51+
public PageQuery getPageQuery() {
52+
return this.pageQuery;
53+
}
54+
55+
public void setPageQuery(PageQuery pageQuery) {
56+
this.pageQuery = pageQuery;
57+
if (pageQuery != null) {
58+
putBodyParameter("PageQuery" , new Gson().toJson(pageQuery));
59+
}
60+
}
61+
62+
public static class PageQuery {
63+
64+
@SerializedName("PageSize")
65+
private Integer pageSize;
66+
67+
@SerializedName("AppKey")
68+
private Long appKey;
69+
70+
@SerializedName("Keyword")
71+
private String keyword;
72+
73+
@SerializedName("PageNum")
74+
private Integer pageNum;
75+
76+
public Integer getPageSize() {
77+
return this.pageSize;
78+
}
79+
80+
public void setPageSize(Integer pageSize) {
81+
this.pageSize = pageSize;
82+
}
83+
84+
public Long getAppKey() {
85+
return this.appKey;
86+
}
87+
88+
public void setAppKey(Long appKey) {
89+
this.appKey = appKey;
90+
}
91+
92+
public String getKeyword() {
93+
return this.keyword;
94+
}
95+
96+
public void setKeyword(String keyword) {
97+
this.keyword = keyword;
98+
}
99+
100+
public Integer getPageNum() {
101+
return this.pageNum;
102+
}
103+
104+
public void setPageNum(Integer pageNum) {
105+
this.pageNum = pageNum;
106+
}
107+
}
108+
109+
@Override
110+
public Class<ListApiByAppResponse> getResponseClass() {
111+
return ListApiByAppResponse.class;
112+
}
113+
114+
}

0 commit comments

Comments
 (0)