diff --git a/src/cloudflare/resources/zones/dns_settings.py b/src/cloudflare/resources/zones/dns_settings.py index 072889b3538..5460d1f4c9c 100644 --- a/src/cloudflare/resources/zones/dns_settings.py +++ b/src/cloudflare/resources/zones/dns_settings.py @@ -49,7 +49,7 @@ def edit( nameservers: NameserverParam | NotGiven = NOT_GIVEN, ns_ttl: float | NotGiven = NOT_GIVEN, secondary_overrides: bool | NotGiven = NOT_GIVEN, - soa: dns_setting_edit_params.Soa | NotGiven = NOT_GIVEN, + soa: dns_setting_edit_params.SOA | NotGiven = NOT_GIVEN, zone_mode: Literal["standard", "cdn_only", "dns_only"] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -173,7 +173,7 @@ async def edit( nameservers: NameserverParam | NotGiven = NOT_GIVEN, ns_ttl: float | NotGiven = NOT_GIVEN, secondary_overrides: bool | NotGiven = NOT_GIVEN, - soa: dns_setting_edit_params.Soa | NotGiven = NOT_GIVEN, + soa: dns_setting_edit_params.SOA | NotGiven = NOT_GIVEN, zone_mode: Literal["standard", "cdn_only", "dns_only"] | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. diff --git a/src/cloudflare/types/zones/dns_setting.py b/src/cloudflare/types/zones/dns_setting.py index 81ac77cb2cd..c96b14afb67 100644 --- a/src/cloudflare/types/zones/dns_setting.py +++ b/src/cloudflare/types/zones/dns_setting.py @@ -6,10 +6,10 @@ from ..._models import BaseModel from .nameserver import Nameserver -__all__ = ["DNSSetting", "Soa"] +__all__ = ["DNSSetting", "SOA"] -class Soa(BaseModel): +class SOA(BaseModel): expire: float """ Time in seconds of being unable to query the primary server after which @@ -69,7 +69,7 @@ class DNSSetting(BaseModel): flattening at the zone apex. """ - soa: Optional[Soa] = None + soa: Optional[SOA] = None """Components of the zone's SOA record.""" zone_mode: Optional[Literal["standard", "cdn_only", "dns_only"]] = None diff --git a/src/cloudflare/types/zones/dns_setting_edit_params.py b/src/cloudflare/types/zones/dns_setting_edit_params.py index 431cafab4c0..96739b9404c 100644 --- a/src/cloudflare/types/zones/dns_setting_edit_params.py +++ b/src/cloudflare/types/zones/dns_setting_edit_params.py @@ -6,7 +6,7 @@ from .nameserver_param import NameserverParam -__all__ = ["DNSSettingEditParams", "Soa"] +__all__ = ["DNSSettingEditParams", "SOA"] class DNSSettingEditParams(TypedDict, total=False): @@ -37,14 +37,14 @@ class DNSSettingEditParams(TypedDict, total=False): flattening at the zone apex. """ - soa: Soa + soa: SOA """Components of the zone's SOA record.""" zone_mode: Literal["standard", "cdn_only", "dns_only"] """Whether the zone mode is a regular or CDN/DNS only zone.""" -class Soa(TypedDict, total=False): +class SOA(TypedDict, total=False): expire: Required[float] """ Time in seconds of being unable to query the primary server after which