com.aliyun.dingtalkcrm_1_0.models.CreateRelationMetaRequest 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.dingtalkcrm_1_0.models;
import com.aliyun.tea.*;
public class CreateRelationMetaRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("operatorUserId")
public String operatorUserId;
/**
* This parameter is required.
*/
@NameInMap("relationMetaDTO")
public CreateRelationMetaRequestRelationMetaDTO relationMetaDTO;
/**
* This parameter is required.
*/
@NameInMap("tenant")
public String tenant;
public static CreateRelationMetaRequest build(java.util.Map map) throws Exception {
CreateRelationMetaRequest self = new CreateRelationMetaRequest();
return TeaModel.build(map, self);
}
public CreateRelationMetaRequest setOperatorUserId(String operatorUserId) {
this.operatorUserId = operatorUserId;
return this;
}
public String getOperatorUserId() {
return this.operatorUserId;
}
public CreateRelationMetaRequest setRelationMetaDTO(CreateRelationMetaRequestRelationMetaDTO relationMetaDTO) {
this.relationMetaDTO = relationMetaDTO;
return this;
}
public CreateRelationMetaRequestRelationMetaDTO getRelationMetaDTO() {
return this.relationMetaDTO;
}
public CreateRelationMetaRequest setTenant(String tenant) {
this.tenant = tenant;
return this;
}
public String getTenant() {
return this.tenant;
}
public static class CreateRelationMetaRequestRelationMetaDTOItemsPropsOptions extends TeaModel {
@NameInMap("key")
public String key;
@NameInMap("value")
public String value;
public static CreateRelationMetaRequestRelationMetaDTOItemsPropsOptions build(java.util.Map map) throws Exception {
CreateRelationMetaRequestRelationMetaDTOItemsPropsOptions self = new CreateRelationMetaRequestRelationMetaDTOItemsPropsOptions();
return TeaModel.build(map, self);
}
public CreateRelationMetaRequestRelationMetaDTOItemsPropsOptions setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public CreateRelationMetaRequestRelationMetaDTOItemsPropsOptions setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class CreateRelationMetaRequestRelationMetaDTOItemsProps extends TeaModel {
@NameInMap("align")
public String align;
/**
* This parameter is required.
*/
@NameInMap("bizAlias")
public String bizAlias;
@NameInMap("choice")
public Long choice;
@NameInMap("content")
public String content;
@NameInMap("disabled")
public Boolean disabled;
@NameInMap("duration")
public Boolean duration;
@NameInMap("fieldId")
public String fieldId;
@NameInMap("format")
public String format;
@NameInMap("invisible")
public Boolean invisible;
/**
* This parameter is required.
*/
@NameInMap("label")
public String label;
@NameInMap("labelEditableFreeze")
public Boolean labelEditableFreeze;
@NameInMap("link")
public String link;
@NameInMap("needDetail")
public String needDetail;
@NameInMap("notPrint")
public String notPrint;
@NameInMap("notUpper")
public String notUpper;
@NameInMap("options")
public java.util.List options;
@NameInMap("payEnable")
public Boolean payEnable;
@NameInMap("placeholder")
public String placeholder;
/**
* This parameter is required.
*/
@NameInMap("required")
public Boolean required;
@NameInMap("requiredEditableFreeze")
public Boolean requiredEditableFreeze;
@NameInMap("sortable")
public Boolean sortable;
@NameInMap("unit")
public String unit;
public static CreateRelationMetaRequestRelationMetaDTOItemsProps build(java.util.Map map) throws Exception {
CreateRelationMetaRequestRelationMetaDTOItemsProps self = new CreateRelationMetaRequestRelationMetaDTOItemsProps();
return TeaModel.build(map, self);
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setAlign(String align) {
this.align = align;
return this;
}
public String getAlign() {
return this.align;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setBizAlias(String bizAlias) {
this.bizAlias = bizAlias;
return this;
}
public String getBizAlias() {
return this.bizAlias;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setChoice(Long choice) {
this.choice = choice;
return this;
}
public Long getChoice() {
return this.choice;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setContent(String content) {
this.content = content;
return this;
}
public String getContent() {
return this.content;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setDisabled(Boolean disabled) {
this.disabled = disabled;
return this;
}
public Boolean getDisabled() {
return this.disabled;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setDuration(Boolean duration) {
this.duration = duration;
return this;
}
public Boolean getDuration() {
return this.duration;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setFieldId(String fieldId) {
this.fieldId = fieldId;
return this;
}
public String getFieldId() {
return this.fieldId;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setFormat(String format) {
this.format = format;
return this;
}
public String getFormat() {
return this.format;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setInvisible(Boolean invisible) {
this.invisible = invisible;
return this;
}
public Boolean getInvisible() {
return this.invisible;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setLabel(String label) {
this.label = label;
return this;
}
public String getLabel() {
return this.label;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setLabelEditableFreeze(Boolean labelEditableFreeze) {
this.labelEditableFreeze = labelEditableFreeze;
return this;
}
public Boolean getLabelEditableFreeze() {
return this.labelEditableFreeze;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setLink(String link) {
this.link = link;
return this;
}
public String getLink() {
return this.link;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setNeedDetail(String needDetail) {
this.needDetail = needDetail;
return this;
}
public String getNeedDetail() {
return this.needDetail;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setNotPrint(String notPrint) {
this.notPrint = notPrint;
return this;
}
public String getNotPrint() {
return this.notPrint;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setNotUpper(String notUpper) {
this.notUpper = notUpper;
return this;
}
public String getNotUpper() {
return this.notUpper;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setOptions(java.util.List options) {
this.options = options;
return this;
}
public java.util.List getOptions() {
return this.options;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setPayEnable(Boolean payEnable) {
this.payEnable = payEnable;
return this;
}
public Boolean getPayEnable() {
return this.payEnable;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setPlaceholder(String placeholder) {
this.placeholder = placeholder;
return this;
}
public String getPlaceholder() {
return this.placeholder;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setRequired(Boolean required) {
this.required = required;
return this;
}
public Boolean getRequired() {
return this.required;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setRequiredEditableFreeze(Boolean requiredEditableFreeze) {
this.requiredEditableFreeze = requiredEditableFreeze;
return this;
}
public Boolean getRequiredEditableFreeze() {
return this.requiredEditableFreeze;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setSortable(Boolean sortable) {
this.sortable = sortable;
return this;
}
public Boolean getSortable() {
return this.sortable;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps setUnit(String unit) {
this.unit = unit;
return this;
}
public String getUnit() {
return this.unit;
}
}
public static class CreateRelationMetaRequestRelationMetaDTOItems extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("componentName")
public String componentName;
/**
* This parameter is required.
*/
@NameInMap("props")
public CreateRelationMetaRequestRelationMetaDTOItemsProps props;
public static CreateRelationMetaRequestRelationMetaDTOItems build(java.util.Map map) throws Exception {
CreateRelationMetaRequestRelationMetaDTOItems self = new CreateRelationMetaRequestRelationMetaDTOItems();
return TeaModel.build(map, self);
}
public CreateRelationMetaRequestRelationMetaDTOItems setComponentName(String componentName) {
this.componentName = componentName;
return this;
}
public String getComponentName() {
return this.componentName;
}
public CreateRelationMetaRequestRelationMetaDTOItems setProps(CreateRelationMetaRequestRelationMetaDTOItemsProps props) {
this.props = props;
return this;
}
public CreateRelationMetaRequestRelationMetaDTOItemsProps getProps() {
return this.props;
}
}
public static class CreateRelationMetaRequestRelationMetaDTO extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("desc")
public String desc;
/**
* This parameter is required.
*/
@NameInMap("items")
public java.util.List items;
/**
* This parameter is required.
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*/
@NameInMap("relationType")
public String relationType;
public static CreateRelationMetaRequestRelationMetaDTO build(java.util.Map map) throws Exception {
CreateRelationMetaRequestRelationMetaDTO self = new CreateRelationMetaRequestRelationMetaDTO();
return TeaModel.build(map, self);
}
public CreateRelationMetaRequestRelationMetaDTO setDesc(String desc) {
this.desc = desc;
return this;
}
public String getDesc() {
return this.desc;
}
public CreateRelationMetaRequestRelationMetaDTO setItems(java.util.List items) {
this.items = items;
return this;
}
public java.util.List getItems() {
return this.items;
}
public CreateRelationMetaRequestRelationMetaDTO setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public CreateRelationMetaRequestRelationMetaDTO setRelationType(String relationType) {
this.relationType = relationType;
return this;
}
public String getRelationType() {
return this.relationType;
}
}
}