Skip to content

Commit eef097b

Browse files
committed
Add QueryDashboardNl2sql, QueryLastAccelerationEngineJob APIs.
1 parent 7d03e01 commit eef097b

12 files changed

+449
-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-08-11 Version: 2.1.18
2+
- Add QueryDashboardNl2sql, QueryLastAccelerationEngineJob APIs.
3+
14
2025-07-14 Version: 2.1.17
25
- Add QueryReadableResourcesListByUserIdV2 API.
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.17</version>
7+
<version>2.1.18</version>
88
<name>aliyun-java-sdk-quickbi-public</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java

aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/ListPortalMenuAuthorizationResponse.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ public static class ReceiversItem {
9393

9494
private Integer receiverType;
9595

96+
private Integer authPointsValue;
97+
9698
public String getReceiverId() {
9799
return this.receiverId;
98100
}
@@ -108,6 +110,14 @@ public Integer getReceiverType() {
108110
public void setReceiverType(Integer receiverType) {
109111
this.receiverType = receiverType;
110112
}
113+
114+
public Integer getAuthPointsValue() {
115+
return this.authPointsValue;
116+
}
117+
118+
public void setAuthPointsValue(Integer authPointsValue) {
119+
this.authPointsValue = authPointsValue;
120+
}
111121
}
112122
}
113123

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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 QueryDashboardNl2sqlRequest extends RpcAcsRequest<QueryDashboardNl2sqlResponse> {
26+
27+
28+
private String userId;
29+
30+
private String workspaceId;
31+
public QueryDashboardNl2sqlRequest() {
32+
super("quickbi-public", "2022-01-01", "QueryDashboardNl2sql", "2.2.0");
33+
setProtocol(ProtocolType.HTTPS);
34+
setMethod(MethodType.POST);
35+
}
36+
37+
public String getUserId() {
38+
return this.userId;
39+
}
40+
41+
public void setUserId(String userId) {
42+
this.userId = userId;
43+
if(userId != null){
44+
putQueryParameter("UserId", userId);
45+
}
46+
}
47+
48+
public String getWorkspaceId() {
49+
return this.workspaceId;
50+
}
51+
52+
public void setWorkspaceId(String workspaceId) {
53+
this.workspaceId = workspaceId;
54+
if(workspaceId != null){
55+
putQueryParameter("WorkspaceId", workspaceId);
56+
}
57+
}
58+
59+
@Override
60+
public Class<QueryDashboardNl2sqlResponse> getResponseClass() {
61+
return QueryDashboardNl2sqlResponse.class;
62+
}
63+
64+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
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.QueryDashboardNl2sqlResponseUnmarshaller;
20+
import com.aliyuncs.transform.UnmarshallerContext;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class QueryDashboardNl2sqlResponse extends AcsResponse {
27+
28+
private String requestId;
29+
30+
private Boolean success;
31+
32+
private List<Data> result;
33+
34+
public String getRequestId() {
35+
return this.requestId;
36+
}
37+
38+
public void setRequestId(String requestId) {
39+
this.requestId = requestId;
40+
}
41+
42+
public Boolean getSuccess() {
43+
return this.success;
44+
}
45+
46+
public void setSuccess(Boolean success) {
47+
this.success = success;
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 String dashboardName;
61+
62+
private String dashboardNl2sqlId;
63+
64+
private String ownerId;
65+
66+
private List<String> authorities;
67+
68+
public String getDashboardName() {
69+
return this.dashboardName;
70+
}
71+
72+
public void setDashboardName(String dashboardName) {
73+
this.dashboardName = dashboardName;
74+
}
75+
76+
public String getDashboardNl2sqlId() {
77+
return this.dashboardNl2sqlId;
78+
}
79+
80+
public void setDashboardNl2sqlId(String dashboardNl2sqlId) {
81+
this.dashboardNl2sqlId = dashboardNl2sqlId;
82+
}
83+
84+
public String getOwnerId() {
85+
return this.ownerId;
86+
}
87+
88+
public void setOwnerId(String ownerId) {
89+
this.ownerId = ownerId;
90+
}
91+
92+
public List<String> getAuthorities() {
93+
return this.authorities;
94+
}
95+
96+
public void setAuthorities(List<String> authorities) {
97+
this.authorities = authorities;
98+
}
99+
}
100+
101+
@Override
102+
public QueryDashboardNl2sqlResponse getInstance(UnmarshallerContext context) {
103+
return QueryDashboardNl2sqlResponseUnmarshaller.unmarshall(this, context);
104+
}
105+
106+
@Override
107+
public boolean checkShowJsonItemName() {
108+
return false;
109+
}
110+
}

aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryDataResponse.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ public static class HeadersItem {
102102

103103
private String type;
104104

105+
private String originalColumn;
106+
105107
public String getAggregator() {
106108
return this.aggregator;
107109
}
@@ -149,6 +151,14 @@ public String getType() {
149151
public void setType(String type) {
150152
this.type = type;
151153
}
154+
155+
public String getOriginalColumn() {
156+
return this.originalColumn;
157+
}
158+
159+
public void setOriginalColumn(String originalColumn) {
160+
this.originalColumn = originalColumn;
161+
}
152162
}
153163
}
154164

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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 QueryLastAccelerationEngineJobRequest extends RpcAcsRequest<QueryLastAccelerationEngineJobResponse> {
26+
27+
28+
private String cubeId;
29+
public QueryLastAccelerationEngineJobRequest() {
30+
super("quickbi-public", "2022-01-01", "QueryLastAccelerationEngineJob", "2.2.0");
31+
setProtocol(ProtocolType.HTTPS);
32+
setMethod(MethodType.POST);
33+
}
34+
35+
public String getCubeId() {
36+
return this.cubeId;
37+
}
38+
39+
public void setCubeId(String cubeId) {
40+
this.cubeId = cubeId;
41+
if(cubeId != null){
42+
putQueryParameter("CubeId", cubeId);
43+
}
44+
}
45+
46+
@Override
47+
public Class<QueryLastAccelerationEngineJobResponse> getResponseClass() {
48+
return QueryLastAccelerationEngineJobResponse.class;
49+
}
50+
51+
}

0 commit comments

Comments
 (0)