@Validated @Generated(value="io.swagger.codegen.languages.SeiyaSpringCodegen", date="2019-08-22T01:26:16.983+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 |
getRule()
规则代码
|
String |
getType()
策略类型,CUT_BLACK,CUT_WHITE,TEXT,DEFAULT,MAIL,SMS,CONVERT
|
int |
hashCode() |
void |
setContent(String content) |
void |
setOrder(Integer order) |
void |
setRule(String rule) |
void |
setType(String type) |
String |
toString() |
PolicyDTO |
withContent(String content) |
PolicyDTO |
withOrder(Integer order) |
PolicyDTO |
withRule(String rule) |
PolicyDTO |
withType(String type) |
public String getContent()
public void setContent(String content)
public Integer getOrder()
public void setOrder(Integer order)
public String getRule()
public void setRule(String rule)
public String getType()
public void setType(String type)
public static PolicyDTO fromString(String json) throws IOException
PolicyDTO.IOExceptionCopyright © 2019. All rights reserved.