public class StructTemplateModel extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StructTemplateModel.TemplateTypeEnum
模板类型,regex,json,split,nginx
|
| Constructor and Description |
|---|
StructTemplateModel() |
public StructTemplateModel withProjectId(String projectId)
public String getProjectId()
public void setProjectId(String projectId)
public StructTemplateModel withTemplateName(String templateName)
public String getTemplateName()
public void setTemplateName(String templateName)
public StructTemplateModel withTemplateType(StructTemplateModel.TemplateTypeEnum templateType)
public StructTemplateModel.TemplateTypeEnum getTemplateType()
public void setTemplateType(StructTemplateModel.TemplateTypeEnum templateType)
public StructTemplateModel withDemoLog(String demoLog)
public String getDemoLog()
public void setDemoLog(String demoLog)
public StructTemplateModel withDemoFields(List<DemoField> demoFields)
public StructTemplateModel addDemoFieldsItem(DemoField demoFieldsItem)
public StructTemplateModel withDemoFields(java.util.function.Consumer<List<DemoField>> demoFieldsSetter)
public StructTemplateModel withTagFields(List<TagFieldNew> tagFields)
public StructTemplateModel addTagFieldsItem(TagFieldNew tagFieldsItem)
public StructTemplateModel withTagFields(java.util.function.Consumer<List<TagFieldNew>> tagFieldsSetter)
public List<TagFieldNew> getTagFields()
public void setTagFields(List<TagFieldNew> tagFields)
public StructTemplateModel withRule(TemplateRule rule)
public StructTemplateModel withRule(java.util.function.Consumer<TemplateRule> ruleSetter)
public TemplateRule getRule()
public void setRule(TemplateRule rule)
public StructTemplateModel withDemoLabel(String demoLabel)
public String getDemoLabel()
public void setDemoLabel(String demoLabel)
public StructTemplateModel withCreateTime(Long createTime)
public Long getCreateTime()
public void setCreateTime(Long createTime)
public StructTemplateModel withId(String id)
public String getId()
public void setId(String id)
Copyright © 2022. All rights reserved.