public class Authentication extends AbstractModel
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 Hotlink protection configuration switch
`on`: Enable
`off`: Disable
When this is enabled, one mode needs to be configured.
|
AuthenticationTypeA |
getTypeA()
Get Timestamp hotlink protection mode A configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
AuthenticationTypeB |
getTypeB()
Get Timestamp hotlink protection mode B configuration (mode B is being upgraded and is currently not supported)
Note: This field may return `null`, indicating that no valid value can be obtained.
|
AuthenticationTypeC |
getTypeC()
Get Timestamp hotlink protection mode C configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
AuthenticationTypeD |
getTypeD()
Get Timestamp hotlink protection mode D configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setSwitch(String Switch)
Set Hotlink protection configuration switch
`on`: Enable
`off`: Disable
When this is enabled, one mode needs to be configured.
|
void |
setTypeA(AuthenticationTypeA TypeA)
Set Timestamp hotlink protection mode A configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setTypeB(AuthenticationTypeB TypeB)
Set Timestamp hotlink protection mode B configuration (mode B is being upgraded and is currently not supported)
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setTypeC(AuthenticationTypeC TypeC)
Set Timestamp hotlink protection mode C configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setTypeD(AuthenticationTypeD TypeD)
Set Timestamp hotlink protection mode D configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
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 Authentication()
public Authentication(Authentication source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Hotlink protection configuration switch
`on`: Enable
`off`: Disable
When this is enabled, one mode needs to be configured. Other modes need to be set to null.public AuthenticationTypeA getTypeA()
public void setTypeA(AuthenticationTypeA TypeA)
TypeA
- Timestamp hotlink protection mode A configuration
Note: This field may return `null`, indicating that no valid value can be obtained.public AuthenticationTypeB getTypeB()
public void setTypeB(AuthenticationTypeB TypeB)
TypeB
- Timestamp hotlink protection mode B configuration (mode B is being upgraded and is currently not supported)
Note: This field may return `null`, indicating that no valid value can be obtained.public AuthenticationTypeC getTypeC()
public void setTypeC(AuthenticationTypeC TypeC)
TypeC
- Timestamp hotlink protection mode C configuration
Note: This field may return `null`, indicating that no valid value can be obtained.public AuthenticationTypeD getTypeD()
public void setTypeD(AuthenticationTypeD TypeD)
TypeD
- Timestamp hotlink protection mode D configuration
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2023. All rights reserved.