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

com.aliyun.dingtalkdoc_2_0.models.CreateDentryRequest Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

public class CreateDentryRequest extends TeaModel {
    // 节点类型,file-文档,folder-文件夹。
    @NameInMap("dentryType")
    public String dentryType;

    // 节点类型为文档才有,0-文字,1-表格,2-PPT,3-白板,6-脑图,7-多维表。
    @NameInMap("documentType")
    public Long documentType;

    // 节点名称。
    @NameInMap("name")
    public String name;

    // 操作人unionId。
    @NameInMap("operatorId")
    public String operatorId;

    // 父节点id,可为空。
    @NameInMap("parentDentryId")
    public String parentDentryId;

    public static CreateDentryRequest build(java.util.Map map) throws Exception {
        CreateDentryRequest self = new CreateDentryRequest();
        return TeaModel.build(map, self);
    }

    public CreateDentryRequest setDentryType(String dentryType) {
        this.dentryType = dentryType;
        return this;
    }
    public String getDentryType() {
        return this.dentryType;
    }

    public CreateDentryRequest setDocumentType(Long documentType) {
        this.documentType = documentType;
        return this;
    }
    public Long getDocumentType() {
        return this.documentType;
    }

    public CreateDentryRequest setName(String name) {
        this.name = name;
        return this;
    }
    public String getName() {
        return this.name;
    }

    public CreateDentryRequest setOperatorId(String operatorId) {
        this.operatorId = operatorId;
        return this;
    }
    public String getOperatorId() {
        return this.operatorId;
    }

    public CreateDentryRequest setParentDentryId(String parentDentryId) {
        this.parentDentryId = parentDentryId;
        return this;
    }
    public String getParentDentryId() {
        return this.parentDentryId;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy