com.aliyun.dingtalkdoc_1_0.models.CreateRangeProtectionRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkdoc_1_0.models;
import com.aliyun.tea.*;
public class CreateRangeProtectionRequest extends TeaModel {
@NameInMap("editableSetting")
public CreateRangeProtectionRequestEditableSetting editableSetting;
/**
* This parameter is required.
*/
@NameInMap("otherUserPermission")
public String otherUserPermission;
/**
* This parameter is required.
*
* example:
* ppgAQuHfOoNVpJiStDwWCEgiEiE
*/
@NameInMap("operatorId")
public String operatorId;
public static CreateRangeProtectionRequest build(java.util.Map map) throws Exception {
CreateRangeProtectionRequest self = new CreateRangeProtectionRequest();
return TeaModel.build(map, self);
}
public CreateRangeProtectionRequest setEditableSetting(CreateRangeProtectionRequestEditableSetting editableSetting) {
this.editableSetting = editableSetting;
return this;
}
public CreateRangeProtectionRequestEditableSetting getEditableSetting() {
return this.editableSetting;
}
public CreateRangeProtectionRequest setOtherUserPermission(String otherUserPermission) {
this.otherUserPermission = otherUserPermission;
return this;
}
public String getOtherUserPermission() {
return this.otherUserPermission;
}
public CreateRangeProtectionRequest setOperatorId(String operatorId) {
this.operatorId = operatorId;
return this;
}
public String getOperatorId() {
return this.operatorId;
}
public static class CreateRangeProtectionRequestEditableSetting extends TeaModel {
@NameInMap("deleteColumns")
public Boolean deleteColumns;
@NameInMap("deleteRows")
public Boolean deleteRows;
@NameInMap("editCells")
public Boolean editCells;
@NameInMap("formatCells")
public Boolean formatCells;
@NameInMap("insertColumns")
public Boolean insertColumns;
@NameInMap("insertRows")
public Boolean insertRows;
@NameInMap("toggleColumnsVisibility")
public Boolean toggleColumnsVisibility;
@NameInMap("toggleRowsVisibility")
public Boolean toggleRowsVisibility;
public static CreateRangeProtectionRequestEditableSetting build(java.util.Map map) throws Exception {
CreateRangeProtectionRequestEditableSetting self = new CreateRangeProtectionRequestEditableSetting();
return TeaModel.build(map, self);
}
public CreateRangeProtectionRequestEditableSetting setDeleteColumns(Boolean deleteColumns) {
this.deleteColumns = deleteColumns;
return this;
}
public Boolean getDeleteColumns() {
return this.deleteColumns;
}
public CreateRangeProtectionRequestEditableSetting setDeleteRows(Boolean deleteRows) {
this.deleteRows = deleteRows;
return this;
}
public Boolean getDeleteRows() {
return this.deleteRows;
}
public CreateRangeProtectionRequestEditableSetting setEditCells(Boolean editCells) {
this.editCells = editCells;
return this;
}
public Boolean getEditCells() {
return this.editCells;
}
public CreateRangeProtectionRequestEditableSetting setFormatCells(Boolean formatCells) {
this.formatCells = formatCells;
return this;
}
public Boolean getFormatCells() {
return this.formatCells;
}
public CreateRangeProtectionRequestEditableSetting setInsertColumns(Boolean insertColumns) {
this.insertColumns = insertColumns;
return this;
}
public Boolean getInsertColumns() {
return this.insertColumns;
}
public CreateRangeProtectionRequestEditableSetting setInsertRows(Boolean insertRows) {
this.insertRows = insertRows;
return this;
}
public Boolean getInsertRows() {
return this.insertRows;
}
public CreateRangeProtectionRequestEditableSetting setToggleColumnsVisibility(Boolean toggleColumnsVisibility) {
this.toggleColumnsVisibility = toggleColumnsVisibility;
return this;
}
public Boolean getToggleColumnsVisibility() {
return this.toggleColumnsVisibility;
}
public CreateRangeProtectionRequestEditableSetting setToggleRowsVisibility(Boolean toggleRowsVisibility) {
this.toggleRowsVisibility = toggleRowsVisibility;
return this;
}
public Boolean getToggleRowsVisibility() {
return this.toggleRowsVisibility;
}
}
}