Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b8bdf71

Browse files
committedMar 13, 2025
chore(internal): codegen related update (#4005)
1 parent 6edda80 commit b8bdf71

File tree

2 files changed

+355
-366
lines changed

2 files changed

+355
-366
lines changed
 

‎dns/record.go

+353-364
Large diffs are not rendered by default.

‎dns/record_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func TestRecordBatchWithOptionalParams(t *testing.T) {
208208
Deletes: cloudflare.F([]dns.RecordBatchParamsDelete{{
209209
ID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
210210
}}),
211-
Patches: cloudflare.F([]dns.BatchPatchUnionParam{dns.BatchPatchARecordParam(dns.BatchPatchARecordParam{
211+
Patches: cloudflare.F([]dns.BatchPatchUnionParam{dns.BatchPatchAParam(dns.BatchPatchAParam{
212212
ARecordParam: dns.ARecordParam{
213213
Comment: cloudflare.F("Domain verification record"),
214214
Content: cloudflare.F("198.51.100.4"),
@@ -237,7 +237,7 @@ func TestRecordBatchWithOptionalParams(t *testing.T) {
237237
TTL: cloudflare.F(dns.TTL1),
238238
Type: cloudflare.F(dns.ARecordTypeA),
239239
}}),
240-
Puts: cloudflare.F([]dns.BatchPutUnionParam{dns.BatchPutARecordParam(dns.BatchPutARecordParam{
240+
Puts: cloudflare.F([]dns.BatchPutUnionParam{dns.BatchPutAParam(dns.BatchPutAParam{
241241
ARecordParam: dns.ARecordParam{
242242
Comment: cloudflare.F("Domain verification record"),
243243
Content: cloudflare.F("198.51.100.4"),

0 commit comments

Comments
 (0)
Please sign in to comment.