com.aliyun.dingtalkdoc_1_0.models.DocInsertBlocksRequest 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 DocInsertBlocksRequest extends TeaModel {
/**
* example:
* block_id
*/
@NameInMap("blockId")
public String blockId;
/**
* This parameter is required.
*
* example:
* element
*/
@NameInMap("element")
public java.util.Map element;
/**
* example:
* index
*/
@NameInMap("index")
public Integer index;
/**
* example:
* where
*/
@NameInMap("where")
public String where;
/**
* This parameter is required.
*
* example:
* union_id
*/
@NameInMap("operatorId")
public String operatorId;
public static DocInsertBlocksRequest build(java.util.Map map) throws Exception {
DocInsertBlocksRequest self = new DocInsertBlocksRequest();
return TeaModel.build(map, self);
}
public DocInsertBlocksRequest setBlockId(String blockId) {
this.blockId = blockId;
return this;
}
public String getBlockId() {
return this.blockId;
}
public DocInsertBlocksRequest setElement(java.util.Map element) {
this.element = element;
return this;
}
public java.util.Map getElement() {
return this.element;
}
public DocInsertBlocksRequest setIndex(Integer index) {
this.index = index;
return this;
}
public Integer getIndex() {
return this.index;
}
public DocInsertBlocksRequest setWhere(String where) {
this.where = where;
return this;
}
public String getWhere() {
return this.where;
}
public DocInsertBlocksRequest setOperatorId(String operatorId) {
this.operatorId = operatorId;
return this;
}
public String getOperatorId() {
return this.operatorId;
}
}