com.aliyun.dingtalkdoc_1_0.models.InitDocumentRequest 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 InitDocumentRequest extends TeaModel {
/**
* example:
* attachments_map
*/
@NameInMap("attachmentsMap")
public java.util.Map attachmentsMap;
/**
* This parameter is required.
*
* example:
* import_type
*/
@NameInMap("importType")
public Integer importType;
/**
* example:
* links_key
*/
@NameInMap("linksKey")
public String linksKey;
/**
* This parameter is required.
*
* example:
* union_id
*/
@NameInMap("operatorId")
public String operatorId;
public static InitDocumentRequest build(java.util.Map map) throws Exception {
InitDocumentRequest self = new InitDocumentRequest();
return TeaModel.build(map, self);
}
public InitDocumentRequest setAttachmentsMap(java.util.Map attachmentsMap) {
this.attachmentsMap = attachmentsMap;
return this;
}
public java.util.Map getAttachmentsMap() {
return this.attachmentsMap;
}
public InitDocumentRequest setImportType(Integer importType) {
this.importType = importType;
return this;
}
public Integer getImportType() {
return this.importType;
}
public InitDocumentRequest setLinksKey(String linksKey) {
this.linksKey = linksKey;
return this;
}
public String getLinksKey() {
return this.linksKey;
}
public InitDocumentRequest setOperatorId(String operatorId) {
this.operatorId = operatorId;
return this;
}
public String getOperatorId() {
return this.operatorId;
}
}