![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.quickbi_public20220101.models.QueryReadableResourcesListByUserIdResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.quickbi_public20220101.models;
import com.aliyun.tea.*;
public class QueryReadableResourcesListByUserIdResponseBody extends TeaModel {
/**
* The ID of the request.
*
* example:
* D787E1A3-A93C-424A-B626-C2B05DF8D885
*/
@NameInMap("RequestId")
public String requestId;
/**
* The list of works that the user has permission to view.
*/
@NameInMap("Result")
public java.util.List 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 QueryReadableResourcesListByUserIdResponseBody build(java.util.Map map) throws Exception {
QueryReadableResourcesListByUserIdResponseBody self = new QueryReadableResourcesListByUserIdResponseBody();
return TeaModel.build(map, self);
}
public QueryReadableResourcesListByUserIdResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public QueryReadableResourcesListByUserIdResponseBody setResult(java.util.List result) {
this.result = result;
return this;
}
public java.util.List getResult() {
return this.result;
}
public QueryReadableResourcesListByUserIdResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class QueryReadableResourcesListByUserIdResponseBodyResultDirectory extends TeaModel {
/**
* example:
* e4276ea5-b232-4fb1-8f0f-efcee4a2****
*/
@NameInMap("Id")
public String id;
@NameInMap("Name")
public String name;
/**
* example:
* e4276ea5-b232-4fb1-8f0f-efcee4a2****
*/
@NameInMap("PathId")
public String pathId;
@NameInMap("PathName")
public String pathName;
public static QueryReadableResourcesListByUserIdResponseBodyResultDirectory build(java.util.Map map) throws Exception {
QueryReadableResourcesListByUserIdResponseBodyResultDirectory self = new QueryReadableResourcesListByUserIdResponseBodyResultDirectory();
return TeaModel.build(map, self);
}
public QueryReadableResourcesListByUserIdResponseBodyResultDirectory setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public QueryReadableResourcesListByUserIdResponseBodyResultDirectory setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public QueryReadableResourcesListByUserIdResponseBodyResultDirectory setPathId(String pathId) {
this.pathId = pathId;
return this;
}
public String getPathId() {
return this.pathId;
}
public QueryReadableResourcesListByUserIdResponseBodyResultDirectory setPathName(String pathName) {
this.pathName = pathName;
return this;
}
public String getPathName() {
return this.pathName;
}
}
public static class QueryReadableResourcesListByUserIdResponseBodyResult extends TeaModel {
/**
* The timestamp of the creation time in milliseconds.
*
* example:
* 1611023338000
*/
@NameInMap("CreateTime")
public String createTime;
/**
* Remarks on the work.
*
* example:
* Description
*/
@NameInMap("Description")
public String description;
@NameInMap("Directory")
public QueryReadableResourcesListByUserIdResponseBodyResultDirectory directory;
/**
* The name of the Alibaba Cloud account to which the modifier belongs.
*
* example:
* Li Si
*/
@NameInMap("ModifyName")
public String modifyName;
/**
* example:
* 1611023338000
*/
@NameInMap("ModifyTime")
public String modifyTime;
/**
* The Quick BI UserID of the work owner.
*
* example:
* 46e5374665ba4b679ee22e2a2927****
*/
@NameInMap("OwnerId")
public String ownerId;
/**
* The Alibaba Cloud account name of the owner.
*
* example:
* Tom
*/
@NameInMap("OwnerName")
public String ownerName;
/**
* 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;
/**
* The status of the report. Valid values:
*
* - 0: unpublished
* - 1: published
* - 2: modified but not published
* - 3: unpublished
*
*
* example:
* 1
*/
@NameInMap("Status")
public Integer status;
/**
* Third-party embedding status. Valid values:
*
* - 0: The embed service is not enabled.
* - 1: Embed is enabled.
*
*
* example:
* 1
*/
@NameInMap("ThirdPartAuthFlag")
public Integer thirdPartAuthFlag;
/**
* The name of the work.
*/
@NameInMap("WorkName")
public String workName;
/**
* The type of the work. Valid values:
*
* - DATAPRODUCT: BI portal
* - PAGE: Dashboard
* - FULLPAGE: full-screen dashboards
* - REPORT: workbook
*
*
* example:
* PAGE
*/
@NameInMap("WorkType")
public String workType;
/**
* The ID of the work.
*
* example:
* 03366b16-69ce-43c8-b782-56c2f6ec****
*/
@NameInMap("WorksId")
public String worksId;
/**
* The ID of the workspace to which the work belongs.
*
* example:
* 89713491-cb4f-4579-b889-e82c35f1****
*/
@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 QueryReadableResourcesListByUserIdResponseBodyResult build(java.util.Map map) throws Exception {
QueryReadableResourcesListByUserIdResponseBodyResult self = new QueryReadableResourcesListByUserIdResponseBodyResult();
return TeaModel.build(map, self);
}
public QueryReadableResourcesListByUserIdResponseBodyResult setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
public String getCreateTime() {
return this.createTime;
}
public QueryReadableResourcesListByUserIdResponseBodyResult setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public QueryReadableResourcesListByUserIdResponseBodyResult setDirectory(QueryReadableResourcesListByUserIdResponseBodyResultDirectory directory) {
this.directory = directory;
return this;
}
public QueryReadableResourcesListByUserIdResponseBodyResultDirectory getDirectory() {
return this.directory;
}
public QueryReadableResourcesListByUserIdResponseBodyResult setModifyName(String modifyName) {
this.modifyName = modifyName;
return this;
}
public String getModifyName() {
return this.modifyName;
}
public QueryReadableResourcesListByUserIdResponseBodyResult setModifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
public String getModifyTime() {
return this.modifyTime;
}
public QueryReadableResourcesListByUserIdResponseBodyResult setOwnerId(String ownerId) {
this.ownerId = ownerId;
return this;
}
public String getOwnerId() {
return this.ownerId;
}
public QueryReadableResourcesListByUserIdResponseBodyResult setOwnerName(String ownerName) {
this.ownerName = ownerName;
return this;
}
public String getOwnerName() {
return this.ownerName;
}
public QueryReadableResourcesListByUserIdResponseBodyResult setSecurityLevel(String securityLevel) {
this.securityLevel = securityLevel;
return this;
}
public String getSecurityLevel() {
return this.securityLevel;
}
public QueryReadableResourcesListByUserIdResponseBodyResult setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
public QueryReadableResourcesListByUserIdResponseBodyResult setThirdPartAuthFlag(Integer thirdPartAuthFlag) {
this.thirdPartAuthFlag = thirdPartAuthFlag;
return this;
}
public Integer getThirdPartAuthFlag() {
return this.thirdPartAuthFlag;
}
public QueryReadableResourcesListByUserIdResponseBodyResult setWorkName(String workName) {
this.workName = workName;
return this;
}
public String getWorkName() {
return this.workName;
}
public QueryReadableResourcesListByUserIdResponseBodyResult setWorkType(String workType) {
this.workType = workType;
return this;
}
public String getWorkType() {
return this.workType;
}
public QueryReadableResourcesListByUserIdResponseBodyResult setWorksId(String worksId) {
this.worksId = worksId;
return this;
}
public String getWorksId() {
return this.worksId;
}
public QueryReadableResourcesListByUserIdResponseBodyResult setWorkspaceId(String workspaceId) {
this.workspaceId = workspaceId;
return this;
}
public String getWorkspaceId() {
return this.workspaceId;
}
public QueryReadableResourcesListByUserIdResponseBodyResult setWorkspaceName(String workspaceName) {
this.workspaceName = workspaceName;
return this;
}
public String getWorkspaceName() {
return this.workspaceName;
}
}
}