public class RangeOriginPullRule extends AbstractModel
| Constructor and Description | 
|---|
RangeOriginPullRule()  | 
RangeOriginPullRule(RangeOriginPullRule 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[] | 
getRulePaths()
Get Content for each `RuleType`:
For `file`, enter a suffix, e.g., `jpg` or `txt`. 
 | 
String | 
getRuleType()
Get Rule types:
`file`: effective for specified file suffixes. 
 | 
String | 
getSwitch()
Get Specifies whether Range GETs is enabled 
 | 
void | 
setRulePaths(String[] RulePaths)
Set Content for each `RuleType`:
For `file`, enter a suffix, e.g., `jpg` or `txt`. 
 | 
void | 
setRuleType(String RuleType)
Set Rule types:
`file`: effective for specified file suffixes. 
 | 
void | 
setSwitch(String Switch)
Set Specifies whether Range GETs is enabled 
 | 
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, toJsonStringpublic RangeOriginPullRule()
public RangeOriginPullRule(RangeOriginPullRule source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - Specifies whether Range GETs is enabledpublic String getRuleType()
public void setRuleType(String RuleType)
RuleType - Rule types:
`file`: effective for specified file suffixes.
`directory`: effective for specified paths.
`path`: effective for specified absolute paths.
Note: this field may return `null`, indicating that no valid values can be obtained.public String[] getRulePaths()
public void setRulePaths(String[] RulePaths)
RulePaths - Content for each `RuleType`:
For `file`, enter a suffix, e.g., `jpg` or `txt`.
For `directory`, enter a path, e.g., `/xxx/test/`.
For `path`, enter an absolute path, e.g., `/xxx/test.html`.
Note: this field may return `null`, indicating that no valid values can be obtained.Copyright © 2022. All rights reserved.