Skip to content

Commit 84465b3

Browse files
committed
Add some APIs.
1 parent 929f168 commit 84465b3

17 files changed

+1205
-4
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-11-17 Version: 2.1.20
2+
- Add some APIs.
3+
14
2025-09-11 Version: 2.1.19
25
- Add some APIs.
36

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

Lines changed: 2 additions & 3 deletions
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.19</version>
7+
<version>2.1.20</version>
88
<name>aliyun-java-sdk-quickbi-public</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
@@ -105,12 +105,11 @@ http://www.aliyun.com</description>
105105
<plugin>
106106
<groupId>org.sonatype.central</groupId>
107107
<artifactId>central-publishing-maven-plugin</artifactId>
108-
<version>0.8.0</version>
108+
<version>0.9.0</version>
109109
<extensions>true</extensions>
110110
<configuration>
111111
<publishingServerId>central</publishingServerId>
112112
<autoPublish>true</autoPublish>
113-
<waitUntil>published</waitUntil>
114113
</configuration>
115114
</plugin>
116115
</plugins>
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
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 CreateWorkspaceRequest extends RpcAcsRequest<CreateWorkspaceResponse> {
26+
27+
28+
private Boolean allowViewAll;
29+
30+
private String workspaceName;
31+
32+
private String workspaceDescription;
33+
34+
private Boolean onlyAdminCreateDatasource;
35+
36+
private Boolean allowShare;
37+
38+
private Boolean defaultShareToAll;
39+
40+
private Boolean allowPublish;
41+
42+
private Boolean useComment;
43+
public CreateWorkspaceRequest() {
44+
super("quickbi-public", "2022-01-01", "CreateWorkspace", "2.2.0");
45+
setProtocol(ProtocolType.HTTPS);
46+
setMethod(MethodType.POST);
47+
}
48+
49+
public Boolean getAllowViewAll() {
50+
return this.allowViewAll;
51+
}
52+
53+
public void setAllowViewAll(Boolean allowViewAll) {
54+
this.allowViewAll = allowViewAll;
55+
if(allowViewAll != null){
56+
putQueryParameter("AllowViewAll", allowViewAll.toString());
57+
}
58+
}
59+
60+
public String getWorkspaceName() {
61+
return this.workspaceName;
62+
}
63+
64+
public void setWorkspaceName(String workspaceName) {
65+
this.workspaceName = workspaceName;
66+
if(workspaceName != null){
67+
putQueryParameter("WorkspaceName", workspaceName);
68+
}
69+
}
70+
71+
public String getWorkspaceDescription() {
72+
return this.workspaceDescription;
73+
}
74+
75+
public void setWorkspaceDescription(String workspaceDescription) {
76+
this.workspaceDescription = workspaceDescription;
77+
if(workspaceDescription != null){
78+
putQueryParameter("WorkspaceDescription", workspaceDescription);
79+
}
80+
}
81+
82+
public Boolean getOnlyAdminCreateDatasource() {
83+
return this.onlyAdminCreateDatasource;
84+
}
85+
86+
public void setOnlyAdminCreateDatasource(Boolean onlyAdminCreateDatasource) {
87+
this.onlyAdminCreateDatasource = onlyAdminCreateDatasource;
88+
if(onlyAdminCreateDatasource != null){
89+
putQueryParameter("OnlyAdminCreateDatasource", onlyAdminCreateDatasource.toString());
90+
}
91+
}
92+
93+
public Boolean getAllowShare() {
94+
return this.allowShare;
95+
}
96+
97+
public void setAllowShare(Boolean allowShare) {
98+
this.allowShare = allowShare;
99+
if(allowShare != null){
100+
putQueryParameter("AllowShare", allowShare.toString());
101+
}
102+
}
103+
104+
public Boolean getDefaultShareToAll() {
105+
return this.defaultShareToAll;
106+
}
107+
108+
public void setDefaultShareToAll(Boolean defaultShareToAll) {
109+
this.defaultShareToAll = defaultShareToAll;
110+
if(defaultShareToAll != null){
111+
putQueryParameter("DefaultShareToAll", defaultShareToAll.toString());
112+
}
113+
}
114+
115+
public Boolean getAllowPublish() {
116+
return this.allowPublish;
117+
}
118+
119+
public void setAllowPublish(Boolean allowPublish) {
120+
this.allowPublish = allowPublish;
121+
if(allowPublish != null){
122+
putQueryParameter("AllowPublish", allowPublish.toString());
123+
}
124+
}
125+
126+
public Boolean getUseComment() {
127+
return this.useComment;
128+
}
129+
130+
public void setUseComment(Boolean useComment) {
131+
this.useComment = useComment;
132+
if(useComment != null){
133+
putQueryParameter("UseComment", useComment.toString());
134+
}
135+
}
136+
137+
@Override
138+
public Class<CreateWorkspaceResponse> getResponseClass() {
139+
return CreateWorkspaceResponse.class;
140+
}
141+
142+
}
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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.AcsResponse;
18+
import com.aliyuncs.quickbi_public.transform.v20220101.CreateWorkspaceResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class CreateWorkspaceResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
private String result;
30+
31+
private Boolean success;
32+
33+
public String getRequestId() {
34+
return this.requestId;
35+
}
36+
37+
public void setRequestId(String requestId) {
38+
this.requestId = requestId;
39+
}
40+
41+
public String getResult() {
42+
return this.result;
43+
}
44+
45+
public void setResult(String result) {
46+
this.result = result;
47+
}
48+
49+
public Boolean getSuccess() {
50+
return this.success;
51+
}
52+
53+
public void setSuccess(Boolean success) {
54+
this.success = success;
55+
}
56+
57+
@Override
58+
public CreateWorkspaceResponse getInstance(UnmarshallerContext context) {
59+
return CreateWorkspaceResponseUnmarshaller.unmarshall(this, context);
60+
}
61+
62+
@Override
63+
public boolean checkShowJsonItemName() {
64+
return false;
65+
}
66+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
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 ListAccelerationOfWorkspaceRequest extends RpcAcsRequest<ListAccelerationOfWorkspaceResponse> {
26+
27+
28+
private String cubeName;
29+
30+
private Integer pageSize;
31+
32+
private String creatorId;
33+
34+
private Integer pageNo;
35+
36+
private String workspaceId;
37+
public ListAccelerationOfWorkspaceRequest() {
38+
super("quickbi-public", "2022-01-01", "ListAccelerationOfWorkspace", "2.2.0");
39+
setProtocol(ProtocolType.HTTPS);
40+
setMethod(MethodType.POST);
41+
}
42+
43+
public String getCubeName() {
44+
return this.cubeName;
45+
}
46+
47+
public void setCubeName(String cubeName) {
48+
this.cubeName = cubeName;
49+
if(cubeName != null){
50+
putQueryParameter("CubeName", cubeName);
51+
}
52+
}
53+
54+
public Integer getPageSize() {
55+
return this.pageSize;
56+
}
57+
58+
public void setPageSize(Integer pageSize) {
59+
this.pageSize = pageSize;
60+
if(pageSize != null){
61+
putQueryParameter("PageSize", pageSize.toString());
62+
}
63+
}
64+
65+
public String getCreatorId() {
66+
return this.creatorId;
67+
}
68+
69+
public void setCreatorId(String creatorId) {
70+
this.creatorId = creatorId;
71+
if(creatorId != null){
72+
putQueryParameter("CreatorId", creatorId);
73+
}
74+
}
75+
76+
public Integer getPageNo() {
77+
return this.pageNo;
78+
}
79+
80+
public void setPageNo(Integer pageNo) {
81+
this.pageNo = pageNo;
82+
if(pageNo != null){
83+
putQueryParameter("PageNo", pageNo.toString());
84+
}
85+
}
86+
87+
public String getWorkspaceId() {
88+
return this.workspaceId;
89+
}
90+
91+
public void setWorkspaceId(String workspaceId) {
92+
this.workspaceId = workspaceId;
93+
if(workspaceId != null){
94+
putQueryParameter("WorkspaceId", workspaceId);
95+
}
96+
}
97+
98+
@Override
99+
public Class<ListAccelerationOfWorkspaceResponse> getResponseClass() {
100+
return ListAccelerationOfWorkspaceResponse.class;
101+
}
102+
103+
}

0 commit comments

Comments
 (0)