com.aliyun.dingtalknotable_2_0.models.UpdateFieldRequest 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.dingtalknotable_2_0.models;
import com.aliyun.tea.*;
public class UpdateFieldRequest 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;
public static UpdateFieldRequest build(java.util.Map map) throws Exception {
UpdateFieldRequest self = new UpdateFieldRequest();
return TeaModel.build(map, self);
}
public UpdateFieldRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public UpdateFieldRequest setProperty(java.util.Map property) {
this.property = property;
return this;
}
public java.util.Map getProperty() {
return this.property;
}
}