
com.aliyun.quickbi_public20220101.models.CancelReportShareRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quickbi_public20220101 Show documentation
Show all versions of quickbi_public20220101 Show documentation
Alibaba Cloud quickbi-public (20220101) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.quickbi_public20220101.models;
import com.aliyun.tea.*;
public class CancelReportShareRequest extends TeaModel {
/**
* The ID of the work. The works here include BI portal, dashboards, spreadsheets, and self-service access.
* This parameter is required.
*
* example:
* 6b407e50-e774-406b-9956-da2425c2****
*/
@NameInMap("ReportId")
public String reportId;
/**
* The ID of the person to be shared, which may be the user ID of the Quick BI or the user group ID.
*
* - If ShareToType is 0 (user), ShareTo is the user ID.
* - When ShareToType is set to 1 (user group), ShareTo is the user group ID.
* - When ShareToType=2 (organization), ShareTo is the ID of the organization.
*
* This parameter is required.
*
* example:
* de4bc5f9429141cc8091cdd1c15b****
*/
@NameInMap("ShareToIds")
public String shareToIds;
/**
* The deletion method. Valid values:
*
* - 0: Delete by user
* - 1: Delete by user group
* - 2: Delete by organization
*
* This parameter is required.
*
* example:
* 0
*/
@NameInMap("ShareToType")
public Integer shareToType;
public static CancelReportShareRequest build(java.util.Map map) throws Exception {
CancelReportShareRequest self = new CancelReportShareRequest();
return TeaModel.build(map, self);
}
public CancelReportShareRequest setReportId(String reportId) {
this.reportId = reportId;
return this;
}
public String getReportId() {
return this.reportId;
}
public CancelReportShareRequest setShareToIds(String shareToIds) {
this.shareToIds = shareToIds;
return this;
}
public String getShareToIds() {
return this.shareToIds;
}
public CancelReportShareRequest setShareToType(Integer shareToType) {
this.shareToType = shareToType;
return this;
}
public Integer getShareToType() {
return this.shareToType;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy