Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1.99 KB

File metadata and controls

47 lines (38 loc) · 1.99 KB

V2RuleContentFilter

Properties

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 V2RuleContentFilterAction

Example

from quantcdn.models.v2_rule_content_filter import V2RuleContentFilter

# TODO update the JSON string below
json = "{}"
# create an instance of V2RuleContentFilter from a JSON string
v2_rule_content_filter_instance = V2RuleContentFilter.from_json(json)
# print the JSON string representation of the object
print(V2RuleContentFilter.to_json())

# convert the object into a dict
v2_rule_content_filter_dict = v2_rule_content_filter_instance.to_dict()
# create an instance of V2RuleContentFilter from a dict
v2_rule_content_filter_from_dict = V2RuleContentFilter.from_dict(v2_rule_content_filter_dict)

[Back to Model list] [Back to API list] [Back to README]