public class Authentication extends AbstractModel
Constructor and Description |
---|
Authentication() |
Modifier and Type | Method and Description |
---|---|
String |
getSwitch()
Get Hotlink protection configuration switch
on: enabled
off: disabled
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 values 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 values can be obtained.
|
AuthenticationTypeC |
getTypeC()
Get Timestamp hotlink protection mode C configuration
Note: this field may return null, indicating that no valid values can be obtained.
|
AuthenticationTypeD |
getTypeD()
Get Timestamp hotlink protection mode D configuration
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setSwitch(String Switch)
Set Hotlink protection configuration switch
on: enabled
off: disabled
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 values 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 values can be obtained.
|
void |
setTypeC(AuthenticationTypeC TypeC)
Set Timestamp hotlink protection mode C configuration
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setTypeD(AuthenticationTypeD TypeD)
Set Timestamp hotlink protection mode D configuration
Note: this field may return null, indicating that no valid values 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 String getSwitch()
public void setSwitch(String Switch)
Switch
- Hotlink protection configuration switch
on: enabled
off: disabled
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 values 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 values 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 values 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 values can be obtained.Copyright © 2020. All rights reserved.