diff --git a/src/cloudflare/types/firewall/access_rule_create_params.py b/src/cloudflare/types/firewall/access_rule_create_params.py index c37442dfd..672ae212e 100644 --- a/src/cloudflare/types/firewall/access_rule_create_params.py +++ b/src/cloudflare/types/firewall/access_rule_create_params.py @@ -10,7 +10,7 @@ __all__ = [ "Configuration", "ConfigurationLegacyJhsIPConfiguration", "ConfigurationLegacyJhsIPV6Configuration", - "ConfigurationLegacyJhsCidrConfiguration", + "ConfigurationLegacyJhsCIDRConfiguration", "ConfigurationLegacyJhsASNConfiguration", "ConfigurationLegacyJhsCountryConfiguration", ] @@ -60,7 +60,7 @@ class ConfigurationLegacyJhsIPV6Configuration(TypedDict, total=False): """The IPv6 address to match.""" -class ConfigurationLegacyJhsCidrConfiguration(TypedDict, total=False): +class ConfigurationLegacyJhsCIDRConfiguration(TypedDict, total=False): target: Literal["ip_range"] """The configuration target. @@ -106,7 +106,7 @@ class ConfigurationLegacyJhsCountryConfiguration(TypedDict, total=False): Configuration = Union[ ConfigurationLegacyJhsIPConfiguration, ConfigurationLegacyJhsIPV6Configuration, - ConfigurationLegacyJhsCidrConfiguration, + ConfigurationLegacyJhsCIDRConfiguration, ConfigurationLegacyJhsASNConfiguration, ConfigurationLegacyJhsCountryConfiguration, ] diff --git a/src/cloudflare/types/firewall/access_rule_edit_params.py b/src/cloudflare/types/firewall/access_rule_edit_params.py index 5e1dec825..7caddbbd3 100644 --- a/src/cloudflare/types/firewall/access_rule_edit_params.py +++ b/src/cloudflare/types/firewall/access_rule_edit_params.py @@ -10,7 +10,7 @@ __all__ = [ "Configuration", "ConfigurationLegacyJhsIPConfiguration", "ConfigurationLegacyJhsIPV6Configuration", - "ConfigurationLegacyJhsCidrConfiguration", + "ConfigurationLegacyJhsCIDRConfiguration", "ConfigurationLegacyJhsASNConfiguration", "ConfigurationLegacyJhsCountryConfiguration", ] @@ -60,7 +60,7 @@ class ConfigurationLegacyJhsIPV6Configuration(TypedDict, total=False): """The IPv6 address to match.""" -class ConfigurationLegacyJhsCidrConfiguration(TypedDict, total=False): +class ConfigurationLegacyJhsCIDRConfiguration(TypedDict, total=False): target: Literal["ip_range"] """The configuration target. @@ -106,7 +106,7 @@ class ConfigurationLegacyJhsCountryConfiguration(TypedDict, total=False): Configuration = Union[ ConfigurationLegacyJhsIPConfiguration, ConfigurationLegacyJhsIPV6Configuration, - ConfigurationLegacyJhsCidrConfiguration, + ConfigurationLegacyJhsCIDRConfiguration, ConfigurationLegacyJhsASNConfiguration, ConfigurationLegacyJhsCountryConfiguration, ] diff --git a/src/cloudflare/types/firewall/legacy_jhs_zonelockdown.py b/src/cloudflare/types/firewall/legacy_jhs_zonelockdown.py index cc2d35760..2eb450c73 100644 --- a/src/cloudflare/types/firewall/legacy_jhs_zonelockdown.py +++ b/src/cloudflare/types/firewall/legacy_jhs_zonelockdown.py @@ -10,7 +10,7 @@ __all__ = [ "LegacyJhsZonelockdown", "Configurations", "ConfigurationsLegacyJhsSchemasIPConfiguration", - "ConfigurationsLegacyJhsSchemasCidrConfiguration", + "ConfigurationsLegacyJhsSchemasCIDRConfiguration", ] @@ -29,7 +29,7 @@ class ConfigurationsLegacyJhsSchemasIPConfiguration(BaseModel): """ -class ConfigurationsLegacyJhsSchemasCidrConfiguration(BaseModel): +class ConfigurationsLegacyJhsSchemasCIDRConfiguration(BaseModel): target: Optional[Literal["ip_range"]] = None """The configuration target. @@ -41,7 +41,7 @@ class ConfigurationsLegacyJhsSchemasCidrConfiguration(BaseModel): """The IP address range to match. You can only use prefix lengths `/16` and `/24`.""" -Configurations = Union[ConfigurationsLegacyJhsSchemasIPConfiguration, ConfigurationsLegacyJhsSchemasCidrConfiguration] +Configurations = Union[ConfigurationsLegacyJhsSchemasIPConfiguration, ConfigurationsLegacyJhsSchemasCIDRConfiguration] class LegacyJhsZonelockdown(BaseModel): diff --git a/src/cloudflare/types/user/firewall/access_rule_create_params.py b/src/cloudflare/types/user/firewall/access_rule_create_params.py index 858f5e10b..ae80c21a0 100644 --- a/src/cloudflare/types/user/firewall/access_rule_create_params.py +++ b/src/cloudflare/types/user/firewall/access_rule_create_params.py @@ -10,7 +10,7 @@ __all__ = [ "Configuration", "ConfigurationLegacyJhsIPConfiguration", "ConfigurationLegacyJhsIPV6Configuration", - "ConfigurationLegacyJhsCidrConfiguration", + "ConfigurationLegacyJhsCIDRConfiguration", "ConfigurationLegacyJhsASNConfiguration", "ConfigurationLegacyJhsCountryConfiguration", ] @@ -54,7 +54,7 @@ class ConfigurationLegacyJhsIPV6Configuration(TypedDict, total=False): """The IPv6 address to match.""" -class ConfigurationLegacyJhsCidrConfiguration(TypedDict, total=False): +class ConfigurationLegacyJhsCIDRConfiguration(TypedDict, total=False): target: Literal["ip_range"] """The configuration target. @@ -100,7 +100,7 @@ class ConfigurationLegacyJhsCountryConfiguration(TypedDict, total=False): Configuration = Union[ ConfigurationLegacyJhsIPConfiguration, ConfigurationLegacyJhsIPV6Configuration, - ConfigurationLegacyJhsCidrConfiguration, + ConfigurationLegacyJhsCIDRConfiguration, ConfigurationLegacyJhsASNConfiguration, ConfigurationLegacyJhsCountryConfiguration, ] diff --git a/src/cloudflare/types/user/firewall/legacy_jhs_rule.py b/src/cloudflare/types/user/firewall/legacy_jhs_rule.py index b942e35c3..ca1342775 100644 --- a/src/cloudflare/types/user/firewall/legacy_jhs_rule.py +++ b/src/cloudflare/types/user/firewall/legacy_jhs_rule.py @@ -11,7 +11,7 @@ __all__ = [ "Configuration", "ConfigurationLegacyJhsIPConfiguration", "ConfigurationLegacyJhsIPV6Configuration", - "ConfigurationLegacyJhsCidrConfiguration", + "ConfigurationLegacyJhsCIDRConfiguration", "ConfigurationLegacyJhsASNConfiguration", "ConfigurationLegacyJhsCountryConfiguration", ] @@ -42,7 +42,7 @@ class ConfigurationLegacyJhsIPV6Configuration(BaseModel): """The IPv6 address to match.""" -class ConfigurationLegacyJhsCidrConfiguration(BaseModel): +class ConfigurationLegacyJhsCIDRConfiguration(BaseModel): target: Optional[Literal["ip_range"]] = None """The configuration target. @@ -88,7 +88,7 @@ class ConfigurationLegacyJhsCountryConfiguration(BaseModel): Configuration = Union[ ConfigurationLegacyJhsIPConfiguration, ConfigurationLegacyJhsIPV6Configuration, - ConfigurationLegacyJhsCidrConfiguration, + ConfigurationLegacyJhsCIDRConfiguration, ConfigurationLegacyJhsASNConfiguration, ConfigurationLegacyJhsCountryConfiguration, ]