@Validated @Generated(value="io.swagger.codegen.languages.SeiyaSpringCodegen", date="2019-10-15T01:26:12.291+08:00") public class PolicyDTO extends Object
| Constructor and Description |
|---|
PolicyDTO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static PolicyDTO |
fromString(String json)
Convert the given JSON string to object of class
PolicyDTO. |
String |
getContent()
策略内容,CUT_BLACK,CUT_WHITE为字符串数组,CONVERT为json
|
Integer |
getOrder()
策略排序,越小排序越靠前,默认100
|
String |
getRuleId()
规则代码
|
String |
getType()
策略类型,CUT_BLACK,CUT_WHITE,TEXT,DEFAULT,MAIL,SMS,CONVERT
|
int |
hashCode() |
void |
setContent(String content) |
void |
setOrder(Integer order) |
void |
setRuleId(String ruleId) |
void |
setType(String type) |
String |
toString() |
PolicyDTO |
withContent(String content) |
PolicyDTO |
withOrder(Integer order) |
PolicyDTO |
withRuleId(String ruleId) |
PolicyDTO |
withType(String type) |
public String getContent()
public void setContent(String content)
public Integer getOrder()
public void setOrder(Integer order)
public String getRuleId()
public void setRuleId(String ruleId)
public String getType()
public void setType(String type)
public static PolicyDTO fromString(String json) throws IOException
PolicyDTO.IOExceptionCopyright © 2019. All rights reserved.