-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ManualRunMailTask, GetMailTaskStatus and GetWorksEmbedList apis.
- Loading branch information
Showing
11 changed files
with
703 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
...c/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/GetMailTaskStatusRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|
||
} |
110 changes: 110 additions & 0 deletions
110
.../src/main/java/com/aliyuncs/quickbi_public/model/v20220101/GetMailTaskStatusResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
103 changes: 103 additions & 0 deletions
103
...c/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/GetWorksEmbedListRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|
||
} |
Oops, something went wrong.