public class CreateAppReq extends Object
| Constructor and Description |
|---|
CreateAppReq() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Boolean |
getFavorite()
是否收藏应用,收藏的应用会在列表里优先显示
|
String |
getKey()
应用认证访问KEY,未提供时随机生成 - 字符集:支持中文、英文字母、数字、中划线、下划线、@号和点,以字母或中文或数字开头 - 约束:实例下唯一
|
String |
getName()
应用名称 - 字符集:支持中文、英文字母、数字、中划线、下划线、点、空格和中英文圆括号 - 约束:实例下唯一
|
String |
getRemark()
应用描述
|
String |
getSecret()
应用认证访问SECRET,未提供(字段不存在或值为null)时随机生成 - 字符集:英文字母、数字、!、@、#、$、%、+、=、点、中划线、斜线/ - 复杂度:满足大小写字母、数字、特殊字符的复杂度组合,考虑兼容性暂时可不做
|
int |
hashCode() |
void |
setFavorite(Boolean favorite) |
void |
setKey(String key) |
void |
setName(String name) |
void |
setRemark(String remark) |
void |
setSecret(String secret) |
String |
toString() |
CreateAppReq |
withFavorite(Boolean favorite) |
CreateAppReq |
withKey(String key) |
CreateAppReq |
withName(String name) |
CreateAppReq |
withRemark(String remark) |
CreateAppReq |
withSecret(String secret) |
public CreateAppReq withName(String name)
public String getName()
public void setName(String name)
public CreateAppReq withRemark(String remark)
public String getRemark()
public void setRemark(String remark)
public CreateAppReq withKey(String key)
public String getKey()
public void setKey(String key)
public CreateAppReq withSecret(String secret)
public String getSecret()
public void setSecret(String secret)
public CreateAppReq withFavorite(Boolean favorite)
public Boolean getFavorite()
public void setFavorite(Boolean favorite)
Copyright © 2022. All rights reserved.