| Name |
Type |
Description |
Notes |
| name |
str |
Rule name |
[optional] |
| uuid |
str |
Rule UUID |
|
| rule_id |
str |
Rule ID |
[optional] |
| weight |
int |
Rule weight |
[optional] [default to 0] |
| url |
List[str] |
URL patterns |
[optional] |
| domain |
List[str] |
Domain patterns |
[optional] |
| disabled |
bool |
Whether rule is disabled |
[default to False] |
| only_with_cookie |
str |
Only apply with cookie |
[optional] |
| method |
str |
HTTP method |
[optional] |
| method_is |
List[str] |
Allowed HTTP methods |
[optional] |
| method_is_not |
List[str] |
Excluded HTTP methods |
[optional] |
| ip |
str |
IP address |
[optional] |
| ip_is |
List[str] |
Allowed IP addresses |
[optional] |
| ip_is_not |
List[str] |
Excluded IP addresses |
[optional] |
| country |
str |
Country code |
[optional] |
| country_is |
List[str] |
Allowed countries |
[optional] |
| country_is_not |
List[str] |
Excluded countries |
[optional] |
| action |
str |
Rule action |
|
| action_config |
V2RuleRedirectAction |
|
[optional] |
from quantcdn.models.v2_rule_redirect import V2RuleRedirect
# TODO update the JSON string below
json = "{}"
# create an instance of V2RuleRedirect from a JSON string
v2_rule_redirect_instance = V2RuleRedirect.from_json(json)
# print the JSON string representation of the object
print(V2RuleRedirect.to_json())
# convert the object into a dict
v2_rule_redirect_dict = v2_rule_redirect_instance.to_dict()
# create an instance of V2RuleRedirect from a dict
v2_rule_redirect_from_dict = V2RuleRedirect.from_dict(v2_rule_redirect_dict)
[Back to Model list] [Back to API list] [Back to README]