com.dingtalk.baymax.framework.sdk.mercury.plugin.ItemMeta Maven / Gradle / Ivy
package com.dingtalk.baymax.framework.sdk.mercury.plugin;
import java.util.Map;
/**
* @author: jzc
* Time: 2023/6/29 3:36 PM
*/
public class ItemMeta {
/**
* 数据类型
*/
private String type;
/**
* 参数所在位置(body、header、query、path)
*/
private String in;
/**
* 功能描述
*/
private String description;
/**
* 是否必填项
*/
private Boolean required;
/**
* 参数示例
*/
private Object example;
/**
* 默认值
*/
private Object defaultValue;
/**
* 场域上下文字段
*/
private String scenarioField;
/**
* 属性值
*/
private Map properties;
/**
* list类型属性的元素
*/
private ItemMeta items;
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getIn() {
return in;
}
public void setIn(String in) {
this.in = in;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public Boolean getRequired() {
return required;
}
public void setRequired(Boolean required) {
this.required = required;
}
public Object getExample() {
return example;
}
public void setExample(Object example) {
this.example = example;
}
public Object getDefaultValue() {
return defaultValue;
}
public void setDefaultValue(Object defaultValue) {
this.defaultValue = defaultValue;
}
public String getScenarioField() {
return scenarioField;
}
public void setScenarioField(String scenarioField) {
this.scenarioField = scenarioField;
}
public Map getProperties() {
return properties;
}
public void setProperties(Map properties) {
this.properties = properties;
}
public ItemMeta getItems() {
return items;
}
public void setItems(ItemMeta items) {
this.items = items;
}
}