
com.aliyun.sdk.service.quickbi_public20220101.models.ChangeVisibilityModelRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-quickbi_public20220101 Show documentation
Show all versions of alibabacloud-quickbi_public20220101 Show documentation
Alibaba Cloud quickbi-public (20220101) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.quickbi_public20220101.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ChangeVisibilityModelRequest} extends {@link RequestModel}
*
* ChangeVisibilityModelRequest
*/
public class ChangeVisibilityModelRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DataPortalId")
@com.aliyun.core.annotation.Validation(required = true)
private String dataPortalId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MenuIds")
@com.aliyun.core.annotation.Validation(required = true)
private String menuIds;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ShowOnlyWithAccess")
@com.aliyun.core.annotation.Validation(required = true)
private Boolean showOnlyWithAccess;
private ChangeVisibilityModelRequest(Builder builder) {
super(builder);
this.dataPortalId = builder.dataPortalId;
this.menuIds = builder.menuIds;
this.showOnlyWithAccess = builder.showOnlyWithAccess;
}
public static Builder builder() {
return new Builder();
}
public static ChangeVisibilityModelRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return dataPortalId
*/
public String getDataPortalId() {
return this.dataPortalId;
}
/**
* @return menuIds
*/
public String getMenuIds() {
return this.menuIds;
}
/**
* @return showOnlyWithAccess
*/
public Boolean getShowOnlyWithAccess() {
return this.showOnlyWithAccess;
}
public static final class Builder extends Request.Builder {
private String dataPortalId;
private String menuIds;
private Boolean showOnlyWithAccess;
private Builder() {
super();
}
private Builder(ChangeVisibilityModelRequest request) {
super(request);
this.dataPortalId = request.dataPortalId;
this.menuIds = request.menuIds;
this.showOnlyWithAccess = request.showOnlyWithAccess;
}
/**
* The number of menus that are successfully modified.
* This parameter is required.
*
* example:
* 0d173abb53e84c8ca7495429163b****
*/
public Builder dataPortalId(String dataPortalId) {
this.putQueryParameter("DataPortalId", dataPortalId);
this.dataPortalId = dataPortalId;
return this;
}
/**
* Indicates whether the request is successful. Valid values:
*
* - true: The request was successful.
* - false: The request failed.
*
* This parameter is required.
*
* example:
* 54kqgoa****,pg1n135****
*/
public Builder menuIds(String menuIds) {
this.putQueryParameter("MenuIds", menuIds);
this.menuIds = menuIds;
return this;
}
/**
* This parameter is required.
*
* example:
* true
*/
public Builder showOnlyWithAccess(Boolean showOnlyWithAccess) {
this.putQueryParameter("ShowOnlyWithAccess", showOnlyWithAccess);
this.showOnlyWithAccess = showOnlyWithAccess;
return this;
}
@Override
public ChangeVisibilityModelRequest build() {
return new ChangeVisibilityModelRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy