Skip to content

Commit 4a7f652

Browse files
AdyenAutomationBotgcatanese
authored andcommitted
[acswebhooks] Automated update from Adyen/adyen-openapi@d24c598
1 parent af3b97c commit 4a7f652

7 files changed

Lines changed: 17 additions & 10 deletions

File tree

Adyen/AcsWebhooks/Models/AuthenticationInfo.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1646,7 +1646,8 @@ public void WriteProperties(Utf8JsonWriter writer, AuthenticationInfo authentica
16461646
}
16471647

16481648
if (authenticationInfo._RiskScoreOption.IsSet)
1649-
writer.WriteNumber("riskScore", authenticationInfo._RiskScoreOption.Value!.Value);
1649+
if (authenticationInfo._RiskScoreOption.Value != null)
1650+
writer.WriteNumber("riskScore", authenticationInfo._RiskScoreOption.Value!.Value);
16501651

16511652
if (authenticationInfo._TransStatusReasonOption.IsSet && authenticationInfo.TransStatusReason != null)
16521653
{

Adyen/AcsWebhooks/Models/AuthenticationNotificationRequest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,8 @@ public void WriteProperties(Utf8JsonWriter writer, AuthenticationNotificationReq
318318
}
319319

320320
if (authenticationNotificationRequest._TimestampOption.IsSet)
321-
writer.WriteString("timestamp", authenticationNotificationRequest._TimestampOption.Value!.Value.ToString(TimestampFormat));
321+
if (authenticationNotificationRequest._TimestampOption.Value != null)
322+
writer.WriteString("timestamp", authenticationNotificationRequest._TimestampOption.Value!.Value.ToString(TimestampFormat));
322323
}
323324
}
324325
}

Adyen/AcsWebhooks/Models/ChallengeInfo.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,10 +557,12 @@ public void WriteProperties(Utf8JsonWriter writer, ChallengeInfo challengeInfo,
557557
writer.WriteString("phoneNumber", challengeInfo.PhoneNumber);
558558

559559
if (challengeInfo._ResendsOption.IsSet)
560-
writer.WriteNumber("resends", challengeInfo._ResendsOption.Value!.Value);
560+
if (challengeInfo._ResendsOption.Value != null)
561+
writer.WriteNumber("resends", challengeInfo._ResendsOption.Value!.Value);
561562

562563
if (challengeInfo._RetriesOption.IsSet)
563-
writer.WriteNumber("retries", challengeInfo._RetriesOption.Value!.Value);
564+
if (challengeInfo._RetriesOption.Value != null)
565+
writer.WriteNumber("retries", challengeInfo._RetriesOption.Value!.Value);
564566
}
565567
}
566568
}

Adyen/AcsWebhooks/Models/RelayedAuthenticationRequest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,8 @@ public void WriteProperties(Utf8JsonWriter writer, RelayedAuthenticationRequest
383383
writer.WriteString("threeDSRequestorAppURL", relayedAuthenticationRequest.ThreeDSRequestorAppURL);
384384

385385
if (relayedAuthenticationRequest._TimestampOption.IsSet)
386-
writer.WriteString("timestamp", relayedAuthenticationRequest._TimestampOption.Value!.Value.ToString(TimestampFormat));
386+
if (relayedAuthenticationRequest._TimestampOption.Value != null)
387+
writer.WriteString("timestamp", relayedAuthenticationRequest._TimestampOption.Value!.Value.ToString(TimestampFormat));
387388
}
388389
}
389390
}

Adyen/AcsWebhooks/Models/Resource.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,8 @@ public void WriteProperties(Utf8JsonWriter writer, Resource resource, JsonSerial
209209
writer.WriteString("balancePlatform", resource.BalancePlatform);
210210

211211
if (resource._CreationDateOption.IsSet)
212-
writer.WriteString("creationDate", resource._CreationDateOption.Value!.Value.ToString(CreationDateFormat));
212+
if (resource._CreationDateOption.Value != null)
213+
writer.WriteString("creationDate", resource._CreationDateOption.Value!.Value.ToString(CreationDateFormat));
213214

214215
if (resource._IdOption.IsSet)
215216
if (resource.Id != null)

Adyen/AcsWebhooks/Models/ServiceError.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ public void WriteProperties(Utf8JsonWriter writer, ServiceError serviceError, Js
258258
writer.WriteString("pspReference", serviceError.PspReference);
259259

260260
if (serviceError._StatusOption.IsSet)
261-
writer.WriteNumber("status", serviceError._StatusOption.Value!.Value);
261+
if (serviceError._StatusOption.Value != null)
262+
writer.WriteNumber("status", serviceError._StatusOption.Value!.Value);
262263
}
263264
}
264265
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"service": "acswebhooks",
33
"project": "dotnet",
4-
"generatedAt": "2026-04-23T11:37:09Z",
5-
"openapiCommitSha": "ae28b691b7da78d2abedb5fa8baff05c59b00ae0",
4+
"generatedAt": "2026-04-30T10:00:06Z",
5+
"openapiCommitSha": "d24c59897bc66d049db5fbc0f4823efe59964e67",
66
"automationCommitSha": "4ad0c0c7e87bc0e5994a9a3350a991d0691350bb",
7-
"libraryCommitSha": "9fb7e82517cad1094624fda220bc3ca05a40a5c3"
7+
"libraryCommitSha": "58cf7ddd1ce25669b0591c0a37377e4d46d456ef"
88
}

0 commit comments

Comments
 (0)