com.aliyun.dingtalknotable_2_0.models.GetAllFieldsResponseBody 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 GetAllFieldsResponseBody extends TeaModel {
@NameInMap("value")
public java.util.List value;
public static GetAllFieldsResponseBody build(java.util.Map map) throws Exception {
GetAllFieldsResponseBody self = new GetAllFieldsResponseBody();
return TeaModel.build(map, self);
}
public GetAllFieldsResponseBody setValue(java.util.List value) {
this.value = value;
return this;
}
public java.util.List getValue() {
return this.value;
}
public static class GetAllFieldsResponseBodyValue extends TeaModel {
@NameInMap("id")
public String id;
@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;
@NameInMap("type")
public String type;
public static GetAllFieldsResponseBodyValue build(java.util.Map map) throws Exception {
GetAllFieldsResponseBodyValue self = new GetAllFieldsResponseBodyValue();
return TeaModel.build(map, self);
}
public GetAllFieldsResponseBodyValue setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public GetAllFieldsResponseBodyValue setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetAllFieldsResponseBodyValue setProperty(java.util.Map property) {
this.property = property;
return this;
}
public java.util.Map getProperty() {
return this.property;
}
public GetAllFieldsResponseBodyValue setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
}