public class QnPrivateAccess extends AbstractModel
header, skipSign
Constructor and Description |
---|
QnPrivateAccess() |
QnPrivateAccess(QnPrivateAccess 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 |
getAccessKey()
Get Access ID
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getSecretKey()
Get Key
|
String |
getSwitch()
Get Whether to enable origin-pull authentication for QiNiu Cloud Kodo.
|
void |
setAccessKey(String AccessKey)
Set Access ID
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setSecretKey(String SecretKey)
Set Key
|
void |
setSwitch(String Switch)
Set Whether to enable origin-pull authentication for QiNiu Cloud Kodo.
|
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 QnPrivateAccess()
public QnPrivateAccess(QnPrivateAccess source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Whether to enable origin-pull authentication for QiNiu Cloud Kodo. Values:
`on`: Enable
`off`: Disablepublic String getAccessKey()
public void setAccessKey(String AccessKey)
AccessKey
- Access ID
Note: This field may return `null`, indicating that no valid value can be obtained.public String getSecretKey()
public void setSecretKey(String SecretKey)
SecretKey
- KeyCopyright © 2024. All rights reserved.