com.aliyun.dingtalkdoc_1_0.models.UpdateRangeRequest 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 UpdateRangeRequest extends TeaModel {
@NameInMap("backgroundColors")
public java.util.List> backgroundColors;
@NameInMap("fontSizes")
public java.util.List> fontSizes;
@NameInMap("fontWeights")
public java.util.List> fontWeights;
@NameInMap("horizontalAlignments")
public java.util.List> horizontalAlignments;
@NameInMap("hyperlinks")
public java.util.List> hyperlinks;
/**
* example:
* number_format
*/
@NameInMap("numberFormat")
public String numberFormat;
@NameInMap("values")
public java.util.List> values;
@NameInMap("verticalAlignments")
public java.util.List> verticalAlignments;
/**
* This parameter is required.
*
* example:
* union_id
*/
@NameInMap("operatorId")
public String operatorId;
public static UpdateRangeRequest build(java.util.Map map) throws Exception {
UpdateRangeRequest self = new UpdateRangeRequest();
return TeaModel.build(map, self);
}
public UpdateRangeRequest setBackgroundColors(java.util.List> backgroundColors) {
this.backgroundColors = backgroundColors;
return this;
}
public java.util.List> getBackgroundColors() {
return this.backgroundColors;
}
public UpdateRangeRequest setFontSizes(java.util.List> fontSizes) {
this.fontSizes = fontSizes;
return this;
}
public java.util.List> getFontSizes() {
return this.fontSizes;
}
public UpdateRangeRequest setFontWeights(java.util.List> fontWeights) {
this.fontWeights = fontWeights;
return this;
}
public java.util.List> getFontWeights() {
return this.fontWeights;
}
public UpdateRangeRequest setHorizontalAlignments(java.util.List> horizontalAlignments) {
this.horizontalAlignments = horizontalAlignments;
return this;
}
public java.util.List> getHorizontalAlignments() {
return this.horizontalAlignments;
}
public UpdateRangeRequest setHyperlinks(java.util.List> hyperlinks) {
this.hyperlinks = hyperlinks;
return this;
}
public java.util.List> getHyperlinks() {
return this.hyperlinks;
}
public UpdateRangeRequest setNumberFormat(String numberFormat) {
this.numberFormat = numberFormat;
return this;
}
public String getNumberFormat() {
return this.numberFormat;
}
public UpdateRangeRequest setValues(java.util.List> values) {
this.values = values;
return this;
}
public java.util.List> getValues() {
return this.values;
}
public UpdateRangeRequest setVerticalAlignments(java.util.List> verticalAlignments) {
this.verticalAlignments = verticalAlignments;
return this;
}
public java.util.List> getVerticalAlignments() {
return this.verticalAlignments;
}
public UpdateRangeRequest setOperatorId(String operatorId) {
this.operatorId = operatorId;
return this;
}
public String getOperatorId() {
return this.operatorId;
}
public static class UpdateRangeRequestHyperlinks extends TeaModel {
/**
* example:
* hyperlink_type
*/
@NameInMap("type")
public String type;
/**
* example:
* hyperlink_link
*/
@NameInMap("link")
public String link;
/**
* example:
* hyperlink_text
*/
@NameInMap("text")
public String text;
public static UpdateRangeRequestHyperlinks build(java.util.Map map) throws Exception {
UpdateRangeRequestHyperlinks self = new UpdateRangeRequestHyperlinks();
return TeaModel.build(map, self);
}
public UpdateRangeRequestHyperlinks setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public UpdateRangeRequestHyperlinks setLink(String link) {
this.link = link;
return this;
}
public String getLink() {
return this.link;
}
public UpdateRangeRequestHyperlinks setText(String text) {
this.text = text;
return this;
}
public String getText() {
return this.text;
}
}
}