public class ModifyTokenRequest extends AbstractModel
Constructor and Description |
---|
ModifyTokenRequest() |
ModifyTokenRequest(ModifyTokenRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getCompatibleSpan()
Get The time period during which GPM will continuously push the original token in seconds to the user when the token is replaced.
|
String |
getMatchCode()
Get MatchCode
|
String |
getMatchToken()
Get Token.
|
void |
setCompatibleSpan(Long CompatibleSpan)
Set The time period during which GPM will continuously push the original token in seconds to the user when the token is replaced.
|
void |
setMatchCode(String MatchCode)
Set MatchCode
|
void |
setMatchToken(String MatchToken)
Set Token.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ModifyTokenRequest()
public ModifyTokenRequest(ModifyTokenRequest source)
public String getMatchCode()
public void setMatchCode(String MatchCode)
MatchCode
- MatchCodepublic Long getCompatibleSpan()
public void setCompatibleSpan(Long CompatibleSpan)
CompatibleSpan
- The time period during which GPM will continuously push the original token in seconds to the user when the token is replaced. Value range: 0 - 1800. Within the CompatibleSpan time period, user will receive the current and original token in the event notification.public String getMatchToken()
public void setMatchToken(String MatchToken)
MatchToken
- Token. It can contain 0 - 64 characters, supporting [a-zA-Z0-9-_.]. If this parameter is left empty, the token will be randomly generated by GPM.Copyright © 2023. All rights reserved.