Skip to content

Commit 11683b6

Browse files
feat(api): remove unneeded DNS transforms (#2341)
1 parent e6ff06c commit 11683b6

File tree

5 files changed

+24
-24
lines changed

5 files changed

+24
-24
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1490
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-d52d1344e2e65f3eda2fe8fff8c7d95cebf7cad134af21eaf9d6d5b6a04d783a.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-6eed6659daa87db188a6095d59dbc3f6a84c1f63ca4e1b958283301d61cb16e5.yml

src/cloudflare/types/dns/batch_patch_param.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
"MXRecord",
4343
"NAPTRRecord",
4444
"NSRecord",
45-
"OpenpgpkeyRecord",
46-
"OpenpgpkeyRecordSettings",
45+
"Openpgpkey",
46+
"OpenpgpkeySettings",
4747
"PTRRecord",
4848
"SMIMEARecord",
4949
"SRVRecord",
@@ -115,7 +115,7 @@ class NSRecord(NSRecordParam):
115115
"""Identifier"""
116116

117117

118-
class OpenpgpkeyRecordSettings(TypedDict, total=False):
118+
class OpenpgpkeySettings(TypedDict, total=False):
119119
ipv4_only: bool
120120
"""
121121
When enabled, only A records will be generated, and AAAA records will not be
@@ -133,7 +133,7 @@ class OpenpgpkeyRecordSettings(TypedDict, total=False):
133133
"""
134134

135135

136-
class OpenpgpkeyRecord(TypedDict, total=False):
136+
class Openpgpkey(TypedDict, total=False):
137137
id: Required[str]
138138
"""Identifier"""
139139

@@ -155,7 +155,7 @@ class OpenpgpkeyRecord(TypedDict, total=False):
155155
Cloudflare.
156156
"""
157157

158-
settings: OpenpgpkeyRecordSettings
158+
settings: OpenpgpkeySettings
159159
"""Settings for the DNS record."""
160160

161161
tags: List[RecordTags]
@@ -225,7 +225,7 @@ class URIRecord(URIRecordParam):
225225
MXRecord,
226226
NAPTRRecord,
227227
NSRecord,
228-
OpenpgpkeyRecord,
228+
Openpgpkey,
229229
PTRRecord,
230230
SMIMEARecord,
231231
SRVRecord,

src/cloudflare/types/dns/batch_put_param.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
"MXRecord",
4343
"NAPTRRecord",
4444
"NSRecord",
45-
"OpenpgpkeyRecord",
46-
"OpenpgpkeyRecordSettings",
45+
"Openpgpkey",
46+
"OpenpgpkeySettings",
4747
"PTRRecord",
4848
"SMIMEARecord",
4949
"SRVRecord",
@@ -115,7 +115,7 @@ class NSRecord(NSRecordParam):
115115
"""Identifier"""
116116

117117

118-
class OpenpgpkeyRecordSettings(TypedDict, total=False):
118+
class OpenpgpkeySettings(TypedDict, total=False):
119119
ipv4_only: bool
120120
"""
121121
When enabled, only A records will be generated, and AAAA records will not be
@@ -133,7 +133,7 @@ class OpenpgpkeyRecordSettings(TypedDict, total=False):
133133
"""
134134

135135

136-
class OpenpgpkeyRecord(TypedDict, total=False):
136+
class Openpgpkey(TypedDict, total=False):
137137
content: Required[str]
138138
"""A single Base64-encoded OpenPGP Transferable Public Key (RFC 4880 Section 11.1)"""
139139

@@ -158,7 +158,7 @@ class OpenpgpkeyRecord(TypedDict, total=False):
158158
Cloudflare.
159159
"""
160160

161-
settings: OpenpgpkeyRecordSettings
161+
settings: OpenpgpkeySettings
162162
"""Settings for the DNS record."""
163163

164164
tags: List[RecordTags]
@@ -225,7 +225,7 @@ class URIRecord(URIRecordParam):
225225
MXRecord,
226226
NAPTRRecord,
227227
NSRecord,
228-
OpenpgpkeyRecord,
228+
Openpgpkey,
229229
PTRRecord,
230230
SMIMEARecord,
231231
SRVRecord,

src/cloudflare/types/dns/record_param.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
from .dnskey_record_param import DNSKEYRecordParam
2929
from .smimea_record_param import SMIMEARecordParam
3030

31-
__all__ = ["RecordParam", "DNSRecordsOpenpgpkeyRecord", "DNSRecordsOpenpgpkeyRecordSettings"]
31+
__all__ = ["RecordParam", "Openpgpkey", "OpenpgpkeySettings"]
3232

3333

34-
class DNSRecordsOpenpgpkeyRecordSettings(TypedDict, total=False):
34+
class OpenpgpkeySettings(TypedDict, total=False):
3535
ipv4_only: bool
3636
"""
3737
When enabled, only A records will be generated, and AAAA records will not be
@@ -49,7 +49,7 @@ class DNSRecordsOpenpgpkeyRecordSettings(TypedDict, total=False):
4949
"""
5050

5151

52-
class DNSRecordsOpenpgpkeyRecord(TypedDict, total=False):
52+
class Openpgpkey(TypedDict, total=False):
5353
comment: str
5454
"""Comments or notes about the DNS record.
5555
@@ -68,7 +68,7 @@ class DNSRecordsOpenpgpkeyRecord(TypedDict, total=False):
6868
Cloudflare.
6969
"""
7070

71-
settings: DNSRecordsOpenpgpkeyRecordSettings
71+
settings: OpenpgpkeySettings
7272
"""Settings for the DNS record."""
7373

7474
tags: List[RecordTags]
@@ -98,7 +98,7 @@ class DNSRecordsOpenpgpkeyRecord(TypedDict, total=False):
9898
MXRecordParam,
9999
NAPTRRecordParam,
100100
NSRecordParam,
101-
DNSRecordsOpenpgpkeyRecord,
101+
Openpgpkey,
102102
PTRRecordParam,
103103
SMIMEARecordParam,
104104
SRVRecordParam,

src/cloudflare/types/dns/record_response.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
"MXRecord",
4545
"NAPTRRecord",
4646
"NSRecord",
47-
"OpenpgpkeyRecord",
48-
"OpenpgpkeyRecordSettings",
47+
"Openpgpkey",
48+
"OpenpgpkeySettings",
4949
"PTRRecord",
5050
"SMIMEARecord",
5151
"SRVRecord",
@@ -333,7 +333,7 @@ class NSRecord(ns_record.NSRecord):
333333
"""When the record tags were last modified. Omitted if there are no tags."""
334334

335335

336-
class OpenpgpkeyRecordSettings(BaseModel):
336+
class OpenpgpkeySettings(BaseModel):
337337
ipv4_only: Optional[bool] = None
338338
"""
339339
When enabled, only A records will be generated, and AAAA records will not be
@@ -351,7 +351,7 @@ class OpenpgpkeyRecordSettings(BaseModel):
351351
"""
352352

353353

354-
class OpenpgpkeyRecord(BaseModel):
354+
class Openpgpkey(BaseModel):
355355
id: str
356356
"""Identifier"""
357357

@@ -385,7 +385,7 @@ class OpenpgpkeyRecord(BaseModel):
385385
Cloudflare.
386386
"""
387387

388-
settings: OpenpgpkeyRecordSettings
388+
settings: OpenpgpkeySettings
389389
"""Settings for the DNS record."""
390390

391391
tags: List[RecordTags]
@@ -605,7 +605,7 @@ class URIRecord(uri_record.URIRecord):
605605
MXRecord,
606606
NAPTRRecord,
607607
NSRecord,
608-
OpenpgpkeyRecord,
608+
Openpgpkey,
609609
PTRRecord,
610610
SMIMEARecord,
611611
SRVRecord,

0 commit comments

Comments
 (0)