com.aliyun.dingtalkdoc_1_0.models.CreateConditionalFormattingRuleRequest 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 CreateConditionalFormattingRuleRequest extends TeaModel {
@NameInMap("cellStyle")
public CreateConditionalFormattingRuleRequestCellStyle cellStyle;
@NameInMap("duplicateCondition")
public CreateConditionalFormattingRuleRequestDuplicateCondition duplicateCondition;
/**
* This parameter is required.
*/
@NameInMap("ranges")
public java.util.List ranges;
/**
* This parameter is required.
*
* example:
* ppgAQuHfOoNVpJiStDwWCEgiEiE
*/
@NameInMap("operatorId")
public String operatorId;
public static CreateConditionalFormattingRuleRequest build(java.util.Map map) throws Exception {
CreateConditionalFormattingRuleRequest self = new CreateConditionalFormattingRuleRequest();
return TeaModel.build(map, self);
}
public CreateConditionalFormattingRuleRequest setCellStyle(CreateConditionalFormattingRuleRequestCellStyle cellStyle) {
this.cellStyle = cellStyle;
return this;
}
public CreateConditionalFormattingRuleRequestCellStyle getCellStyle() {
return this.cellStyle;
}
public CreateConditionalFormattingRuleRequest setDuplicateCondition(CreateConditionalFormattingRuleRequestDuplicateCondition duplicateCondition) {
this.duplicateCondition = duplicateCondition;
return this;
}
public CreateConditionalFormattingRuleRequestDuplicateCondition getDuplicateCondition() {
return this.duplicateCondition;
}
public CreateConditionalFormattingRuleRequest setRanges(java.util.List ranges) {
this.ranges = ranges;
return this;
}
public java.util.List getRanges() {
return this.ranges;
}
public CreateConditionalFormattingRuleRequest setOperatorId(String operatorId) {
this.operatorId = operatorId;
return this;
}
public String getOperatorId() {
return this.operatorId;
}
public static class CreateConditionalFormattingRuleRequestCellStyle extends TeaModel {
@NameInMap("backgroundColor")
public String backgroundColor;
public static CreateConditionalFormattingRuleRequestCellStyle build(java.util.Map map) throws Exception {
CreateConditionalFormattingRuleRequestCellStyle self = new CreateConditionalFormattingRuleRequestCellStyle();
return TeaModel.build(map, self);
}
public CreateConditionalFormattingRuleRequestCellStyle setBackgroundColor(String backgroundColor) {
this.backgroundColor = backgroundColor;
return this;
}
public String getBackgroundColor() {
return this.backgroundColor;
}
}
public static class CreateConditionalFormattingRuleRequestDuplicateCondition extends TeaModel {
@NameInMap("operator")
public String operator;
public static CreateConditionalFormattingRuleRequestDuplicateCondition build(java.util.Map map) throws Exception {
CreateConditionalFormattingRuleRequestDuplicateCondition self = new CreateConditionalFormattingRuleRequestDuplicateCondition();
return TeaModel.build(map, self);
}
public CreateConditionalFormattingRuleRequestDuplicateCondition setOperator(String operator) {
this.operator = operator;
return this;
}
public String getOperator() {
return this.operator;
}
}
}