Skip to content

Commit e6b5495

Browse files
committed
Add QueryReadableResourcesListByUserIdV2 API.
1 parent d76c1c1 commit e6b5495

File tree

5 files changed

+408
-1
lines changed

5 files changed

+408
-1
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-07-14 Version: 2.1.17
2+
- Add QueryReadableResourcesListByUserIdV2 API.
3+
14
2025-07-03 Version: 2.1.16
25
- QueryAuditLog API add request parameters.
36

aliyun-java-sdk-quickbi-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-quickbi-public</artifactId>
66
<packaging>jar</packaging>
7-
<version>2.1.16</version>
7+
<version>2.1.17</version>
88
<name>aliyun-java-sdk-quickbi-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,77 @@
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.quickbi_public.model.v20220101;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.ProtocolType;
19+
import com.aliyuncs.http.MethodType;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class QueryReadableResourcesListByUserIdV2Request extends RpcAcsRequest<QueryReadableResourcesListByUserIdV2Response> {
26+
27+
28+
private String userId;
29+
30+
private String workType;
31+
32+
private String workspaceId;
33+
public QueryReadableResourcesListByUserIdV2Request() {
34+
super("quickbi-public", "2022-01-01", "QueryReadableResourcesListByUserIdV2", "2.2.0");
35+
setProtocol(ProtocolType.HTTPS);
36+
setMethod(MethodType.POST);
37+
}
38+
39+
public String getUserId() {
40+
return this.userId;
41+
}
42+
43+
public void setUserId(String userId) {
44+
this.userId = userId;
45+
if(userId != null){
46+
putQueryParameter("UserId", userId);
47+
}
48+
}
49+
50+
public String getWorkType() {
51+
return this.workType;
52+
}
53+
54+
public void setWorkType(String workType) {
55+
this.workType = workType;
56+
if(workType != null){
57+
putQueryParameter("WorkType", workType);
58+
}
59+
}
60+
61+
public String getWorkspaceId() {
62+
return this.workspaceId;
63+
}
64+
65+
public void setWorkspaceId(String workspaceId) {
66+
this.workspaceId = workspaceId;
67+
if(workspaceId != null){
68+
putQueryParameter("WorkspaceId", workspaceId);
69+
}
70+
}
71+
72+
@Override
73+
public Class<QueryReadableResourcesListByUserIdV2Response> getResponseClass() {
74+
return QueryReadableResourcesListByUserIdV2Response.class;
75+
}
76+
77+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,263 @@
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.quickbi_public.model.v20220101;
16+
17+
import java.util.List;
18+
import com.aliyuncs.AcsResponse;
19+
import com.aliyuncs.quickbi_public.transform.v20220101.QueryReadableResourcesListByUserIdV2ResponseUnmarshaller;
20+
import com.aliyuncs.transform.UnmarshallerContext;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class QueryReadableResourcesListByUserIdV2Response extends AcsResponse {
27+
28+
private Boolean success;
29+
30+
private String requestId;
31+
32+
private List<Data> result;
33+
34+
public Boolean getSuccess() {
35+
return this.success;
36+
}
37+
38+
public void setSuccess(Boolean success) {
39+
this.success = success;
40+
}
41+
42+
public String getRequestId() {
43+
return this.requestId;
44+
}
45+
46+
public void setRequestId(String requestId) {
47+
this.requestId = requestId;
48+
}
49+
50+
public List<Data> getResult() {
51+
return this.result;
52+
}
53+
54+
public void setResult(List<Data> result) {
55+
this.result = result;
56+
}
57+
58+
public static class Data {
59+
60+
private Integer status;
61+
62+
private String modifyTime;
63+
64+
private String ownerName;
65+
66+
private String description;
67+
68+
private String workType;
69+
70+
private String modifyName;
71+
72+
private String createTime;
73+
74+
private String workspaceId;
75+
76+
private Integer thirdPartAuthFlag;
77+
78+
private String ownerId;
79+
80+
private String securityLevel;
81+
82+
private String workName;
83+
84+
private String workspaceName;
85+
86+
private String worksId;
87+
88+
private Directory directory;
89+
90+
public Integer getStatus() {
91+
return this.status;
92+
}
93+
94+
public void setStatus(Integer status) {
95+
this.status = status;
96+
}
97+
98+
public String getModifyTime() {
99+
return this.modifyTime;
100+
}
101+
102+
public void setModifyTime(String modifyTime) {
103+
this.modifyTime = modifyTime;
104+
}
105+
106+
public String getOwnerName() {
107+
return this.ownerName;
108+
}
109+
110+
public void setOwnerName(String ownerName) {
111+
this.ownerName = ownerName;
112+
}
113+
114+
public String getDescription() {
115+
return this.description;
116+
}
117+
118+
public void setDescription(String description) {
119+
this.description = description;
120+
}
121+
122+
public String getWorkType() {
123+
return this.workType;
124+
}
125+
126+
public void setWorkType(String workType) {
127+
this.workType = workType;
128+
}
129+
130+
public String getModifyName() {
131+
return this.modifyName;
132+
}
133+
134+
public void setModifyName(String modifyName) {
135+
this.modifyName = modifyName;
136+
}
137+
138+
public String getCreateTime() {
139+
return this.createTime;
140+
}
141+
142+
public void setCreateTime(String createTime) {
143+
this.createTime = createTime;
144+
}
145+
146+
public String getWorkspaceId() {
147+
return this.workspaceId;
148+
}
149+
150+
public void setWorkspaceId(String workspaceId) {
151+
this.workspaceId = workspaceId;
152+
}
153+
154+
public Integer getThirdPartAuthFlag() {
155+
return this.thirdPartAuthFlag;
156+
}
157+
158+
public void setThirdPartAuthFlag(Integer thirdPartAuthFlag) {
159+
this.thirdPartAuthFlag = thirdPartAuthFlag;
160+
}
161+
162+
public String getOwnerId() {
163+
return this.ownerId;
164+
}
165+
166+
public void setOwnerId(String ownerId) {
167+
this.ownerId = ownerId;
168+
}
169+
170+
public String getSecurityLevel() {
171+
return this.securityLevel;
172+
}
173+
174+
public void setSecurityLevel(String securityLevel) {
175+
this.securityLevel = securityLevel;
176+
}
177+
178+
public String getWorkName() {
179+
return this.workName;
180+
}
181+
182+
public void setWorkName(String workName) {
183+
this.workName = workName;
184+
}
185+
186+
public String getWorkspaceName() {
187+
return this.workspaceName;
188+
}
189+
190+
public void setWorkspaceName(String workspaceName) {
191+
this.workspaceName = workspaceName;
192+
}
193+
194+
public String getWorksId() {
195+
return this.worksId;
196+
}
197+
198+
public void setWorksId(String worksId) {
199+
this.worksId = worksId;
200+
}
201+
202+
public Directory getDirectory() {
203+
return this.directory;
204+
}
205+
206+
public void setDirectory(Directory directory) {
207+
this.directory = directory;
208+
}
209+
210+
public static class Directory {
211+
212+
private String pathId;
213+
214+
private String id;
215+
216+
private String pathName;
217+
218+
private String name;
219+
220+
public String getPathId() {
221+
return this.pathId;
222+
}
223+
224+
public void setPathId(String pathId) {
225+
this.pathId = pathId;
226+
}
227+
228+
public String getId() {
229+
return this.id;
230+
}
231+
232+
public void setId(String id) {
233+
this.id = id;
234+
}
235+
236+
public String getPathName() {
237+
return this.pathName;
238+
}
239+
240+
public void setPathName(String pathName) {
241+
this.pathName = pathName;
242+
}
243+
244+
public String getName() {
245+
return this.name;
246+
}
247+
248+
public void setName(String name) {
249+
this.name = name;
250+
}
251+
}
252+
}
253+
254+
@Override
255+
public QueryReadableResourcesListByUserIdV2Response getInstance(UnmarshallerContext context) {
256+
return QueryReadableResourcesListByUserIdV2ResponseUnmarshaller.unmarshall(this, context);
257+
}
258+
259+
@Override
260+
public boolean checkShowJsonItemName() {
261+
return false;
262+
}
263+
}

0 commit comments

Comments
 (0)