All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkdoc_1_0.models.InsertBlocksRequest Maven / Gradle / Ivy

There is a newer version: 2.1.67
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkdoc_1_0.models;

import com.aliyun.tea.*;

public class InsertBlocksRequest extends TeaModel {
    /**
     * 

This parameter is required.

*/ @NameInMap("blocks") public java.util.List blocks; @NameInMap("location") public InsertBlocksRequestLocation location; /** *

This parameter is required.

*/ @NameInMap("operatorId") public String operatorId; public static InsertBlocksRequest build(java.util.Map map) throws Exception { InsertBlocksRequest self = new InsertBlocksRequest(); return TeaModel.build(map, self); } public InsertBlocksRequest setBlocks(java.util.List blocks) { this.blocks = blocks; return this; } public java.util.List getBlocks() { return this.blocks; } public InsertBlocksRequest setLocation(InsertBlocksRequestLocation location) { this.location = location; return this; } public InsertBlocksRequestLocation getLocation() { return this.location; } public InsertBlocksRequest setOperatorId(String operatorId) { this.operatorId = operatorId; return this; } public String getOperatorId() { return this.operatorId; } public static class InsertBlocksRequestBlocksParagraphChildrenTextTextStyle extends TeaModel { @NameInMap("bold") public Boolean bold; /** *

This parameter is required.

*/ @NameInMap("dataType") public String dataType; @NameInMap("fontSize") public Integer fontSize; @NameInMap("sizeUnit") public String sizeUnit; public static InsertBlocksRequestBlocksParagraphChildrenTextTextStyle build(java.util.Map map) throws Exception { InsertBlocksRequestBlocksParagraphChildrenTextTextStyle self = new InsertBlocksRequestBlocksParagraphChildrenTextTextStyle(); return TeaModel.build(map, self); } public InsertBlocksRequestBlocksParagraphChildrenTextTextStyle setBold(Boolean bold) { this.bold = bold; return this; } public Boolean getBold() { return this.bold; } public InsertBlocksRequestBlocksParagraphChildrenTextTextStyle setDataType(String dataType) { this.dataType = dataType; return this; } public String getDataType() { return this.dataType; } public InsertBlocksRequestBlocksParagraphChildrenTextTextStyle setFontSize(Integer fontSize) { this.fontSize = fontSize; return this; } public Integer getFontSize() { return this.fontSize; } public InsertBlocksRequestBlocksParagraphChildrenTextTextStyle setSizeUnit(String sizeUnit) { this.sizeUnit = sizeUnit; return this; } public String getSizeUnit() { return this.sizeUnit; } } public static class InsertBlocksRequestBlocksParagraphChildrenText extends TeaModel { /** *

This parameter is required.

*/ @NameInMap("content") public String content; @NameInMap("textStyle") public InsertBlocksRequestBlocksParagraphChildrenTextTextStyle textStyle; public static InsertBlocksRequestBlocksParagraphChildrenText build(java.util.Map map) throws Exception { InsertBlocksRequestBlocksParagraphChildrenText self = new InsertBlocksRequestBlocksParagraphChildrenText(); return TeaModel.build(map, self); } public InsertBlocksRequestBlocksParagraphChildrenText setContent(String content) { this.content = content; return this; } public String getContent() { return this.content; } public InsertBlocksRequestBlocksParagraphChildrenText setTextStyle(InsertBlocksRequestBlocksParagraphChildrenTextTextStyle textStyle) { this.textStyle = textStyle; return this; } public InsertBlocksRequestBlocksParagraphChildrenTextTextStyle getTextStyle() { return this.textStyle; } } public static class InsertBlocksRequestBlocksParagraphChildren extends TeaModel { /** *

This parameter is required.

*/ @NameInMap("elementType") public String elementType; @NameInMap("text") public InsertBlocksRequestBlocksParagraphChildrenText text; public static InsertBlocksRequestBlocksParagraphChildren build(java.util.Map map) throws Exception { InsertBlocksRequestBlocksParagraphChildren self = new InsertBlocksRequestBlocksParagraphChildren(); return TeaModel.build(map, self); } public InsertBlocksRequestBlocksParagraphChildren setElementType(String elementType) { this.elementType = elementType; return this; } public String getElementType() { return this.elementType; } public InsertBlocksRequestBlocksParagraphChildren setText(InsertBlocksRequestBlocksParagraphChildrenText text) { this.text = text; return this; } public InsertBlocksRequestBlocksParagraphChildrenText getText() { return this.text; } } public static class InsertBlocksRequestBlocksParagraphStyle extends TeaModel { @NameInMap("headingLevel") public String headingLevel; public static InsertBlocksRequestBlocksParagraphStyle build(java.util.Map map) throws Exception { InsertBlocksRequestBlocksParagraphStyle self = new InsertBlocksRequestBlocksParagraphStyle(); return TeaModel.build(map, self); } public InsertBlocksRequestBlocksParagraphStyle setHeadingLevel(String headingLevel) { this.headingLevel = headingLevel; return this; } public String getHeadingLevel() { return this.headingLevel; } } public static class InsertBlocksRequestBlocksParagraph extends TeaModel { @NameInMap("children") public java.util.List children; @NameInMap("style") public InsertBlocksRequestBlocksParagraphStyle style; public static InsertBlocksRequestBlocksParagraph build(java.util.Map map) throws Exception { InsertBlocksRequestBlocksParagraph self = new InsertBlocksRequestBlocksParagraph(); return TeaModel.build(map, self); } public InsertBlocksRequestBlocksParagraph setChildren(java.util.List children) { this.children = children; return this; } public java.util.List getChildren() { return this.children; } public InsertBlocksRequestBlocksParagraph setStyle(InsertBlocksRequestBlocksParagraphStyle style) { this.style = style; return this; } public InsertBlocksRequestBlocksParagraphStyle getStyle() { return this.style; } } public static class InsertBlocksRequestBlocks extends TeaModel { /** *

This parameter is required.

*/ @NameInMap("blockType") public String blockType; @NameInMap("paragraph") public InsertBlocksRequestBlocksParagraph paragraph; public static InsertBlocksRequestBlocks build(java.util.Map map) throws Exception { InsertBlocksRequestBlocks self = new InsertBlocksRequestBlocks(); return TeaModel.build(map, self); } public InsertBlocksRequestBlocks setBlockType(String blockType) { this.blockType = blockType; return this; } public String getBlockType() { return this.blockType; } public InsertBlocksRequestBlocks setParagraph(InsertBlocksRequestBlocksParagraph paragraph) { this.paragraph = paragraph; return this; } public InsertBlocksRequestBlocksParagraph getParagraph() { return this.paragraph; } } public static class InsertBlocksRequestLocation extends TeaModel { @NameInMap("head") public Boolean head; public static InsertBlocksRequestLocation build(java.util.Map map) throws Exception { InsertBlocksRequestLocation self = new InsertBlocksRequestLocation(); return TeaModel.build(map, self); } public InsertBlocksRequestLocation setHead(Boolean head) { this.head = head; return this; } public Boolean getHead() { return this.head; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy