public class NotificationTemplate extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NotificationTemplate.LocaleEnum
语言,必填,目前可填zh-cn和en-us
|
| Constructor and Description |
|---|
NotificationTemplate() |
public NotificationTemplate withName(String name)
public String getName()
public void setName(String name)
public NotificationTemplate withType(List<String> type)
public NotificationTemplate addTypeItem(String typeItem)
public NotificationTemplate withType(java.util.function.Consumer<List<String>> typeSetter)
public List<String> getType()
public NotificationTemplate withDesc(String desc)
public String getDesc()
public void setDesc(String desc)
public NotificationTemplate withSource(String source)
public String getSource()
public void setSource(String source)
public NotificationTemplate withLocale(NotificationTemplate.LocaleEnum locale)
public NotificationTemplate.LocaleEnum getLocale()
public void setLocale(NotificationTemplate.LocaleEnum locale)
public NotificationTemplate withTemplates(List<SubTemplate> templates)
public NotificationTemplate addTemplatesItem(SubTemplate templatesItem)
public NotificationTemplate withTemplates(java.util.function.Consumer<List<SubTemplate>> templatesSetter)
public List<SubTemplate> getTemplates()
public void setTemplates(List<SubTemplate> templates)
public NotificationTemplate withCreateTime(Long createTime)
public Long getCreateTime()
public void setCreateTime(Long createTime)
public NotificationTemplate withModifyTime(Long modifyTime)
public Long getModifyTime()
public void setModifyTime(Long modifyTime)
public NotificationTemplate withProjectId(String projectId)
public String getProjectId()
public void setProjectId(String projectId)
Copyright © 2022. All rights reserved.