Skip to content

Commit 8861d1c

Browse files
committed
Add CreateTicket4Copilot API.
1 parent fa062a5 commit 8861d1c

29 files changed

+1767
-1
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2024-05-22 Version: 2.1.6
2+
- Add CreateTicket4Copilot API.
3+
- QueryDatasetList and QueryDatasetInfo APIs add response parameters.
4+
15
2024-03-19 Version: 2.1.5
26
- Add QueryWorkspaceRoleConfig, ListWorkspaceRoleUsers, ListWorkspaceRoles, QueryOrganizationRoleConfig, ListOrganizationRoleUsers and ListOrganizationRoles APIs.
37

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.5</version>
7+
<version>2.1.6</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,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.quickbi_public.model.v20220101;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
20+
/**
21+
* @author auto create
22+
* @version
23+
*/
24+
public class CreateTicket4CopilotRequest extends RpcAcsRequest<CreateTicket4CopilotResponse> {
25+
26+
27+
private String copilotId;
28+
29+
private Integer expireTime;
30+
31+
private Integer accountType;
32+
33+
private String userId;
34+
35+
private String accountName;
36+
37+
private Integer ticketNum;
38+
public CreateTicket4CopilotRequest() {
39+
super("quickbi-public", "2022-01-01", "CreateTicket4Copilot", "2.2.0");
40+
setMethod(MethodType.POST);
41+
}
42+
43+
public String getCopilotId() {
44+
return this.copilotId;
45+
}
46+
47+
public void setCopilotId(String copilotId) {
48+
this.copilotId = copilotId;
49+
if(copilotId != null){
50+
putQueryParameter("CopilotId", copilotId);
51+
}
52+
}
53+
54+
public Integer getExpireTime() {
55+
return this.expireTime;
56+
}
57+
58+
public void setExpireTime(Integer expireTime) {
59+
this.expireTime = expireTime;
60+
if(expireTime != null){
61+
putQueryParameter("ExpireTime", expireTime.toString());
62+
}
63+
}
64+
65+
public Integer getAccountType() {
66+
return this.accountType;
67+
}
68+
69+
public void setAccountType(Integer accountType) {
70+
this.accountType = accountType;
71+
if(accountType != null){
72+
putQueryParameter("AccountType", accountType.toString());
73+
}
74+
}
75+
76+
public String getUserId() {
77+
return this.userId;
78+
}
79+
80+
public void setUserId(String userId) {
81+
this.userId = userId;
82+
if(userId != null){
83+
putQueryParameter("UserId", userId);
84+
}
85+
}
86+
87+
public String getAccountName() {
88+
return this.accountName;
89+
}
90+
91+
public void setAccountName(String accountName) {
92+
this.accountName = accountName;
93+
if(accountName != null){
94+
putQueryParameter("AccountName", accountName);
95+
}
96+
}
97+
98+
public Integer getTicketNum() {
99+
return this.ticketNum;
100+
}
101+
102+
public void setTicketNum(Integer ticketNum) {
103+
this.ticketNum = ticketNum;
104+
if(ticketNum != null){
105+
putQueryParameter("TicketNum", ticketNum.toString());
106+
}
107+
}
108+
109+
@Override
110+
public Class<CreateTicket4CopilotResponse> getResponseClass() {
111+
return CreateTicket4CopilotResponse.class;
112+
}
113+
114+
}
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.CreateTicket4CopilotResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class CreateTicket4CopilotResponse 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 CreateTicket4CopilotResponse getInstance(UnmarshallerContext context) {
59+
return CreateTicket4CopilotResponseUnmarshaller.unmarshall(this, context);
60+
}
61+
62+
@Override
63+
public boolean checkShowJsonItemName() {
64+
return false;
65+
}
66+
}

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ public static class DataItem {
135135

136136
private String workspaceName;
137137

138+
private String favoriteDate;
139+
138140
public String getTreeId() {
139141
return this.treeId;
140142
}
@@ -238,6 +240,14 @@ public String getWorkspaceName() {
238240
public void setWorkspaceName(String workspaceName) {
239241
this.workspaceName = workspaceName;
240242
}
243+
244+
public String getFavoriteDate() {
245+
return this.favoriteDate;
246+
}
247+
248+
public void setFavoriteDate(String favoriteDate) {
249+
this.favoriteDate = favoriteDate;
250+
}
241251
}
242252
}
243253

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
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.MethodType;
19+
20+
/**
21+
* @author auto create
22+
* @version
23+
*/
24+
public class ListOrganizationRoleUsersRequest extends RpcAcsRequest<ListOrganizationRoleUsersResponse> {
25+
26+
27+
private Long roleId;
28+
29+
private Integer pageSize;
30+
31+
private Integer pageNum;
32+
33+
private String keyword;
34+
public ListOrganizationRoleUsersRequest() {
35+
super("quickbi-public", "2022-01-01", "ListOrganizationRoleUsers", "2.2.0");
36+
setMethod(MethodType.POST);
37+
}
38+
39+
public Long getRoleId() {
40+
return this.roleId;
41+
}
42+
43+
public void setRoleId(Long roleId) {
44+
this.roleId = roleId;
45+
if(roleId != null){
46+
putQueryParameter("RoleId", roleId.toString());
47+
}
48+
}
49+
50+
public Integer getPageSize() {
51+
return this.pageSize;
52+
}
53+
54+
public void setPageSize(Integer pageSize) {
55+
this.pageSize = pageSize;
56+
if(pageSize != null){
57+
putQueryParameter("PageSize", pageSize.toString());
58+
}
59+
}
60+
61+
public Integer getPageNum() {
62+
return this.pageNum;
63+
}
64+
65+
public void setPageNum(Integer pageNum) {
66+
this.pageNum = pageNum;
67+
if(pageNum != null){
68+
putQueryParameter("PageNum", pageNum.toString());
69+
}
70+
}
71+
72+
public String getKeyword() {
73+
return this.keyword;
74+
}
75+
76+
public void setKeyword(String keyword) {
77+
this.keyword = keyword;
78+
if(keyword != null){
79+
putQueryParameter("Keyword", keyword);
80+
}
81+
}
82+
83+
@Override
84+
public Class<ListOrganizationRoleUsersResponse> getResponseClass() {
85+
return ListOrganizationRoleUsersResponse.class;
86+
}
87+
88+
}

0 commit comments

Comments
 (0)