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

com.aliyun.dingtalknotable_2_0.models.CreateSheetRequest 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.dingtalknotable_2_0.models;

import com.aliyun.tea.*;

public class CreateSheetRequest extends TeaModel {
    @NameInMap("fields")
    public java.util.List fields;

    @NameInMap("name")
    public String name;

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

    public CreateSheetRequest setFields(java.util.List fields) {
        this.fields = fields;
        return this;
    }
    public java.util.List getFields() {
        return this.fields;
    }

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

    public static class CreateSheetRequestFields extends TeaModel {
        /**
         * 

This parameter is required.

*/ @NameInMap("name") public String name; /** * example: *

key: id或者name * value: 对应字段值,不同类型的字段传入的value值不同 * - text: "TextString" // 文本字符串 * - number: 123 // 整数/浮点数均可 * - singleSelect: "optionIdxxx1" | "optionName1" // 单选选项Id/单选选项名 * - date: 1688601600000 | "2023-12-20 03:00" * // 支持传时间戳或ISO 8601字符串 * - user: [{ * uid: "1234567" // 用户uid * }, { * uid: "2345678" * }]

*/ @NameInMap("property") public java.util.Map property; /** *

This parameter is required.

*/ @NameInMap("type") public String type; public static CreateSheetRequestFields build(java.util.Map map) throws Exception { CreateSheetRequestFields self = new CreateSheetRequestFields(); return TeaModel.build(map, self); } public CreateSheetRequestFields setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public CreateSheetRequestFields setProperty(java.util.Map property) { this.property = property; return this; } public java.util.Map getProperty() { return this.property; } public CreateSheetRequestFields setType(String type) { this.type = type; return this; } public String getType() { return this.type; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy