Skip to content

Commit 11bb6dd

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): update via SDK Studio (#834)
1 parent 7ee6553 commit 11bb6dd

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/cloudflare/resources/zones/dns_settings.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def edit(
4949
nameservers: NameserverParam | NotGiven = NOT_GIVEN,
5050
ns_ttl: float | NotGiven = NOT_GIVEN,
5151
secondary_overrides: bool | NotGiven = NOT_GIVEN,
52-
soa: dns_setting_edit_params.Soa | NotGiven = NOT_GIVEN,
52+
soa: dns_setting_edit_params.SOA | NotGiven = NOT_GIVEN,
5353
zone_mode: Literal["standard", "cdn_only", "dns_only"] | NotGiven = NOT_GIVEN,
5454
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
5555
# 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(
173173
nameservers: NameserverParam | NotGiven = NOT_GIVEN,
174174
ns_ttl: float | NotGiven = NOT_GIVEN,
175175
secondary_overrides: bool | NotGiven = NOT_GIVEN,
176-
soa: dns_setting_edit_params.Soa | NotGiven = NOT_GIVEN,
176+
soa: dns_setting_edit_params.SOA | NotGiven = NOT_GIVEN,
177177
zone_mode: Literal["standard", "cdn_only", "dns_only"] | NotGiven = NOT_GIVEN,
178178
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
179179
# The extra values given here take precedence over values defined on the client or passed to this method.

src/cloudflare/types/zones/dns_setting.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
from ..._models import BaseModel
77
from .nameserver import Nameserver
88

9-
__all__ = ["DNSSetting", "Soa"]
9+
__all__ = ["DNSSetting", "SOA"]
1010

1111

12-
class Soa(BaseModel):
12+
class SOA(BaseModel):
1313
expire: float
1414
"""
1515
Time in seconds of being unable to query the primary server after which
@@ -69,7 +69,7 @@ class DNSSetting(BaseModel):
6969
flattening at the zone apex.
7070
"""
7171

72-
soa: Optional[Soa] = None
72+
soa: Optional[SOA] = None
7373
"""Components of the zone's SOA record."""
7474

7575
zone_mode: Optional[Literal["standard", "cdn_only", "dns_only"]] = None

src/cloudflare/types/zones/dns_setting_edit_params.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from .nameserver_param import NameserverParam
88

9-
__all__ = ["DNSSettingEditParams", "Soa"]
9+
__all__ = ["DNSSettingEditParams", "SOA"]
1010

1111

1212
class DNSSettingEditParams(TypedDict, total=False):
@@ -37,14 +37,14 @@ class DNSSettingEditParams(TypedDict, total=False):
3737
flattening at the zone apex.
3838
"""
3939

40-
soa: Soa
40+
soa: SOA
4141
"""Components of the zone's SOA record."""
4242

4343
zone_mode: Literal["standard", "cdn_only", "dns_only"]
4444
"""Whether the zone mode is a regular or CDN/DNS only zone."""
4545

4646

47-
class Soa(TypedDict, total=False):
47+
class SOA(TypedDict, total=False):
4848
expire: Required[float]
4949
"""
5050
Time in seconds of being unable to query the primary server after which

0 commit comments

Comments
 (0)