public class Authentication extends AbstractModel
header, skipSign
Constructor and Description |
---|
Authentication() |
Authentication(Authentication 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 |
---|---|
String |
getSwitch()
Get Anti-hotlink configuration switch, value: on: on; off: off.
|
AuthenticationTypeA |
getTypeA()
Get Timestamp hotlink protection mode A configuration
|
AuthenticationTypeB |
getTypeB()
Get Timestamp hotlink protection mode B configuration
|
AuthenticationTypeC |
getTypeC()
Get Timestamp hotlink protection mode C configuration
|
AuthenticationTypeD |
getTypeD()
Get Timestamp hotlink protection mode D configuration
|
void |
setSwitch(String Switch)
Set Anti-hotlink configuration switch, value: on: on; off: off.
|
void |
setTypeA(AuthenticationTypeA TypeA)
Set Timestamp hotlink protection mode A configuration
|
void |
setTypeB(AuthenticationTypeB TypeB)
Set Timestamp hotlink protection mode B configuration
|
void |
setTypeC(AuthenticationTypeC TypeC)
Set Timestamp hotlink protection mode C configuration
|
void |
setTypeD(AuthenticationTypeD TypeD)
Set Timestamp hotlink protection mode D configuration
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public Authentication()
public Authentication(Authentication source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Anti-hotlink configuration switch, value: public AuthenticationTypeA getTypeA()
public void setTypeA(AuthenticationTypeA TypeA)
TypeA
- Timestamp hotlink protection mode A configurationpublic AuthenticationTypeB getTypeB()
public void setTypeB(AuthenticationTypeB TypeB)
TypeB
- Timestamp hotlink protection mode B configurationpublic AuthenticationTypeC getTypeC()
public void setTypeC(AuthenticationTypeC TypeC)
TypeC
- Timestamp hotlink protection mode C configurationpublic AuthenticationTypeD getTypeD()
public void setTypeD(AuthenticationTypeD TypeD)
TypeD
- Timestamp hotlink protection mode D configurationCopyright © 2024. All rights reserved.