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 防盗链配置开关
on:开启
off:关闭
开启时必须且只配置一种模式,其余模式需要设置为 null
|
AuthenticationTypeA |
getTypeA()
Get 时间戳防盗链模式 A 配置
注意:此字段可能返回 null,表示取不到有效值。
|
AuthenticationTypeB |
getTypeB()
Get 时间戳防盗链模式 B 配置(模式 B 后台升级中,暂时不支持配置)
注意:此字段可能返回 null,表示取不到有效值。
|
AuthenticationTypeC |
getTypeC()
Get 时间戳防盗链模式 C 配置
注意:此字段可能返回 null,表示取不到有效值。
|
AuthenticationTypeD |
getTypeD()
Get 时间戳防盗链模式 D 配置
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSwitch(String Switch)
Set 防盗链配置开关
on:开启
off:关闭
开启时必须且只配置一种模式,其余模式需要设置为 null
|
void |
setTypeA(AuthenticationTypeA TypeA)
Set 时间戳防盗链模式 A 配置
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTypeB(AuthenticationTypeB TypeB)
Set 时间戳防盗链模式 B 配置(模式 B 后台升级中,暂时不支持配置)
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTypeC(AuthenticationTypeC TypeC)
Set 时间戳防盗链模式 C 配置
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTypeD(AuthenticationTypeD TypeD)
Set 时间戳防盗链模式 D 配置
注意:此字段可能返回 null,表示取不到有效值。
|
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
- 防盗链配置开关
on:开启
off:关闭
开启时必须且只配置一种模式,其余模式需要设置为 nullpublic AuthenticationTypeA getTypeA()
public void setTypeA(AuthenticationTypeA TypeA)
TypeA
- 时间戳防盗链模式 A 配置
注意:此字段可能返回 null,表示取不到有效值。public AuthenticationTypeB getTypeB()
public void setTypeB(AuthenticationTypeB TypeB)
TypeB
- 时间戳防盗链模式 B 配置(模式 B 后台升级中,暂时不支持配置)
注意:此字段可能返回 null,表示取不到有效值。public AuthenticationTypeC getTypeC()
public void setTypeC(AuthenticationTypeC TypeC)
TypeC
- 时间戳防盗链模式 C 配置
注意:此字段可能返回 null,表示取不到有效值。public AuthenticationTypeD getTypeD()
public void setTypeD(AuthenticationTypeD TypeD)
TypeD
- 时间戳防盗链模式 D 配置
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2021. All rights reserved.