Skip to content

Commit

Permalink
Add ManualRunMailTask, GetMailTaskStatus and GetWorksEmbedList apis.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Oct 10, 2024
1 parent 84ab81d commit 4da0d54
Show file tree
Hide file tree
Showing 11 changed files with 703 additions and 1 deletion.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-quickbi-public/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-10-10 Version: 2.1.10
- Add ManualRunMailTask, GetMailTaskStatus and GetWorksEmbedList apis.

2024-09-18 Version: 2.1.9
- Add API Ram meta.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-quickbi-public/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-quickbi-public</artifactId>
<packaging>jar</packaging>
<version>2.1.9</version>
<version>2.1.10</version>
<name>aliyun-java-sdk-quickbi-public</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.quickbi_public.model.v20220101;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;

/**
* @author auto create
* @version
*/
public class GetMailTaskStatusRequest extends RpcAcsRequest<GetMailTaskStatusResponse> {


private String mailId;

private Long taskId;
public GetMailTaskStatusRequest() {
super("quickbi-public", "2022-01-01", "GetMailTaskStatus", "2.2.0");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}

public String getMailId() {
return this.mailId;
}

public void setMailId(String mailId) {
this.mailId = mailId;
if(mailId != null){
putQueryParameter("MailId", mailId);
}
}

public Long getTaskId() {
return this.taskId;
}

public void setTaskId(Long taskId) {
this.taskId = taskId;
if(taskId != null){
putQueryParameter("TaskId", taskId.toString());
}
}

@Override
public Class<GetMailTaskStatusResponse> getResponseClass() {
return GetMailTaskStatusResponse.class;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.quickbi_public.model.v20220101;

import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.quickbi_public.transform.v20220101.GetMailTaskStatusResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
* @author auto create
* @version
*/
public class GetMailTaskStatusResponse extends AcsResponse {

private String requestId;

private Boolean success;

private List<DATA> result;

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

public Boolean getSuccess() {
return this.success;
}

public void setSuccess(Boolean success) {
this.success = success;
}

public List<DATA> getResult() {
return this.result;
}

public void setResult(List<DATA> result) {
this.result = result;
}

public static class DATA {

private String execTime;

private String mailId;

private String status;

private Long taskId;

public String getExecTime() {
return this.execTime;
}

public void setExecTime(String execTime) {
this.execTime = execTime;
}

public String getMailId() {
return this.mailId;
}

public void setMailId(String mailId) {
this.mailId = mailId;
}

public String getStatus() {
return this.status;
}

public void setStatus(String status) {
this.status = status;
}

public Long getTaskId() {
return this.taskId;
}

public void setTaskId(Long taskId) {
this.taskId = taskId;
}
}

@Override
public GetMailTaskStatusResponse getInstance(UnmarshallerContext context) {
return GetMailTaskStatusResponseUnmarshaller.unmarshall(this, context);
}

@Override
public boolean checkShowJsonItemName() {
return false;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.quickbi_public.model.v20220101;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;

/**
* @author auto create
* @version
*/
public class GetWorksEmbedListRequest extends RpcAcsRequest<GetWorksEmbedListResponse> {


private String wsId;

private Integer pageSize;

private String keyword;

private String worksType;

private Integer pageNo;
public GetWorksEmbedListRequest() {
super("quickbi-public", "2022-01-01", "GetWorksEmbedList", "2.2.0");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}

public String getWsId() {
return this.wsId;
}

public void setWsId(String wsId) {
this.wsId = wsId;
if(wsId != null){
putQueryParameter("WsId", wsId);
}
}

public Integer getPageSize() {
return this.pageSize;
}

public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}

public String getKeyword() {
return this.keyword;
}

public void setKeyword(String keyword) {
this.keyword = keyword;
if(keyword != null){
putQueryParameter("Keyword", keyword);
}
}

public String getWorksType() {
return this.worksType;
}

public void setWorksType(String worksType) {
this.worksType = worksType;
if(worksType != null){
putQueryParameter("WorksType", worksType);
}
}

public Integer getPageNo() {
return this.pageNo;
}

public void setPageNo(Integer pageNo) {
this.pageNo = pageNo;
if(pageNo != null){
putQueryParameter("PageNo", pageNo.toString());
}
}

@Override
public Class<GetWorksEmbedListResponse> getResponseClass() {
return GetWorksEmbedListResponse.class;
}

}
Loading

0 comments on commit 4da0d54

Please sign in to comment.