
com.aliyun.quickbi_public20220101.models.QueryWorksByWorkspaceResponseBody Maven / Gradle / Ivy
Show all versions of quickbi_public20220101 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.quickbi_public20220101.models;
import com.aliyun.tea.*;
public class QueryWorksByWorkspaceResponseBody extends TeaModel {
/**
* The ID of the request.
*
* example:
* D787E1A3-A93C-424A-B626-C2B05DF8D885
*/
@NameInMap("RequestId")
public String requestId;
/**
* Returns a list of all works in the organization workspace that meet the requested criteria.
*/
@NameInMap("Result")
public QueryWorksByWorkspaceResponseBodyResult result;
/**
* Indicates whether the request is successful. Valid values:
*
* - true: The request was successful.
* - false: The request failed.
*
*
* example:
* true
*/
@NameInMap("Success")
public Boolean success;
public static QueryWorksByWorkspaceResponseBody build(java.util.Map map) throws Exception {
QueryWorksByWorkspaceResponseBody self = new QueryWorksByWorkspaceResponseBody();
return TeaModel.build(map, self);
}
public QueryWorksByWorkspaceResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public QueryWorksByWorkspaceResponseBody setResult(QueryWorksByWorkspaceResponseBodyResult result) {
this.result = result;
return this;
}
public QueryWorksByWorkspaceResponseBodyResult getResult() {
return this.result;
}
public QueryWorksByWorkspaceResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class QueryWorksByWorkspaceResponseBodyResultDataDirectory extends TeaModel {
/**
* example:
* 83d37ba6-d909-48a2-a517-f4d05c3a****
*/
@NameInMap("Id")
public String id;
@NameInMap("Name")
public String name;
/**
* The hierarchical structure of the directory ID to which the directory belongs. Separate the hierarchical structure with a /.
*
* example:
* 83d37ba6-d909-48a2-a517-f4d05c3a****
*/
@NameInMap("PathId")
public String pathId;
/**
* The hierarchical structure of the directory to which the directory belongs. Separate the hierarchical structure with a (/).
*
* example:
* Test directory
*/
@NameInMap("PathName")
public String pathName;
public static QueryWorksByWorkspaceResponseBodyResultDataDirectory build(java.util.Map map) throws Exception {
QueryWorksByWorkspaceResponseBodyResultDataDirectory self = new QueryWorksByWorkspaceResponseBodyResultDataDirectory();
return TeaModel.build(map, self);
}
public QueryWorksByWorkspaceResponseBodyResultDataDirectory setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public QueryWorksByWorkspaceResponseBodyResultDataDirectory setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public QueryWorksByWorkspaceResponseBodyResultDataDirectory setPathId(String pathId) {
this.pathId = pathId;
return this;
}
public String getPathId() {
return this.pathId;
}
public QueryWorksByWorkspaceResponseBodyResultDataDirectory setPathName(String pathName) {
this.pathName = pathName;
return this;
}
public String getPathName() {
return this.pathName;
}
}
public static class QueryWorksByWorkspaceResponseBodyResultData extends TeaModel {
/**
* Third-party embedding status. Valid values:
*
* - 0: The embed service is not enabled.
* - 1: Embed is enabled.
*
*
* example:
* 1
*/
@NameInMap("Auth3rdFlag")
public Integer auth3rdFlag;
/**
* Remarks on the work.
*
* example:
* Description
*/
@NameInMap("Description")
public String description;
/**
* The directory to which the work belongs.
*/
@NameInMap("Directory")
public QueryWorksByWorkspaceResponseBodyResultDataDirectory directory;
/**
* The timestamp of the creation of the work in milliseconds.
*
* example:
* 1496651577000
*/
@NameInMap("GmtCreate")
public String gmtCreate;
/**
* The timestamp of the modification of the work in milliseconds.
*
* example:
* 1572334870000
*/
@NameInMap("GmtModify")
public String gmtModify;
/**
* Nickname of the work modifier.
*
* example:
* Tom
*/
@NameInMap("ModifyName")
public String modifyName;
/**
* The user ID of the work owner in the Quick BI.
*
* example:
* The name of the workspace to which the work belongs.
*/
@NameInMap("OwnerId")
public String ownerId;
/**
* The nickname of the work owner.
*
* example:
* Li Si
*/
@NameInMap("OwnerName")
public String ownerName;
@NameInMap("PublicFlag")
public Boolean publicFlag;
@NameInMap("PublicInvalidTime")
public Long publicInvalidTime;
/**
* Security policies for collaborative authorization of works. Valid values:
*
* - 0: private
* - 12: Authorize specified members
* - 1 or 11: Authorize all workspace members
*
*
*
*
* If you use legacy permissions, the return value is 1.
*
* If you use the new permissions, the return value is 11.
*
*
*
* example:
* 0
*/
@NameInMap("SecurityLevel")
public String securityLevel;
/**
* Status of dashboards, full-screen dashboards, spreadsheets. The default value of other work types is 1. Valid values:
*
* - 0: unpublished
* - 1: published
* - 2: modified but not published
* - 3: unpublished
*
*
* example:
* 1
*/
@NameInMap("Status")
public Integer status;
/**
* The name of the work.
*
* example:
* Test report
*/
@NameInMap("WorkName")
public String workName;
/**
* The type of the work. Valid values:
*
* - DATAPRODUCT: BI portal
* - PAGE: Dashboard
* - FULLPAGE: full-screen dashboards
* - REPORT: workbook
* - dashboardOfflineQuery: self-service data retrieval
* - Analysis: Ad hoc analysis
* - DATAFORM: form filling
*
*
* example:
* PAGE
*/
@NameInMap("WorkType")
public String workType;
/**
* The ID of the work.
*
* example:
* 897ce25e-f993-4abd-af84-d13c5610****
*/
@NameInMap("WorksId")
public String worksId;
/**
* The ID of the workspace to which the work belongs.
*
* example:
* 87c6b145-090c-43e1-9426-8f93be23****
*/
@NameInMap("WorkspaceId")
public String workspaceId;
/**
* The name of the workspace to which the work belongs.
*
* example:
* Test Workspace
*/
@NameInMap("WorkspaceName")
public String workspaceName;
public static QueryWorksByWorkspaceResponseBodyResultData build(java.util.Map map) throws Exception {
QueryWorksByWorkspaceResponseBodyResultData self = new QueryWorksByWorkspaceResponseBodyResultData();
return TeaModel.build(map, self);
}
public QueryWorksByWorkspaceResponseBodyResultData setAuth3rdFlag(Integer auth3rdFlag) {
this.auth3rdFlag = auth3rdFlag;
return this;
}
public Integer getAuth3rdFlag() {
return this.auth3rdFlag;
}
public QueryWorksByWorkspaceResponseBodyResultData setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public QueryWorksByWorkspaceResponseBodyResultData setDirectory(QueryWorksByWorkspaceResponseBodyResultDataDirectory directory) {
this.directory = directory;
return this;
}
public QueryWorksByWorkspaceResponseBodyResultDataDirectory getDirectory() {
return this.directory;
}
public QueryWorksByWorkspaceResponseBodyResultData setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
return this;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public QueryWorksByWorkspaceResponseBodyResultData setGmtModify(String gmtModify) {
this.gmtModify = gmtModify;
return this;
}
public String getGmtModify() {
return this.gmtModify;
}
public QueryWorksByWorkspaceResponseBodyResultData setModifyName(String modifyName) {
this.modifyName = modifyName;
return this;
}
public String getModifyName() {
return this.modifyName;
}
public QueryWorksByWorkspaceResponseBodyResultData setOwnerId(String ownerId) {
this.ownerId = ownerId;
return this;
}
public String getOwnerId() {
return this.ownerId;
}
public QueryWorksByWorkspaceResponseBodyResultData setOwnerName(String ownerName) {
this.ownerName = ownerName;
return this;
}
public String getOwnerName() {
return this.ownerName;
}
public QueryWorksByWorkspaceResponseBodyResultData setPublicFlag(Boolean publicFlag) {
this.publicFlag = publicFlag;
return this;
}
public Boolean getPublicFlag() {
return this.publicFlag;
}
public QueryWorksByWorkspaceResponseBodyResultData setPublicInvalidTime(Long publicInvalidTime) {
this.publicInvalidTime = publicInvalidTime;
return this;
}
public Long getPublicInvalidTime() {
return this.publicInvalidTime;
}
public QueryWorksByWorkspaceResponseBodyResultData setSecurityLevel(String securityLevel) {
this.securityLevel = securityLevel;
return this;
}
public String getSecurityLevel() {
return this.securityLevel;
}
public QueryWorksByWorkspaceResponseBodyResultData setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
public QueryWorksByWorkspaceResponseBodyResultData setWorkName(String workName) {
this.workName = workName;
return this;
}
public String getWorkName() {
return this.workName;
}
public QueryWorksByWorkspaceResponseBodyResultData setWorkType(String workType) {
this.workType = workType;
return this;
}
public String getWorkType() {
return this.workType;
}
public QueryWorksByWorkspaceResponseBodyResultData setWorksId(String worksId) {
this.worksId = worksId;
return this;
}
public String getWorksId() {
return this.worksId;
}
public QueryWorksByWorkspaceResponseBodyResultData setWorkspaceId(String workspaceId) {
this.workspaceId = workspaceId;
return this;
}
public String getWorkspaceId() {
return this.workspaceId;
}
public QueryWorksByWorkspaceResponseBodyResultData setWorkspaceName(String workspaceName) {
this.workspaceName = workspaceName;
return this;
}
public String getWorkspaceName() {
return this.workspaceName;
}
}
public static class QueryWorksByWorkspaceResponseBodyResult extends TeaModel {
/**
* The details of the list of works.
*/
@NameInMap("Data")
public java.util.List data;
/**
* The page number of the returned page.
*
* example:
* 1
*/
@NameInMap("PageNum")
public Integer pageNum;
/**
* The number of rows per page set when the interface is requested.
*
* example:
* 10
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The total number of rows in the table.
*
* example:
* 1
*/
@NameInMap("TotalNum")
public Integer totalNum;
/**
* The total number of pages returned.
*
* example:
* 1
*/
@NameInMap("TotalPages")
public Integer totalPages;
public static QueryWorksByWorkspaceResponseBodyResult build(java.util.Map map) throws Exception {
QueryWorksByWorkspaceResponseBodyResult self = new QueryWorksByWorkspaceResponseBodyResult();
return TeaModel.build(map, self);
}
public QueryWorksByWorkspaceResponseBodyResult setData(java.util.List data) {
this.data = data;
return this;
}
public java.util.List getData() {
return this.data;
}
public QueryWorksByWorkspaceResponseBodyResult setPageNum(Integer pageNum) {
this.pageNum = pageNum;
return this;
}
public Integer getPageNum() {
return this.pageNum;
}
public QueryWorksByWorkspaceResponseBodyResult setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public QueryWorksByWorkspaceResponseBodyResult setTotalNum(Integer totalNum) {
this.totalNum = totalNum;
return this;
}
public Integer getTotalNum() {
return this.totalNum;
}
public QueryWorksByWorkspaceResponseBodyResult setTotalPages(Integer totalPages) {
this.totalPages = totalPages;
return this;
}
public Integer getTotalPages() {
return this.totalPages;
}
}
}