@Validated @Generated(value="io.swagger.codegen.languages.SeiyaSpringCodegen", date="2019-08-11T19:23:20.437+08:00") public class LicenseKeyInfo extends Object
| Constructor and Description |
|---|
LicenseKeyInfo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static LicenseKeyInfo |
fromString(String json)
Convert the given JSON string to object of class
LicenseKeyInfo. |
@NotNull Long |
getDays()
激活码剩余有效天数
|
@NotNull String |
getKey()
激活码
|
@NotNull String |
getTraceId()
跟踪ID(服务提供用来排查业务问题时的线索)
|
int |
hashCode() |
void |
setDays(Long days) |
void |
setKey(String key) |
void |
setTraceId(String traceId) |
String |
toString() |
LicenseKeyInfo |
withDays(Long days) |
LicenseKeyInfo |
withKey(String key) |
LicenseKeyInfo |
withTraceId(String traceId) |
public LicenseKeyInfo withDays(Long days)
@NotNull public @NotNull Long getDays()
public void setDays(Long days)
public LicenseKeyInfo withKey(String key)
@NotNull public @NotNull String getKey()
public void setKey(String key)
public LicenseKeyInfo withTraceId(String traceId)
@NotNull public @NotNull String getTraceId()
public void setTraceId(String traceId)
public static LicenseKeyInfo fromString(String json) throws IOException
LicenseKeyInfo.IOExceptionCopyright © 2019. All rights reserved.