diff --git a/src/libs/Vercel/Generated/Vercel.ApiSecurityClient.CreateSecurityFirewallConfigByConfigVersionActivate.g.cs b/src/libs/Vercel/Generated/Vercel.ApiSecurityClient.CreateSecurityFirewallConfigByConfigVersionActivate.g.cs
new file mode 100644
index 00000000..26146730
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.ApiSecurityClient.CreateSecurityFirewallConfigByConfigVersionActivate.g.cs
@@ -0,0 +1,618 @@
+
+#nullable enable
+
+namespace Vercel
+{
+ public partial class ApiSecurityClient
+ {
+
+
+ private static readonly global::Vercel.EndPointSecurityRequirement s_CreateSecurityFirewallConfigByConfigVersionActivateSecurityRequirement0 =
+ new global::Vercel.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Vercel.EndPointAuthorizationRequirement[]
+ { new global::Vercel.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ SchemeId = "HttpBearer",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::Vercel.EndPointSecurityRequirement[] s_CreateSecurityFirewallConfigByConfigVersionActivateSecurityRequirements =
+ new global::Vercel.EndPointSecurityRequirement[]
+ { s_CreateSecurityFirewallConfigByConfigVersionActivateSecurityRequirement0,
+ };
+ partial void PrepareCreateSecurityFirewallConfigByConfigVersionActivateArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref string configVersion);
+ partial void PrepareCreateSecurityFirewallConfigByConfigVersionActivateRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ string configVersion);
+ partial void ProcessCreateSecurityFirewallConfigByConfigVersionActivateResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ partial void ProcessCreateSecurityFirewallConfigByConfigVersionActivateResponseContent(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage,
+ ref string content);
+
+ ///
+ /// Returns activated WAF config
+ /// Promotes a draft WAF config to an active config
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task CreateSecurityFirewallConfigByConfigVersionActivateAsync(
+ string configVersion,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __response = await CreateSecurityFirewallConfigByConfigVersionActivateAsResponseAsync(
+ configVersion: configVersion,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+
+ return __response.Body;
+ }
+ ///
+ /// Returns activated WAF config
+ /// Promotes a draft WAF config to an active config
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task> CreateSecurityFirewallConfigByConfigVersionActivateAsResponseAsync(
+ string configVersion,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareCreateSecurityFirewallConfigByConfigVersionActivateArguments(
+ httpClient: HttpClient,
+ configVersion: ref configVersion);
+
+
+ var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_CreateSecurityFirewallConfigByConfigVersionActivateSecurityRequirements,
+ operationName: "CreateSecurityFirewallConfigByConfigVersionActivateAsync");
+
+ using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken);
+ var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
+ var __effectiveReadResponseAsString = global::Vercel.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ fallbackValue: ReadResponseAsString);
+ var __maxAttempts = global::Vercel.AutoSDKRequestOptionsSupport.GetMaxAttempts(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ supportsRetry: true);
+
+ global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
+ {
+
+ var __pathBuilder = new global::Vercel.PathBuilder(
+ path: $"/v1/security/firewall/config/{configVersion}/activate",
+ baseUri: HttpClient.BaseAddress);
+ var __path = __pathBuilder.ToString();
+ __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters(
+ path: __path,
+ clientParameters: Options.QueryParameters,
+ requestParameters: requestOptions?.QueryParameters);
+ var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
+ method: global::System.Net.Http.HttpMethod.Post,
+ requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
+#if NET6_0_OR_GREATER
+ __httpRequest.Version = global::System.Net.HttpVersion.Version11;
+ __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
+#endif
+
+ foreach (var __authorization in __authorizations)
+ {
+ if (__authorization.Type == "Http" ||
+ __authorization.Type == "OAuth2" ||
+ __authorization.Type == "OpenIdConnect")
+ {
+ __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
+ scheme: __authorization.Name,
+ parameter: __authorization.Value);
+ }
+ else if (__authorization.Type == "ApiKey" &&
+ __authorization.Location == "Header")
+ {
+ __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
+ }
+ }
+ global::Vercel.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareCreateSecurityFirewallConfigByConfigVersionActivateRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ configVersion: configVersion!);
+
+ return __httpRequest;
+ }
+
+ global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
+ global::System.Net.Http.HttpResponseMessage? __response = null;
+ var __attemptNumber = 0;
+ try
+ {
+ for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
+ {
+ __attemptNumber = __attempt;
+ __httpRequest = __CreateHttpRequest();
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CreateSecurityFirewallConfigByConfigVersionActivate",
+ methodName: "CreateSecurityFirewallConfigByConfigVersionActivateAsync",
+ pathTemplate: "$\"/v1/security/firewall/config/{configVersion}/activate\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ try
+ {
+ __response = await HttpClient.SendAsync(
+ request: __httpRequest,
+ completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ }
+ catch (global::System.Net.Http.HttpRequestException __exception)
+ {
+ var __retryDelay = global::Vercel.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: null,
+ attempt: __attempt);
+ var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CreateSecurityFirewallConfigByConfigVersionActivate",
+ methodName: "CreateSecurityFirewallConfigByConfigVersionActivateAsync",
+ pathTemplate: "$\"/v1/security/firewall/config/{configVersion}/activate\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: __exception,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: __willRetry,
+ retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null,
+ retryReason: "exception",
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ if (!__willRetry)
+ {
+ throw;
+ }
+
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vercel.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ if (__response != null &&
+ __attempt < __maxAttempts &&
+ global::Vercel.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
+ {
+ var __retryDelay = global::Vercel.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: __response,
+ attempt: __attempt);
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CreateSecurityFirewallConfigByConfigVersionActivate",
+ methodName: "CreateSecurityFirewallConfigByConfigVersionActivateAsync",
+ pathTemplate: "$\"/v1/security/firewall/config/{configVersion}/activate\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: true,
+ retryDelay: __retryDelay,
+ retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture),
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ __response.Dispose();
+ __response = null;
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vercel.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ break;
+ }
+
+ if (__response == null)
+ {
+ throw new global::System.InvalidOperationException("No response received.");
+ }
+
+ using (__response)
+ {
+
+ ProcessResponse(
+ client: HttpClient,
+ response: __response);
+ ProcessCreateSecurityFirewallConfigByConfigVersionActivateResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CreateSecurityFirewallConfigByConfigVersionActivate",
+ methodName: "CreateSecurityFirewallConfigByConfigVersionActivateAsync",
+ pathTemplate: "$\"/v1/security/firewall/config/{configVersion}/activate\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ else
+ {
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "CreateSecurityFirewallConfigByConfigVersionActivate",
+ methodName: "CreateSecurityFirewallConfigByConfigVersionActivateAsync",
+ pathTemplate: "$\"/v1/security/firewall/config/{configVersion}/activate\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ //
+ if ((int)__response.StatusCode == 400)
+ {
+ string? __content_400 = null;
+ global::System.Exception? __exception_400 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_400 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_400,
+ responseBody: __content_400,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 401)
+ {
+ string? __content_401 = null;
+ global::System.Exception? __exception_401 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_401 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_401,
+ responseBody: __content_401,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 402)
+ {
+ string? __content_402 = null;
+ global::System.Exception? __exception_402 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_402 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_402 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_402,
+ responseBody: __content_402,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 403)
+ {
+ string? __content_403 = null;
+ global::System.Exception? __exception_403 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_403 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_403 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_403,
+ responseBody: __content_403,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 404)
+ {
+ string? __content_404 = null;
+ global::System.Exception? __exception_404 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_404 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_404 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_404,
+ responseBody: __content_404,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 500)
+ {
+ string? __content_500 = null;
+ global::System.Exception? __exception_500 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_500 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_500 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_500,
+ responseBody: __content_500,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+
+ if (__effectiveReadResponseAsString)
+ {
+ var __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ ProcessResponseContent(
+ client: HttpClient,
+ response: __response,
+ content: ref __content);
+ ProcessCreateSecurityFirewallConfigByConfigVersionActivateResponseContent(
+ httpClient: HttpClient,
+ httpResponseMessage: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ var __value = global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponse.FromJson(__content, JsonSerializerContext) ??
+ throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
+ return new global::Vercel.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+ else
+ {
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+ using var __content = await __response.Content.ReadAsStreamAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ var __value = await global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
+ throw new global::System.InvalidOperationException("Response deserialization failed.");
+ return new global::Vercel.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ string? __content = null;
+ try
+ {
+ __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+ }
+ catch (global::System.Exception)
+ {
+ }
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+
+ }
+ }
+ finally
+ {
+ __httpRequest?.Dispose();
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vercel/Generated/Vercel.ApiSecurityClient.DeleteSecurityFirewallConfigByConfigVersion.g.cs b/src/libs/Vercel/Generated/Vercel.ApiSecurityClient.DeleteSecurityFirewallConfigByConfigVersion.g.cs
new file mode 100644
index 00000000..2e8ada1a
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.ApiSecurityClient.DeleteSecurityFirewallConfigByConfigVersion.g.cs
@@ -0,0 +1,586 @@
+
+#nullable enable
+
+namespace Vercel
+{
+ public partial class ApiSecurityClient
+ {
+
+
+ private static readonly global::Vercel.EndPointSecurityRequirement s_DeleteSecurityFirewallConfigByConfigVersionSecurityRequirement0 =
+ new global::Vercel.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Vercel.EndPointAuthorizationRequirement[]
+ { new global::Vercel.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ SchemeId = "HttpBearer",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::Vercel.EndPointSecurityRequirement[] s_DeleteSecurityFirewallConfigByConfigVersionSecurityRequirements =
+ new global::Vercel.EndPointSecurityRequirement[]
+ { s_DeleteSecurityFirewallConfigByConfigVersionSecurityRequirement0,
+ };
+ partial void PrepareDeleteSecurityFirewallConfigByConfigVersionArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref string configVersion);
+ partial void PrepareDeleteSecurityFirewallConfigByConfigVersionRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ string configVersion);
+ partial void ProcessDeleteSecurityFirewallConfigByConfigVersionResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ partial void ProcessDeleteSecurityFirewallConfigByConfigVersionResponseContent(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage,
+ ref string content);
+
+ ///
+ /// Returns activated WAF config
+ /// Promotes a draft WAF config to an active config
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task DeleteSecurityFirewallConfigByConfigVersionAsync(
+ string configVersion,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __response = await DeleteSecurityFirewallConfigByConfigVersionAsResponseAsync(
+ configVersion: configVersion,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+
+ return __response.Body;
+ }
+ ///
+ /// Returns activated WAF config
+ /// Promotes a draft WAF config to an active config
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task> DeleteSecurityFirewallConfigByConfigVersionAsResponseAsync(
+ string configVersion,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareDeleteSecurityFirewallConfigByConfigVersionArguments(
+ httpClient: HttpClient,
+ configVersion: ref configVersion);
+
+
+ var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_DeleteSecurityFirewallConfigByConfigVersionSecurityRequirements,
+ operationName: "DeleteSecurityFirewallConfigByConfigVersionAsync");
+
+ using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken);
+ var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
+ var __effectiveReadResponseAsString = global::Vercel.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ fallbackValue: ReadResponseAsString);
+ var __maxAttempts = global::Vercel.AutoSDKRequestOptionsSupport.GetMaxAttempts(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ supportsRetry: true);
+
+ global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
+ {
+
+ var __pathBuilder = new global::Vercel.PathBuilder(
+ path: $"/v1/security/firewall/config/{configVersion}",
+ baseUri: HttpClient.BaseAddress);
+ var __path = __pathBuilder.ToString();
+ __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters(
+ path: __path,
+ clientParameters: Options.QueryParameters,
+ requestParameters: requestOptions?.QueryParameters);
+ var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
+ method: global::System.Net.Http.HttpMethod.Delete,
+ requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
+#if NET6_0_OR_GREATER
+ __httpRequest.Version = global::System.Net.HttpVersion.Version11;
+ __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
+#endif
+
+ foreach (var __authorization in __authorizations)
+ {
+ if (__authorization.Type == "Http" ||
+ __authorization.Type == "OAuth2" ||
+ __authorization.Type == "OpenIdConnect")
+ {
+ __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
+ scheme: __authorization.Name,
+ parameter: __authorization.Value);
+ }
+ else if (__authorization.Type == "ApiKey" &&
+ __authorization.Location == "Header")
+ {
+ __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
+ }
+ }
+ global::Vercel.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareDeleteSecurityFirewallConfigByConfigVersionRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ configVersion: configVersion!);
+
+ return __httpRequest;
+ }
+
+ global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
+ global::System.Net.Http.HttpResponseMessage? __response = null;
+ var __attemptNumber = 0;
+ try
+ {
+ for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
+ {
+ __attemptNumber = __attempt;
+ __httpRequest = __CreateHttpRequest();
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "DeleteSecurityFirewallConfigByConfigVersion",
+ methodName: "DeleteSecurityFirewallConfigByConfigVersionAsync",
+ pathTemplate: "$\"/v1/security/firewall/config/{configVersion}\"",
+ httpMethod: "DELETE",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ try
+ {
+ __response = await HttpClient.SendAsync(
+ request: __httpRequest,
+ completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ }
+ catch (global::System.Net.Http.HttpRequestException __exception)
+ {
+ var __retryDelay = global::Vercel.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: null,
+ attempt: __attempt);
+ var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "DeleteSecurityFirewallConfigByConfigVersion",
+ methodName: "DeleteSecurityFirewallConfigByConfigVersionAsync",
+ pathTemplate: "$\"/v1/security/firewall/config/{configVersion}\"",
+ httpMethod: "DELETE",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: __exception,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: __willRetry,
+ retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null,
+ retryReason: "exception",
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ if (!__willRetry)
+ {
+ throw;
+ }
+
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vercel.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ if (__response != null &&
+ __attempt < __maxAttempts &&
+ global::Vercel.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
+ {
+ var __retryDelay = global::Vercel.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: __response,
+ attempt: __attempt);
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "DeleteSecurityFirewallConfigByConfigVersion",
+ methodName: "DeleteSecurityFirewallConfigByConfigVersionAsync",
+ pathTemplate: "$\"/v1/security/firewall/config/{configVersion}\"",
+ httpMethod: "DELETE",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: true,
+ retryDelay: __retryDelay,
+ retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture),
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ __response.Dispose();
+ __response = null;
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vercel.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ break;
+ }
+
+ if (__response == null)
+ {
+ throw new global::System.InvalidOperationException("No response received.");
+ }
+
+ using (__response)
+ {
+
+ ProcessResponse(
+ client: HttpClient,
+ response: __response);
+ ProcessDeleteSecurityFirewallConfigByConfigVersionResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "DeleteSecurityFirewallConfigByConfigVersion",
+ methodName: "DeleteSecurityFirewallConfigByConfigVersionAsync",
+ pathTemplate: "$\"/v1/security/firewall/config/{configVersion}\"",
+ httpMethod: "DELETE",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ else
+ {
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "DeleteSecurityFirewallConfigByConfigVersion",
+ methodName: "DeleteSecurityFirewallConfigByConfigVersionAsync",
+ pathTemplate: "$\"/v1/security/firewall/config/{configVersion}\"",
+ httpMethod: "DELETE",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ //
+ if ((int)__response.StatusCode == 400)
+ {
+ string? __content_400 = null;
+ global::System.Exception? __exception_400 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_400 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_400,
+ responseBody: __content_400,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 401)
+ {
+ string? __content_401 = null;
+ global::System.Exception? __exception_401 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_401 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_401,
+ responseBody: __content_401,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 403)
+ {
+ string? __content_403 = null;
+ global::System.Exception? __exception_403 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_403 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_403 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_403,
+ responseBody: __content_403,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 404)
+ {
+ string? __content_404 = null;
+ global::System.Exception? __exception_404 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_404 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_404 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_404,
+ responseBody: __content_404,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 500)
+ {
+ string? __content_500 = null;
+ global::System.Exception? __exception_500 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_500 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_500 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_500,
+ responseBody: __content_500,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+
+ if (__effectiveReadResponseAsString)
+ {
+ var __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ ProcessResponseContent(
+ client: HttpClient,
+ response: __response,
+ content: ref __content);
+ ProcessDeleteSecurityFirewallConfigByConfigVersionResponseContent(
+ httpClient: HttpClient,
+ httpResponseMessage: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ var __value = (global::Vercel.DeleteSecurityFirewallConfigByConfigVersionResponse?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Vercel.DeleteSecurityFirewallConfigByConfigVersionResponse?), JsonSerializerContext) ??
+ throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
+ return new global::Vercel.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+ else
+ {
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+ using var __content = await __response.Content.ReadAsStreamAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ var __value = (global::Vercel.DeleteSecurityFirewallConfigByConfigVersionResponse?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::Vercel.DeleteSecurityFirewallConfigByConfigVersionResponse?), JsonSerializerContext).ConfigureAwait(false) ??
+ throw new global::System.InvalidOperationException("Response deserialization failed.");
+ return new global::Vercel.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ string? __content = null;
+ try
+ {
+ __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+ }
+ catch (global::System.Exception)
+ {
+ }
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+
+ }
+ }
+ finally
+ {
+ __httpRequest?.Dispose();
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vercel/Generated/Vercel.ApiSecurityClient.GetSecurityFirewallConfig.g.cs b/src/libs/Vercel/Generated/Vercel.ApiSecurityClient.GetSecurityFirewallConfig.g.cs
new file mode 100644
index 00000000..f1a97d0d
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.ApiSecurityClient.GetSecurityFirewallConfig.g.cs
@@ -0,0 +1,545 @@
+
+#nullable enable
+
+namespace Vercel
+{
+ public partial class ApiSecurityClient
+ {
+
+
+ private static readonly global::Vercel.EndPointSecurityRequirement s_GetSecurityFirewallConfigSecurityRequirement0 =
+ new global::Vercel.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Vercel.EndPointAuthorizationRequirement[]
+ { new global::Vercel.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ SchemeId = "HttpBearer",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::Vercel.EndPointSecurityRequirement[] s_GetSecurityFirewallConfigSecurityRequirements =
+ new global::Vercel.EndPointSecurityRequirement[]
+ { s_GetSecurityFirewallConfigSecurityRequirement0,
+ };
+ partial void PrepareGetSecurityFirewallConfigArguments(
+ global::System.Net.Http.HttpClient httpClient);
+ partial void PrepareGetSecurityFirewallConfigRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage);
+ partial void ProcessGetSecurityFirewallConfigResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ partial void ProcessGetSecurityFirewallConfigResponseContent(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage,
+ ref string content);
+
+ ///
+ /// Returns activated WAF config
+ /// Lists WAF configs for a project
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task GetSecurityFirewallConfigAsync(
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __response = await GetSecurityFirewallConfigAsResponseAsync(
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+
+ return __response.Body;
+ }
+ ///
+ /// Returns activated WAF config
+ /// Lists WAF configs for a project
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task> GetSecurityFirewallConfigAsResponseAsync(
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareGetSecurityFirewallConfigArguments(
+ httpClient: HttpClient);
+
+
+ var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetSecurityFirewallConfigSecurityRequirements,
+ operationName: "GetSecurityFirewallConfigAsync");
+
+ using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken);
+ var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
+ var __effectiveReadResponseAsString = global::Vercel.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ fallbackValue: ReadResponseAsString);
+ var __maxAttempts = global::Vercel.AutoSDKRequestOptionsSupport.GetMaxAttempts(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ supportsRetry: true);
+
+ global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
+ {
+
+ var __pathBuilder = new global::Vercel.PathBuilder(
+ path: "/v1/security/firewall/config",
+ baseUri: HttpClient.BaseAddress);
+ var __path = __pathBuilder.ToString();
+ __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters(
+ path: __path,
+ clientParameters: Options.QueryParameters,
+ requestParameters: requestOptions?.QueryParameters);
+ var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
+ method: global::System.Net.Http.HttpMethod.Get,
+ requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
+#if NET6_0_OR_GREATER
+ __httpRequest.Version = global::System.Net.HttpVersion.Version11;
+ __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
+#endif
+
+ foreach (var __authorization in __authorizations)
+ {
+ if (__authorization.Type == "Http" ||
+ __authorization.Type == "OAuth2" ||
+ __authorization.Type == "OpenIdConnect")
+ {
+ __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
+ scheme: __authorization.Name,
+ parameter: __authorization.Value);
+ }
+ else if (__authorization.Type == "ApiKey" &&
+ __authorization.Location == "Header")
+ {
+ __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
+ }
+ }
+ global::Vercel.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareGetSecurityFirewallConfigRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest);
+
+ return __httpRequest;
+ }
+
+ global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
+ global::System.Net.Http.HttpResponseMessage? __response = null;
+ var __attemptNumber = 0;
+ try
+ {
+ for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
+ {
+ __attemptNumber = __attempt;
+ __httpRequest = __CreateHttpRequest();
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GetSecurityFirewallConfig",
+ methodName: "GetSecurityFirewallConfigAsync",
+ pathTemplate: "\"/v1/security/firewall/config\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ try
+ {
+ __response = await HttpClient.SendAsync(
+ request: __httpRequest,
+ completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ }
+ catch (global::System.Net.Http.HttpRequestException __exception)
+ {
+ var __retryDelay = global::Vercel.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: null,
+ attempt: __attempt);
+ var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GetSecurityFirewallConfig",
+ methodName: "GetSecurityFirewallConfigAsync",
+ pathTemplate: "\"/v1/security/firewall/config\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: __exception,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: __willRetry,
+ retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null,
+ retryReason: "exception",
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ if (!__willRetry)
+ {
+ throw;
+ }
+
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vercel.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ if (__response != null &&
+ __attempt < __maxAttempts &&
+ global::Vercel.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
+ {
+ var __retryDelay = global::Vercel.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: __response,
+ attempt: __attempt);
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GetSecurityFirewallConfig",
+ methodName: "GetSecurityFirewallConfigAsync",
+ pathTemplate: "\"/v1/security/firewall/config\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: true,
+ retryDelay: __retryDelay,
+ retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture),
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ __response.Dispose();
+ __response = null;
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vercel.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ break;
+ }
+
+ if (__response == null)
+ {
+ throw new global::System.InvalidOperationException("No response received.");
+ }
+
+ using (__response)
+ {
+
+ ProcessResponse(
+ client: HttpClient,
+ response: __response);
+ ProcessGetSecurityFirewallConfigResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GetSecurityFirewallConfig",
+ methodName: "GetSecurityFirewallConfigAsync",
+ pathTemplate: "\"/v1/security/firewall/config\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ else
+ {
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GetSecurityFirewallConfig",
+ methodName: "GetSecurityFirewallConfigAsync",
+ pathTemplate: "\"/v1/security/firewall/config\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ //
+ if ((int)__response.StatusCode == 400)
+ {
+ string? __content_400 = null;
+ global::System.Exception? __exception_400 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_400 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_400,
+ responseBody: __content_400,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 401)
+ {
+ string? __content_401 = null;
+ global::System.Exception? __exception_401 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_401 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_401,
+ responseBody: __content_401,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 403)
+ {
+ string? __content_403 = null;
+ global::System.Exception? __exception_403 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_403 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_403 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_403,
+ responseBody: __content_403,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 404)
+ {
+ string? __content_404 = null;
+ global::System.Exception? __exception_404 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_404 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_404 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_404,
+ responseBody: __content_404,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+
+ if (__effectiveReadResponseAsString)
+ {
+ var __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ ProcessResponseContent(
+ client: HttpClient,
+ response: __response,
+ content: ref __content);
+ ProcessGetSecurityFirewallConfigResponseContent(
+ httpClient: HttpClient,
+ httpResponseMessage: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ var __value = global::Vercel.GetSecurityFirewallConfigResponse.FromJson(__content, JsonSerializerContext) ??
+ throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
+ return new global::Vercel.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+ else
+ {
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+ using var __content = await __response.Content.ReadAsStreamAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ var __value = await global::Vercel.GetSecurityFirewallConfigResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
+ throw new global::System.InvalidOperationException("Response deserialization failed.");
+ return new global::Vercel.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ string? __content = null;
+ try
+ {
+ __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+ }
+ catch (global::System.Exception)
+ {
+ }
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+
+ }
+ }
+ finally
+ {
+ __httpRequest?.Dispose();
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vercel/Generated/Vercel.ApiSecurityClient.g.cs b/src/libs/Vercel/Generated/Vercel.ApiSecurityClient.g.cs
new file mode 100644
index 00000000..c3986f41
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.ApiSecurityClient.g.cs
@@ -0,0 +1,136 @@
+
+#nullable enable
+
+namespace Vercel
+{
+ ///
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
+ ///
+ public sealed partial class ApiSecurityClient : global::Vercel.IApiSecurityClient, global::System.IDisposable
+ {
+ ///
+ /// Production API
+ ///
+ public const string DefaultBaseUrl = "https://api.vercel.com/";
+
+ private bool _disposeHttpClient = true;
+
+ ///
+ public global::System.Net.Http.HttpClient HttpClient { get; }
+
+ ///
+ public System.Uri? BaseUri => HttpClient.BaseAddress;
+
+ ///
+ public global::System.Collections.Generic.List Authorizations { get; }
+
+ ///
+ public bool ReadResponseAsString { get; set; }
+#if DEBUG
+ = true;
+#endif
+
+ ///
+ public global::Vercel.AutoSDKClientOptions Options { get; }
+ ///
+ ///
+ ///
+ public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::Vercel.SourceGenerationContext.Default;
+
+
+ ///
+ /// Creates a new instance of the ApiSecurityClient.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
+ ///
+ /// The HttpClient instance. If not provided, a new one will be created.
+ /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used.
+ /// The authorizations to use for the requests.
+ /// Dispose the HttpClient when the instance is disposed. True by default.
+ public ApiSecurityClient(
+ global::System.Net.Http.HttpClient? httpClient = null,
+ global::System.Uri? baseUri = null,
+ global::System.Collections.Generic.List? authorizations = null,
+ bool disposeHttpClient = true) : this(
+ httpClient,
+ baseUri,
+ authorizations,
+ options: null,
+ disposeHttpClient: disposeHttpClient)
+ {
+ }
+
+ ///
+ /// Creates a new instance of the ApiSecurityClient with explicit options but no base URL override.
+ /// Skips passing baseUri so the default base URL from the OpenAPI spec applies.
+ ///
+ /// The HttpClient instance. If not provided, a new one will be created.
+ /// The authorizations to use for the requests.
+ /// Client-wide request defaults such as headers, query parameters, retries, and timeout.
+ /// Dispose the HttpClient when the instance is disposed. True by default.
+ public ApiSecurityClient(
+ global::System.Net.Http.HttpClient? httpClient,
+ global::System.Collections.Generic.List? authorizations,
+ global::Vercel.AutoSDKClientOptions? options,
+ bool disposeHttpClient = true) : this(
+ httpClient,
+ baseUri: null,
+ authorizations,
+ options,
+ disposeHttpClient: disposeHttpClient)
+ {
+ }
+
+ ///
+ /// Creates a new instance of the ApiSecurityClient.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
+ ///
+ /// The HttpClient instance. If not provided, a new one will be created.
+ /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used.
+ /// The authorizations to use for the requests.
+ /// Client-wide request defaults such as headers, query parameters, retries, and timeout.
+ /// Dispose the HttpClient when the instance is disposed. True by default.
+ public ApiSecurityClient(
+ global::System.Net.Http.HttpClient? httpClient,
+ global::System.Uri? baseUri,
+ global::System.Collections.Generic.List? authorizations,
+ global::Vercel.AutoSDKClientOptions? options,
+ bool disposeHttpClient = true)
+ {
+
+ HttpClient = httpClient ?? new global::System.Net.Http.HttpClient();
+ HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl);
+ Authorizations = authorizations ?? new global::System.Collections.Generic.List();
+ Options = options ?? new global::Vercel.AutoSDKClientOptions();
+ _disposeHttpClient = disposeHttpClient;
+
+ Initialized(HttpClient);
+ }
+
+ ///
+ public void Dispose()
+ {
+ if (_disposeHttpClient)
+ {
+ HttpClient.Dispose();
+ }
+ }
+
+ partial void Initialized(
+ global::System.Net.Http.HttpClient client);
+ partial void PrepareArguments(
+ global::System.Net.Http.HttpClient client);
+ partial void PrepareRequest(
+ global::System.Net.Http.HttpClient client,
+ global::System.Net.Http.HttpRequestMessage request);
+ partial void ProcessResponse(
+ global::System.Net.Http.HttpClient client,
+ global::System.Net.Http.HttpResponseMessage response);
+ partial void ProcessResponseContent(
+ global::System.Net.Http.HttpClient client,
+ global::System.Net.Http.HttpResponseMessage response,
+ ref string content);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vercel/Generated/Vercel.CertsClient.GetCerts.g.cs b/src/libs/Vercel/Generated/Vercel.CertsClient.GetCerts.g.cs
new file mode 100644
index 00000000..79c20d54
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.CertsClient.GetCerts.g.cs
@@ -0,0 +1,543 @@
+
+#nullable enable
+
+namespace Vercel
+{
+ public partial class CertsClient
+ {
+
+
+ private static readonly global::Vercel.EndPointSecurityRequirement s_GetCertsSecurityRequirement0 =
+ new global::Vercel.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Vercel.EndPointAuthorizationRequirement[]
+ { new global::Vercel.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ SchemeId = "HttpBearer",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::Vercel.EndPointSecurityRequirement[] s_GetCertsSecurityRequirements =
+ new global::Vercel.EndPointSecurityRequirement[]
+ { s_GetCertsSecurityRequirement0,
+ };
+ partial void PrepareGetCertsArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref string? teamId,
+ ref string? slug);
+ partial void PrepareGetCertsRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ string? teamId,
+ string? slug);
+ partial void ProcessGetCertsResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ partial void ProcessGetCertsResponseContent(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage,
+ ref string content);
+
+ ///
+ /// Get certs
+ /// Get certs
+ ///
+ ///
+ /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
+ ///
+ ///
+ /// Example: my-team-url-slug
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task GetCertsAsync(
+ string? teamId = default,
+ string? slug = default,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __response = await GetCertsAsResponseAsync(
+ teamId: teamId,
+ slug: slug,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+
+ return __response.Body;
+ }
+ ///
+ /// Get certs
+ /// Get certs
+ ///
+ ///
+ /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
+ ///
+ ///
+ /// Example: my-team-url-slug
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task> GetCertsAsResponseAsync(
+ string? teamId = default,
+ string? slug = default,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareGetCertsArguments(
+ httpClient: HttpClient,
+ teamId: ref teamId,
+ slug: ref slug);
+
+
+ var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GetCertsSecurityRequirements,
+ operationName: "GetCertsAsync");
+
+ using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken);
+ var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
+ var __effectiveReadResponseAsString = global::Vercel.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ fallbackValue: ReadResponseAsString);
+ var __maxAttempts = global::Vercel.AutoSDKRequestOptionsSupport.GetMaxAttempts(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ supportsRetry: true);
+
+ global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
+ {
+
+ var __pathBuilder = new global::Vercel.PathBuilder(
+ path: "/v8/certs",
+ baseUri: HttpClient.BaseAddress);
+ __pathBuilder
+ .AddOptionalParameter("teamId", teamId)
+ .AddOptionalParameter("slug", slug)
+ ;
+ var __path = __pathBuilder.ToString();
+ __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters(
+ path: __path,
+ clientParameters: Options.QueryParameters,
+ requestParameters: requestOptions?.QueryParameters);
+ var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
+ method: global::System.Net.Http.HttpMethod.Get,
+ requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
+#if NET6_0_OR_GREATER
+ __httpRequest.Version = global::System.Net.HttpVersion.Version11;
+ __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
+#endif
+
+ foreach (var __authorization in __authorizations)
+ {
+ if (__authorization.Type == "Http" ||
+ __authorization.Type == "OAuth2" ||
+ __authorization.Type == "OpenIdConnect")
+ {
+ __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
+ scheme: __authorization.Name,
+ parameter: __authorization.Value);
+ }
+ else if (__authorization.Type == "ApiKey" &&
+ __authorization.Location == "Header")
+ {
+ __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
+ }
+ }
+ global::Vercel.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareGetCertsRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ teamId: teamId,
+ slug: slug);
+
+ return __httpRequest;
+ }
+
+ global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
+ global::System.Net.Http.HttpResponseMessage? __response = null;
+ var __attemptNumber = 0;
+ try
+ {
+ for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
+ {
+ __attemptNumber = __attempt;
+ __httpRequest = __CreateHttpRequest();
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GetCerts",
+ methodName: "GetCertsAsync",
+ pathTemplate: "\"/v8/certs\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ try
+ {
+ __response = await HttpClient.SendAsync(
+ request: __httpRequest,
+ completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ }
+ catch (global::System.Net.Http.HttpRequestException __exception)
+ {
+ var __retryDelay = global::Vercel.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: null,
+ attempt: __attempt);
+ var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GetCerts",
+ methodName: "GetCertsAsync",
+ pathTemplate: "\"/v8/certs\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: __exception,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: __willRetry,
+ retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null,
+ retryReason: "exception",
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ if (!__willRetry)
+ {
+ throw;
+ }
+
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vercel.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ if (__response != null &&
+ __attempt < __maxAttempts &&
+ global::Vercel.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
+ {
+ var __retryDelay = global::Vercel.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: __response,
+ attempt: __attempt);
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GetCerts",
+ methodName: "GetCertsAsync",
+ pathTemplate: "\"/v8/certs\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: true,
+ retryDelay: __retryDelay,
+ retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture),
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ __response.Dispose();
+ __response = null;
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vercel.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ break;
+ }
+
+ if (__response == null)
+ {
+ throw new global::System.InvalidOperationException("No response received.");
+ }
+
+ using (__response)
+ {
+
+ ProcessResponse(
+ client: HttpClient,
+ response: __response);
+ ProcessGetCertsResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GetCerts",
+ methodName: "GetCertsAsync",
+ pathTemplate: "\"/v8/certs\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ else
+ {
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GetCerts",
+ methodName: "GetCertsAsync",
+ pathTemplate: "\"/v8/certs\"",
+ httpMethod: "GET",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ //
+ if ((int)__response.StatusCode == 400)
+ {
+ string? __content_400 = null;
+ global::System.Exception? __exception_400 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_400 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_400,
+ responseBody: __content_400,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 401)
+ {
+ string? __content_401 = null;
+ global::System.Exception? __exception_401 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_401 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_401,
+ responseBody: __content_401,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 403)
+ {
+ string? __content_403 = null;
+ global::System.Exception? __exception_403 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_403 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_403 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_403,
+ responseBody: __content_403,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+
+ if (__effectiveReadResponseAsString)
+ {
+ var __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ ProcessResponseContent(
+ client: HttpClient,
+ response: __response,
+ content: ref __content);
+ ProcessGetCertsResponseContent(
+ httpClient: HttpClient,
+ httpResponseMessage: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ var __value = global::Vercel.GetCertsResponse.FromJson(__content, JsonSerializerContext) ??
+ throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
+ return new global::Vercel.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+ else
+ {
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+ using var __content = await __response.Content.ReadAsStreamAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ var __value = await global::Vercel.GetCertsResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
+ throw new global::System.InvalidOperationException("Response deserialization failed.");
+ return new global::Vercel.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ string? __content = null;
+ try
+ {
+ __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+ }
+ catch (global::System.Exception)
+ {
+ }
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+
+ }
+ }
+ finally
+ {
+ __httpRequest?.Dispose();
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vercel/Generated/Vercel.FirewallClient.GenerateFirewallRule.g.cs b/src/libs/Vercel/Generated/Vercel.FirewallClient.GenerateFirewallRule.g.cs
new file mode 100644
index 00000000..dc08e135
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.FirewallClient.GenerateFirewallRule.g.cs
@@ -0,0 +1,649 @@
+
+#nullable enable
+
+namespace Vercel
+{
+ public partial class FirewallClient
+ {
+
+
+ private static readonly global::Vercel.EndPointSecurityRequirement s_GenerateFirewallRuleSecurityRequirement0 =
+ new global::Vercel.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Vercel.EndPointAuthorizationRequirement[]
+ { new global::Vercel.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ SchemeId = "HttpBearer",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::Vercel.EndPointSecurityRequirement[] s_GenerateFirewallRuleSecurityRequirements =
+ new global::Vercel.EndPointSecurityRequirement[]
+ { s_GenerateFirewallRuleSecurityRequirement0,
+ };
+ partial void PrepareGenerateFirewallRuleArguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref string projectId,
+ ref string? teamId,
+ ref string? slug);
+ partial void PrepareGenerateFirewallRuleRequest(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ string projectId,
+ string? teamId,
+ string? slug);
+ partial void ProcessGenerateFirewallRuleResponse(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ partial void ProcessGenerateFirewallRuleResponseContent(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage,
+ ref string content);
+
+ ///
+ /// Generate a firewall rule from natural language
+ /// Generate a firewall rule from a natural language description.
+ ///
+ ///
+ ///
+ /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
+ ///
+ ///
+ /// Example: my-team-url-slug
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task GenerateFirewallRuleAsync(
+ string projectId,
+ string? teamId = default,
+ string? slug = default,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __response = await GenerateFirewallRuleAsResponseAsync(
+ projectId: projectId,
+ teamId: teamId,
+ slug: slug,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+
+ return __response.Body;
+ }
+ ///
+ /// Generate a firewall rule from natural language
+ /// Generate a firewall rule from a natural language description.
+ ///
+ ///
+ ///
+ /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
+ ///
+ ///
+ /// Example: my-team-url-slug
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task> GenerateFirewallRuleAsResponseAsync(
+ string projectId,
+ string? teamId = default,
+ string? slug = default,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ PrepareArguments(
+ client: HttpClient);
+ PrepareGenerateFirewallRuleArguments(
+ httpClient: HttpClient,
+ projectId: ref projectId,
+ teamId: ref teamId,
+ slug: ref slug);
+
+
+ var __authorizations = global::Vercel.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_GenerateFirewallRuleSecurityRequirements,
+ operationName: "GenerateFirewallRuleAsync");
+
+ using var __timeoutCancellationTokenSource = global::Vercel.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken);
+ var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
+ var __effectiveReadResponseAsString = global::Vercel.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ fallbackValue: ReadResponseAsString);
+ var __maxAttempts = global::Vercel.AutoSDKRequestOptionsSupport.GetMaxAttempts(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ supportsRetry: true);
+
+ global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
+ {
+
+ var __pathBuilder = new global::Vercel.PathBuilder(
+ path: "/v1/security/firewall/config/generate-rule",
+ baseUri: HttpClient.BaseAddress);
+ __pathBuilder
+ .AddRequiredParameter("projectId", projectId)
+ .AddOptionalParameter("teamId", teamId)
+ .AddOptionalParameter("slug", slug)
+ ;
+ var __path = __pathBuilder.ToString();
+ __path = global::Vercel.AutoSDKRequestOptionsSupport.AppendQueryParameters(
+ path: __path,
+ clientParameters: Options.QueryParameters,
+ requestParameters: requestOptions?.QueryParameters);
+ var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
+ method: global::System.Net.Http.HttpMethod.Post,
+ requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
+#if NET6_0_OR_GREATER
+ __httpRequest.Version = global::System.Net.HttpVersion.Version11;
+ __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
+#endif
+
+ foreach (var __authorization in __authorizations)
+ {
+ if (__authorization.Type == "Http" ||
+ __authorization.Type == "OAuth2" ||
+ __authorization.Type == "OpenIdConnect")
+ {
+ __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
+ scheme: __authorization.Name,
+ parameter: __authorization.Value);
+ }
+ else if (__authorization.Type == "ApiKey" &&
+ __authorization.Location == "Header")
+ {
+ __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
+ }
+ }
+ global::Vercel.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareGenerateFirewallRuleRequest(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ projectId: projectId!,
+ teamId: teamId,
+ slug: slug);
+
+ return __httpRequest;
+ }
+
+ global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
+ global::System.Net.Http.HttpResponseMessage? __response = null;
+ var __attemptNumber = 0;
+ try
+ {
+ for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
+ {
+ __attemptNumber = __attempt;
+ __httpRequest = __CreateHttpRequest();
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GenerateFirewallRule",
+ methodName: "GenerateFirewallRuleAsync",
+ pathTemplate: "\"/v1/security/firewall/config/generate-rule\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ try
+ {
+ __response = await HttpClient.SendAsync(
+ request: __httpRequest,
+ completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ }
+ catch (global::System.Net.Http.HttpRequestException __exception)
+ {
+ var __retryDelay = global::Vercel.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: null,
+ attempt: __attempt);
+ var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GenerateFirewallRule",
+ methodName: "GenerateFirewallRuleAsync",
+ pathTemplate: "\"/v1/security/firewall/config/generate-rule\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: null,
+ exception: __exception,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: __willRetry,
+ retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null,
+ retryReason: "exception",
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ if (!__willRetry)
+ {
+ throw;
+ }
+
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vercel.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ if (__response != null &&
+ __attempt < __maxAttempts &&
+ global::Vercel.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
+ {
+ var __retryDelay = global::Vercel.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: __response,
+ attempt: __attempt);
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GenerateFirewallRule",
+ methodName: "GenerateFirewallRuleAsync",
+ pathTemplate: "\"/v1/security/firewall/config/generate-rule\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: true,
+ retryDelay: __retryDelay,
+ retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture),
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ __response.Dispose();
+ __response = null;
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Vercel.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ break;
+ }
+
+ if (__response == null)
+ {
+ throw new global::System.InvalidOperationException("No response received.");
+ }
+
+ using (__response)
+ {
+
+ ProcessResponse(
+ client: HttpClient,
+ response: __response);
+ ProcessGenerateFirewallRuleResponse(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GenerateFirewallRule",
+ methodName: "GenerateFirewallRuleAsync",
+ pathTemplate: "\"/v1/security/firewall/config/generate-rule\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ else
+ {
+ await global::Vercel.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "GenerateFirewallRule",
+ methodName: "GenerateFirewallRuleAsync",
+ pathTemplate: "\"/v1/security/firewall/config/generate-rule\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest!,
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ //
+ if ((int)__response.StatusCode == 400)
+ {
+ string? __content_400 = null;
+ global::System.Exception? __exception_400 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_400 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_400,
+ responseBody: __content_400,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 401)
+ {
+ string? __content_401 = null;
+ global::System.Exception? __exception_401 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_401 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_401,
+ responseBody: __content_401,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 403)
+ {
+ string? __content_403 = null;
+ global::System.Exception? __exception_403 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_403 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_403 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_403,
+ responseBody: __content_403,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 404)
+ {
+ string? __content_404 = null;
+ global::System.Exception? __exception_404 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_404 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_404 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_404,
+ responseBody: __content_404,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 408)
+ {
+ string? __content_408 = null;
+ global::System.Exception? __exception_408 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_408 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_408 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_408 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_408 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_408,
+ responseBody: __content_408,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 500)
+ {
+ string? __content_500 = null;
+ global::System.Exception? __exception_500 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_500 = __ex;
+ }
+
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_500 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_500,
+ responseBody: __content_500,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+
+ if (__effectiveReadResponseAsString)
+ {
+ var __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ ProcessResponseContent(
+ client: HttpClient,
+ response: __response,
+ content: ref __content);
+ ProcessGenerateFirewallRuleResponseContent(
+ httpClient: HttpClient,
+ httpResponseMessage: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ var __value = global::Vercel.GenerateFirewallRuleResponse.FromJson(__content, JsonSerializerContext) ??
+ throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
+ return new global::Vercel.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+ else
+ {
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+ using var __content = await __response.Content.ReadAsStreamAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ var __value = await global::Vercel.GenerateFirewallRuleResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
+ throw new global::System.InvalidOperationException("Response deserialization failed.");
+ return new global::Vercel.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Vercel.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ string? __content = null;
+ try
+ {
+ __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+ }
+ catch (global::System.Exception)
+ {
+ }
+
+ throw global::Vercel.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+
+ }
+ }
+ finally
+ {
+ __httpRequest?.Dispose();
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vercel/Generated/Vercel.FirewallClient.g.cs b/src/libs/Vercel/Generated/Vercel.FirewallClient.g.cs
new file mode 100644
index 00000000..4c2b3283
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.FirewallClient.g.cs
@@ -0,0 +1,136 @@
+
+#nullable enable
+
+namespace Vercel
+{
+ ///
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
+ ///
+ public sealed partial class FirewallClient : global::Vercel.IFirewallClient, global::System.IDisposable
+ {
+ ///
+ /// Production API
+ ///
+ public const string DefaultBaseUrl = "https://api.vercel.com/";
+
+ private bool _disposeHttpClient = true;
+
+ ///
+ public global::System.Net.Http.HttpClient HttpClient { get; }
+
+ ///
+ public System.Uri? BaseUri => HttpClient.BaseAddress;
+
+ ///
+ public global::System.Collections.Generic.List Authorizations { get; }
+
+ ///
+ public bool ReadResponseAsString { get; set; }
+#if DEBUG
+ = true;
+#endif
+
+ ///
+ public global::Vercel.AutoSDKClientOptions Options { get; }
+ ///
+ ///
+ ///
+ public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::Vercel.SourceGenerationContext.Default;
+
+
+ ///
+ /// Creates a new instance of the FirewallClient.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
+ ///
+ /// The HttpClient instance. If not provided, a new one will be created.
+ /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used.
+ /// The authorizations to use for the requests.
+ /// Dispose the HttpClient when the instance is disposed. True by default.
+ public FirewallClient(
+ global::System.Net.Http.HttpClient? httpClient = null,
+ global::System.Uri? baseUri = null,
+ global::System.Collections.Generic.List? authorizations = null,
+ bool disposeHttpClient = true) : this(
+ httpClient,
+ baseUri,
+ authorizations,
+ options: null,
+ disposeHttpClient: disposeHttpClient)
+ {
+ }
+
+ ///
+ /// Creates a new instance of the FirewallClient with explicit options but no base URL override.
+ /// Skips passing baseUri so the default base URL from the OpenAPI spec applies.
+ ///
+ /// The HttpClient instance. If not provided, a new one will be created.
+ /// The authorizations to use for the requests.
+ /// Client-wide request defaults such as headers, query parameters, retries, and timeout.
+ /// Dispose the HttpClient when the instance is disposed. True by default.
+ public FirewallClient(
+ global::System.Net.Http.HttpClient? httpClient,
+ global::System.Collections.Generic.List? authorizations,
+ global::Vercel.AutoSDKClientOptions? options,
+ bool disposeHttpClient = true) : this(
+ httpClient,
+ baseUri: null,
+ authorizations,
+ options,
+ disposeHttpClient: disposeHttpClient)
+ {
+ }
+
+ ///
+ /// Creates a new instance of the FirewallClient.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
+ ///
+ /// The HttpClient instance. If not provided, a new one will be created.
+ /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used.
+ /// The authorizations to use for the requests.
+ /// Client-wide request defaults such as headers, query parameters, retries, and timeout.
+ /// Dispose the HttpClient when the instance is disposed. True by default.
+ public FirewallClient(
+ global::System.Net.Http.HttpClient? httpClient,
+ global::System.Uri? baseUri,
+ global::System.Collections.Generic.List? authorizations,
+ global::Vercel.AutoSDKClientOptions? options,
+ bool disposeHttpClient = true)
+ {
+
+ HttpClient = httpClient ?? new global::System.Net.Http.HttpClient();
+ HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl);
+ Authorizations = authorizations ?? new global::System.Collections.Generic.List();
+ Options = options ?? new global::Vercel.AutoSDKClientOptions();
+ _disposeHttpClient = disposeHttpClient;
+
+ Initialized(HttpClient);
+ }
+
+ ///
+ public void Dispose()
+ {
+ if (_disposeHttpClient)
+ {
+ HttpClient.Dispose();
+ }
+ }
+
+ partial void Initialized(
+ global::System.Net.Http.HttpClient client);
+ partial void PrepareArguments(
+ global::System.Net.Http.HttpClient client);
+ partial void PrepareRequest(
+ global::System.Net.Http.HttpClient client,
+ global::System.Net.Http.HttpRequestMessage request);
+ partial void ProcessResponse(
+ global::System.Net.Http.HttpClient client,
+ global::System.Net.Http.HttpResponseMessage response);
+ partial void ProcessResponseContent(
+ global::System.Net.Http.HttpClient client,
+ global::System.Net.Http.HttpResponseMessage response,
+ ref string content);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vercel/Generated/Vercel.IApiSecurityClient.CreateSecurityFirewallConfigByConfigVersionActivate.g.cs b/src/libs/Vercel/Generated/Vercel.IApiSecurityClient.CreateSecurityFirewallConfigByConfigVersionActivate.g.cs
new file mode 100644
index 00000000..a23f1c9d
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.IApiSecurityClient.CreateSecurityFirewallConfigByConfigVersionActivate.g.cs
@@ -0,0 +1,32 @@
+#nullable enable
+
+namespace Vercel
+{
+ public partial interface IApiSecurityClient
+ {
+ ///
+ /// Returns activated WAF config
+ /// Promotes a draft WAF config to an active config
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task CreateSecurityFirewallConfigByConfigVersionActivateAsync(
+ string configVersion,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Returns activated WAF config
+ /// Promotes a draft WAF config to an active config
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task> CreateSecurityFirewallConfigByConfigVersionActivateAsResponseAsync(
+ string configVersion,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vercel/Generated/Vercel.IApiSecurityClient.DeleteSecurityFirewallConfigByConfigVersion.g.cs b/src/libs/Vercel/Generated/Vercel.IApiSecurityClient.DeleteSecurityFirewallConfigByConfigVersion.g.cs
new file mode 100644
index 00000000..3de3af89
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.IApiSecurityClient.DeleteSecurityFirewallConfigByConfigVersion.g.cs
@@ -0,0 +1,32 @@
+#nullable enable
+
+namespace Vercel
+{
+ public partial interface IApiSecurityClient
+ {
+ ///
+ /// Returns activated WAF config
+ /// Promotes a draft WAF config to an active config
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task DeleteSecurityFirewallConfigByConfigVersionAsync(
+ string configVersion,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Returns activated WAF config
+ /// Promotes a draft WAF config to an active config
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task> DeleteSecurityFirewallConfigByConfigVersionAsResponseAsync(
+ string configVersion,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vercel/Generated/Vercel.IApiSecurityClient.GetSecurityFirewallConfig.g.cs b/src/libs/Vercel/Generated/Vercel.IApiSecurityClient.GetSecurityFirewallConfig.g.cs
new file mode 100644
index 00000000..2eef71d2
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.IApiSecurityClient.GetSecurityFirewallConfig.g.cs
@@ -0,0 +1,28 @@
+#nullable enable
+
+namespace Vercel
+{
+ public partial interface IApiSecurityClient
+ {
+ ///
+ /// Returns activated WAF config
+ /// Lists WAF configs for a project
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task GetSecurityFirewallConfigAsync(
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Returns activated WAF config
+ /// Lists WAF configs for a project
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task> GetSecurityFirewallConfigAsResponseAsync(
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vercel/Generated/Vercel.IApiSecurityClient.g.cs b/src/libs/Vercel/Generated/Vercel.IApiSecurityClient.g.cs
new file mode 100644
index 00000000..a2b57013
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.IApiSecurityClient.g.cs
@@ -0,0 +1,48 @@
+
+#nullable enable
+
+namespace Vercel
+{
+ ///
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
+ ///
+ public partial interface IApiSecurityClient : global::System.IDisposable
+ {
+ ///
+ /// The HttpClient instance.
+ ///
+ public global::System.Net.Http.HttpClient HttpClient { get; }
+
+ ///
+ /// The base URL for the API.
+ ///
+ public System.Uri? BaseUri { get; }
+
+ ///
+ /// The authorizations to use for the requests.
+ ///
+ public global::System.Collections.Generic.List Authorizations { get; }
+
+ ///
+ /// Gets or sets a value indicating whether the response content should be read as a string.
+ /// True by default in debug builds, false otherwise.
+ /// When false, successful responses are deserialized directly from the response stream for better performance.
+ /// Error responses are always read as strings regardless of this setting,
+ /// ensuring is populated.
+ ///
+ public bool ReadResponseAsString { get; set; }
+ ///
+ /// Client-wide request defaults such as headers, query parameters, retries, and timeout.
+ ///
+ public global::Vercel.AutoSDKClientOptions Options { get; }
+
+
+ ///
+ ///
+ ///
+ global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }
+
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vercel/Generated/Vercel.ICertsClient.GetCerts.g.cs b/src/libs/Vercel/Generated/Vercel.ICertsClient.GetCerts.g.cs
new file mode 100644
index 00000000..92018205
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.ICertsClient.GetCerts.g.cs
@@ -0,0 +1,44 @@
+#nullable enable
+
+namespace Vercel
+{
+ public partial interface ICertsClient
+ {
+ ///
+ /// Get certs
+ /// Get certs
+ ///
+ ///
+ /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
+ ///
+ ///
+ /// Example: my-team-url-slug
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task GetCertsAsync(
+ string? teamId = default,
+ string? slug = default,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Get certs
+ /// Get certs
+ ///
+ ///
+ /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
+ ///
+ ///
+ /// Example: my-team-url-slug
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task> GetCertsAsResponseAsync(
+ string? teamId = default,
+ string? slug = default,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vercel/Generated/Vercel.IFirewallClient.GenerateFirewallRule.g.cs b/src/libs/Vercel/Generated/Vercel.IFirewallClient.GenerateFirewallRule.g.cs
new file mode 100644
index 00000000..70e562ee
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.IFirewallClient.GenerateFirewallRule.g.cs
@@ -0,0 +1,48 @@
+#nullable enable
+
+namespace Vercel
+{
+ public partial interface IFirewallClient
+ {
+ ///
+ /// Generate a firewall rule from natural language
+ /// Generate a firewall rule from a natural language description.
+ ///
+ ///
+ ///
+ /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
+ ///
+ ///
+ /// Example: my-team-url-slug
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task GenerateFirewallRuleAsync(
+ string projectId,
+ string? teamId = default,
+ string? slug = default,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Generate a firewall rule from natural language
+ /// Generate a firewall rule from a natural language description.
+ ///
+ ///
+ ///
+ /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
+ ///
+ ///
+ /// Example: my-team-url-slug
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task> GenerateFirewallRuleAsResponseAsync(
+ string projectId,
+ string? teamId = default,
+ string? slug = default,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vercel/Generated/Vercel.IFirewallClient.g.cs b/src/libs/Vercel/Generated/Vercel.IFirewallClient.g.cs
new file mode 100644
index 00000000..73248597
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.IFirewallClient.g.cs
@@ -0,0 +1,48 @@
+
+#nullable enable
+
+namespace Vercel
+{
+ ///
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
+ ///
+ public partial interface IFirewallClient : global::System.IDisposable
+ {
+ ///
+ /// The HttpClient instance.
+ ///
+ public global::System.Net.Http.HttpClient HttpClient { get; }
+
+ ///
+ /// The base URL for the API.
+ ///
+ public System.Uri? BaseUri { get; }
+
+ ///
+ /// The authorizations to use for the requests.
+ ///
+ public global::System.Collections.Generic.List Authorizations { get; }
+
+ ///
+ /// Gets or sets a value indicating whether the response content should be read as a string.
+ /// True by default in debug builds, false otherwise.
+ /// When false, successful responses are deserialized directly from the response stream for better performance.
+ /// Error responses are always read as strings regardless of this setting,
+ /// ensuring is populated.
+ ///
+ public bool ReadResponseAsString { get; set; }
+ ///
+ /// Client-wide request defaults such as headers, query parameters, retries, and timeout.
+ ///
+ public global::Vercel.AutoSDKClientOptions Options { get; }
+
+
+ ///
+ ///
+ ///
+ global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }
+
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vercel/Generated/Vercel.IProjectsClient.GetProjectToken.g.cs b/src/libs/Vercel/Generated/Vercel.IProjectsClient.GetProjectToken.g.cs
new file mode 100644
index 00000000..1439b375
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.IProjectsClient.GetProjectToken.g.cs
@@ -0,0 +1,88 @@
+#nullable enable
+
+namespace Vercel
+{
+ public partial interface IProjectsClient
+ {
+ ///
+ /// Generate a project OIDC token
+ /// Generates an OIDC token for the project and returns it.
+ ///
+ ///
+ /// The project ID or name
+ /// Example: my-project, <prj_id>
+ ///
+ ///
+ /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
+ ///
+ ///
+ /// Example: my-team-url-slug
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task GetProjectTokenAsync(
+ string idOrName,
+
+ global::Vercel.GetProjectTokenRequest request,
+ string? teamId = default,
+ string? slug = default,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Generate a project OIDC token
+ /// Generates an OIDC token for the project and returns it.
+ ///
+ ///
+ /// The project ID or name
+ /// Example: my-project, <prj_id>
+ ///
+ ///
+ /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
+ ///
+ ///
+ /// Example: my-team-url-slug
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task> GetProjectTokenAsResponseAsync(
+ string idOrName,
+
+ global::Vercel.GetProjectTokenRequest request,
+ string? teamId = default,
+ string? slug = default,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Generate a project OIDC token
+ /// Generates an OIDC token for the project and returns it.
+ ///
+ ///
+ /// The project ID or name
+ /// Example: my-project, <prj_id>
+ ///
+ ///
+ /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
+ ///
+ ///
+ /// Example: my-team-url-slug
+ ///
+ ///
+ /// The source that is calling the endpoint.
+ /// Example: vercel-cli:pull
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task GetProjectTokenAsync(
+ string idOrName,
+ string? teamId = default,
+ string? slug = default,
+ string? source = default,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.GetDomainsRecordsByRecordId.g.cs b/src/libs/Vercel/Generated/Vercel.IVercelClient.GetDomainsRecordsByRecordId.g.cs
new file mode 100644
index 00000000..b4efd395
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.IVercelClient.GetDomainsRecordsByRecordId.g.cs
@@ -0,0 +1,30 @@
+#nullable enable
+
+namespace Vercel
+{
+ public partial interface IVercelClient
+ {
+ ///
+ ///
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task GetDomainsRecordsByRecordIdAsync(
+ string recordId,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ ///
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task> GetDomainsRecordsByRecordIdAsResponseAsync(
+ string recordId,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.ReplaceDomainsByDomainRecords.g.cs b/src/libs/Vercel/Generated/Vercel.IVercelClient.ReplaceDomainsByDomainRecords.g.cs
new file mode 100644
index 00000000..cbf7461a
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.IVercelClient.ReplaceDomainsByDomainRecords.g.cs
@@ -0,0 +1,30 @@
+#nullable enable
+
+namespace Vercel
+{
+ public partial interface IVercelClient
+ {
+ ///
+ ///
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task ReplaceDomainsByDomainRecordsAsync(
+ string domain,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ ///
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task> ReplaceDomainsByDomainRecordsAsResponseAsync(
+ string domain,
+ global::Vercel.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Vercel/Generated/Vercel.IVercelClient.g.cs b/src/libs/Vercel/Generated/Vercel.IVercelClient.g.cs
index a21f8847..de4a149f 100644
--- a/src/libs/Vercel/Generated/Vercel.IVercelClient.g.cs
+++ b/src/libs/Vercel/Generated/Vercel.IVercelClient.g.cs
@@ -65,6 +65,11 @@ public partial interface IVercelClient : global::System.IDisposable
///
public ApiObservabilityClient ApiObservability { get; }
+ ///
+ ///
+ ///
+ public ApiSecurityClient ApiSecurity { get; }
+
///
///
///
@@ -145,6 +150,11 @@ public partial interface IVercelClient : global::System.IDisposable
///
public FeatureFlagsClient FeatureFlags { get; }
+ ///
+ ///
+ ///
+ public FirewallClient Firewall { get; }
+
///
///
///
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsGenAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsGenAction.g.cs
new file mode 100644
index 00000000..ff315a73
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsGenAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsGenActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsGenAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsGenActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsGenAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsGenAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsGenAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsGenActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsGenActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsGenActionNullable.g.cs
new file mode 100644
index 00000000..1e9f7068
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsGenActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsGenActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsGenAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsGenActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsGenAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsGenAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsGenAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsGenActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsJavaAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsJavaAction.g.cs
new file mode 100644
index 00000000..7e48b473
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsJavaAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsJavaActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsJavaAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsJavaActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsJavaAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsJavaAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsJavaAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsJavaActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsJavaActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsJavaActionNullable.g.cs
new file mode 100644
index 00000000..be8d5df6
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsJavaActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsJavaActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsJavaAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsJavaActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsJavaAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsJavaAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsJavaAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsJavaActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsLfiAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsLfiAction.g.cs
new file mode 100644
index 00000000..d77e6701
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsLfiAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsLfiActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsLfiAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsLfiActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsLfiAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsLfiAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsLfiAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsLfiActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsLfiActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsLfiActionNullable.g.cs
new file mode 100644
index 00000000..43b16631
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsLfiActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsLfiActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsLfiAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsLfiActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsLfiAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsLfiAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsLfiAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsLfiActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsMaAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsMaAction.g.cs
new file mode 100644
index 00000000..4f5fc19d
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsMaAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsMaActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsMaAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsMaActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsMaAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsMaAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsMaAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsMaActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsMaActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsMaActionNullable.g.cs
new file mode 100644
index 00000000..d1e3241f
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsMaActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsMaActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsMaAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsMaActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsMaAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsMaAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsMaAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsMaActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsPhpAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsPhpAction.g.cs
new file mode 100644
index 00000000..e015ebea
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsPhpAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsPhpActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsPhpAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsPhpActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsPhpAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsPhpAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsPhpAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsPhpActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsPhpActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsPhpActionNullable.g.cs
new file mode 100644
index 00000000..b0861303
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsPhpActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsPhpActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsPhpAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsPhpActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsPhpAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsPhpAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsPhpAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsPhpActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRceAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRceAction.g.cs
new file mode 100644
index 00000000..e39b4dbe
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRceAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRceActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRceAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRceActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRceAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRceAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRceAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRceActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRceActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRceActionNullable.g.cs
new file mode 100644
index 00000000..f1ac55b3
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRceActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRceActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRceAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRceActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRceAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRceAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRceAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRceActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRfiAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRfiAction.g.cs
new file mode 100644
index 00000000..0ee28c8c
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRfiAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRfiActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRfiAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRfiActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRfiAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRfiAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRfiAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRfiActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRfiActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRfiActionNullable.g.cs
new file mode 100644
index 00000000..9e41ffa0
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRfiActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRfiActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRfiAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRfiActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRfiAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRfiAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRfiAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsRfiActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSdAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSdAction.g.cs
new file mode 100644
index 00000000..d397f569
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSdAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSdActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSdAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSdActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSdAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSdAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSdAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSdActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSdActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSdActionNullable.g.cs
new file mode 100644
index 00000000..8d23b04c
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSdActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSdActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSdAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSdActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSdAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSdAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSdAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSdActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSfAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSfAction.g.cs
new file mode 100644
index 00000000..63e52816
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSfAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSfActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSfAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSfActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSfAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSfAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSfAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSfActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSfActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSfActionNullable.g.cs
new file mode 100644
index 00000000..a749bc6f
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSfActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSfActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSfAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSfActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSfAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSfAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSfAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSfActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSqliAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSqliAction.g.cs
new file mode 100644
index 00000000..be301fff
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSqliAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSqliActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSqliAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSqliActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSqliAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSqliAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSqliAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSqliActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSqliActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSqliActionNullable.g.cs
new file mode 100644
index 00000000..85c8fcc9
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSqliActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSqliActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSqliAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSqliActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSqliAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSqliAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSqliAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsSqliActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsXssAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsXssAction.g.cs
new file mode 100644
index 00000000..aad213b0
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsXssAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsXssActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsXssAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsXssActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsXssAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsXssAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsXssAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsXssActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsXssActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsXssActionNullable.g.cs
new file mode 100644
index 00000000..c6fd18b1
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsXssActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsXssActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsXssAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsXssActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsXssAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsXssAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsXssAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseCrsXssActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseIpAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseIpAction.g.cs
new file mode 100644
index 00000000..42d110de
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseIpAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseIpActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseIpAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseIpActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseIpAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseIpAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseIpAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseIpActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseIpActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseIpActionNullable.g.cs
new file mode 100644
index 00000000..466d3236
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseIpActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseIpActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseIpAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseIpActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseIpAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseIpAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseIpAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseIpActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseLogHeaders.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseLogHeaders.g.cs
new file mode 100644
index 00000000..410cc75f
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseLogHeaders.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseLogHeadersJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseLogHeaders Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseLogHeadersExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseLogHeaders);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseLogHeaders value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseLogHeadersExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseLogHeadersNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseLogHeadersNullable.g.cs
new file mode 100644
index 00000000..09bbcfe9
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseLogHeadersNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseLogHeadersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseLogHeaders? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseLogHeadersExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseLogHeaders?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseLogHeaders? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseLogHeadersExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesAiBotsAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesAiBotsAction.g.cs
new file mode 100644
index 00000000..1b2b8c40
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesAiBotsAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesAiBotsActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesAiBotsAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesAiBotsActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesAiBotsAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesAiBotsAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesAiBotsAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesAiBotsActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesAiBotsActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesAiBotsActionNullable.g.cs
new file mode 100644
index 00000000..b4847776
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesAiBotsActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesAiBotsActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesAiBotsAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesAiBotsActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesAiBotsAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesAiBotsAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesAiBotsAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesAiBotsActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesBotProtectionAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesBotProtectionAction.g.cs
new file mode 100644
index 00000000..67968d25
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesBotProtectionAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesBotProtectionActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesBotProtectionAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesBotProtectionActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesBotProtectionAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesBotProtectionAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesBotProtectionAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesBotProtectionActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesBotProtectionActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesBotProtectionActionNullable.g.cs
new file mode 100644
index 00000000..39172701
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesBotProtectionActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesBotProtectionActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesBotProtectionAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesBotProtectionActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesBotProtectionAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesBotProtectionAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesBotProtectionAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesBotProtectionActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesOwaspAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesOwaspAction.g.cs
new file mode 100644
index 00000000..e7e59243
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesOwaspAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesOwaspActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesOwaspAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesOwaspActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesOwaspAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesOwaspAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesOwaspAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesOwaspActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesOwaspActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesOwaspActionNullable.g.cs
new file mode 100644
index 00000000..72731d74
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesOwaspActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesOwaspActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesOwaspAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesOwaspActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesOwaspAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesOwaspAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesOwaspAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesOwaspActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesTrafficSourcesAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesTrafficSourcesAction.g.cs
new file mode 100644
index 00000000..28f5e883
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesTrafficSourcesAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesTrafficSourcesActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesTrafficSourcesAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesTrafficSourcesActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesTrafficSourcesAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesTrafficSourcesAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesTrafficSourcesAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesTrafficSourcesActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesTrafficSourcesActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesTrafficSourcesActionNullable.g.cs
new file mode 100644
index 00000000..161b018d
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesTrafficSourcesActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesTrafficSourcesActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesTrafficSourcesAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesTrafficSourcesActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesTrafficSourcesAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesTrafficSourcesAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesTrafficSourcesAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesTrafficSourcesActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesVercelRulesetAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesVercelRulesetAction.g.cs
new file mode 100644
index 00000000..76cc0bd9
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesVercelRulesetAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesVercelRulesetActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesVercelRulesetAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesVercelRulesetActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesVercelRulesetAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesVercelRulesetAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesVercelRulesetAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesVercelRulesetActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesVercelRulesetActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesVercelRulesetActionNullable.g.cs
new file mode 100644
index 00000000..fd008983
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesVercelRulesetActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesVercelRulesetActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesVercelRulesetAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesVercelRulesetActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesVercelRulesetAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesVercelRulesetAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesVercelRulesetAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseManagedRulesVercelRulesetActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateAction.g.cs
new file mode 100644
index 00000000..e5a0b400
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateActionNullable.g.cs
new file mode 100644
index 00000000..5786029c
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateLogHeaders.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateLogHeaders.g.cs
new file mode 100644
index 00000000..dc8a4d17
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateLogHeaders.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateLogHeadersJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateLogHeaders Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateLogHeadersExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateLogHeaders);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateLogHeaders value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateLogHeadersExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateLogHeadersNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateLogHeadersNullable.g.cs
new file mode 100644
index 00000000..b4d12724
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateLogHeadersNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateLogHeadersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateLogHeaders? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateLogHeadersExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateLogHeaders?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateLogHeaders? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateLogHeadersExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAction.g.cs
new file mode 100644
index 00000000..ab88b819
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitActionNullable.g.cs
new file mode 100644
index 00000000..2b48998f
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAlgo.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAlgo.g.cs
new file mode 100644
index 00000000..217b378c
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAlgo.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAlgoJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAlgo Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAlgoExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAlgo)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAlgo);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAlgo value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAlgoExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAlgoNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAlgoNullable.g.cs
new file mode 100644
index 00000000..8ec754e6
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAlgoNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAlgoNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAlgo? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAlgoExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAlgo)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAlgo?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAlgo? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ActionMitigateRateLimitAlgoExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionOp.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionOp.g.cs
new file mode 100644
index 00000000..d3110fab
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionOp.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionOpJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionOp Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionOpExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionOp)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionOp);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionOp value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionOpExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionOpNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionOpNullable.g.cs
new file mode 100644
index 00000000..6852ace8
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionOpNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionOpNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionOp? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionOpExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionOp)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionOp?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionOp? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionOpExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionType.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionType.g.cs
new file mode 100644
index 00000000..c992e057
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionType.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionType Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionTypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionType);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionType value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionTypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionTypeNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionTypeNullable.g.cs
new file mode 100644
index 00000000..ec478a5d
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionTypeNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionType? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionTypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionType?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionType? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant1ConditionGroupItemConditionTypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateAction.g.cs
new file mode 100644
index 00000000..37a162a2
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateActionNullable.g.cs
new file mode 100644
index 00000000..de3d59b3
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateLogHeaders.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateLogHeaders.g.cs
new file mode 100644
index 00000000..0b4e4985
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateLogHeaders.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateLogHeadersJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateLogHeaders Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateLogHeadersExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateLogHeaders);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateLogHeaders value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateLogHeadersExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateLogHeadersNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateLogHeadersNullable.g.cs
new file mode 100644
index 00000000..7003d251
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateLogHeadersNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateLogHeadersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateLogHeaders? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateLogHeadersExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateLogHeaders?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateLogHeaders? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateLogHeadersExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAction.g.cs
new file mode 100644
index 00000000..d8d7ae3d
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitActionNullable.g.cs
new file mode 100644
index 00000000..1c59a162
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAlgo.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAlgo.g.cs
new file mode 100644
index 00000000..f602c035
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAlgo.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAlgoJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAlgo Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAlgoExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAlgo)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAlgo);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAlgo value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAlgoExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAlgoNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAlgoNullable.g.cs
new file mode 100644
index 00000000..9adde8b3
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAlgoNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAlgoNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAlgo? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAlgoExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAlgo)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAlgo?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAlgo? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ActionMitigateRateLimitAlgoExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionOp.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionOp.g.cs
new file mode 100644
index 00000000..18a4c9f0
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionOp.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionOpJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionOp Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionOpExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionOp)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionOp);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionOp value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionOpExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionOpNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionOpNullable.g.cs
new file mode 100644
index 00000000..c83723fa
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionOpNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionOpNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionOp? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionOpExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionOp)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionOp?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionOp? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionOpExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionType.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionType.g.cs
new file mode 100644
index 00000000..d4064fec
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionType.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionType Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionTypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionType);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionType value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionTypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionTypeNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionTypeNullable.g.cs
new file mode 100644
index 00000000..eaad5476
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionTypeNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionType? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionTypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionType?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionType? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRuleVariant2ConditionGroupItemConditionTypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateAction.g.cs
new file mode 100644
index 00000000..b205e927
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateActionNullable.g.cs
new file mode 100644
index 00000000..1fdf4b53
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateLogHeaders.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateLogHeaders.g.cs
new file mode 100644
index 00000000..5357718b
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateLogHeaders.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateLogHeadersJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateLogHeaders Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateLogHeadersExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateLogHeaders);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateLogHeaders value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateLogHeadersExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateLogHeadersNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateLogHeadersNullable.g.cs
new file mode 100644
index 00000000..8d4bfe59
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateLogHeadersNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateLogHeadersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateLogHeaders? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateLogHeadersExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateLogHeaders?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateLogHeaders? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateLogHeadersExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAction.g.cs
new file mode 100644
index 00000000..8646679c
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitActionNullable.g.cs
new file mode 100644
index 00000000..8c9ead77
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAlgo.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAlgo.g.cs
new file mode 100644
index 00000000..cc9c77f3
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAlgo.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAlgoJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAlgo Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAlgoExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAlgo)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAlgo);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAlgo value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAlgoExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAlgoNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAlgoNullable.g.cs
new file mode 100644
index 00000000..4b873d86
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAlgoNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAlgoNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAlgo? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAlgoExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAlgo)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAlgo?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAlgo? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetActionMitigateRateLimitAlgoExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionOp.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionOp.g.cs
new file mode 100644
index 00000000..acc90d13
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionOp.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionOpJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionOp Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionOpExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionOp)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionOp);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionOp value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionOpExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionOpNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionOpNullable.g.cs
new file mode 100644
index 00000000..771b9e70
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionOpNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionOpNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionOp? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionOpExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionOp)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionOp?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionOp? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionOpExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionType.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionType.g.cs
new file mode 100644
index 00000000..8b8d03e4
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionType.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionType Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionTypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionType);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionType value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionTypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionTypeNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionTypeNullable.g.cs
new file mode 100644
index 00000000..81955b2c
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionTypeNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionType? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionTypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionType?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionType? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetConditionGroupItemConditionTypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsAction.g.cs
new file mode 100644
index 00000000..cefa42ca
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsActionNullable.g.cs
new file mode 100644
index 00000000..712d21fa
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsLogHeaders.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsLogHeaders.g.cs
new file mode 100644
index 00000000..e3dfbfae
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsLogHeaders.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsLogHeadersJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsLogHeaders Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsLogHeadersExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsLogHeaders);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsLogHeaders value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsLogHeadersExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsLogHeadersNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsLogHeadersNullable.g.cs
new file mode 100644
index 00000000..fb2e221e
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsLogHeadersNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsLogHeadersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsLogHeaders? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsLogHeadersExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsLogHeaders?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsLogHeaders? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsLogHeadersExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAction.g.cs
new file mode 100644
index 00000000..e9ce2fda
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitActionNullable.g.cs
new file mode 100644
index 00000000..db78a2b5
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAlgo.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAlgo.g.cs
new file mode 100644
index 00000000..bfa7d3a4
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAlgo.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAlgoJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAlgo Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAlgoExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAlgo)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAlgo);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAlgo value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAlgoExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAlgoNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAlgoNullable.g.cs
new file mode 100644
index 00000000..248841b2
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAlgoNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAlgoNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAlgo? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAlgoExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAlgo)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAlgo?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAlgo? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.CreateSecurityFirewallConfigByConfigVersionActivateResponseRulesetsRateLimitAlgoExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.DeleteSecurityFirewallConfigByConfigVersionResponse.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.DeleteSecurityFirewallConfigByConfigVersionResponse.g.cs
new file mode 100644
index 00000000..98dd3551
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.DeleteSecurityFirewallConfigByConfigVersionResponse.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class DeleteSecurityFirewallConfigByConfigVersionResponseJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.DeleteSecurityFirewallConfigByConfigVersionResponse Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.DeleteSecurityFirewallConfigByConfigVersionResponseExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.DeleteSecurityFirewallConfigByConfigVersionResponse)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.DeleteSecurityFirewallConfigByConfigVersionResponse);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.DeleteSecurityFirewallConfigByConfigVersionResponse value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.DeleteSecurityFirewallConfigByConfigVersionResponseExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.DeleteSecurityFirewallConfigByConfigVersionResponseNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.DeleteSecurityFirewallConfigByConfigVersionResponseNullable.g.cs
new file mode 100644
index 00000000..7dacf929
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.DeleteSecurityFirewallConfigByConfigVersionResponseNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class DeleteSecurityFirewallConfigByConfigVersionResponseNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.DeleteSecurityFirewallConfigByConfigVersionResponse? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.DeleteSecurityFirewallConfigByConfigVersionResponseExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.DeleteSecurityFirewallConfigByConfigVersionResponse)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.DeleteSecurityFirewallConfigByConfigVersionResponse?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.DeleteSecurityFirewallConfigByConfigVersionResponse? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.DeleteSecurityFirewallConfigByConfigVersionResponseExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetDomainsRecordsByRecordIdResponseRecordType.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetDomainsRecordsByRecordIdResponseRecordType.g.cs
new file mode 100644
index 00000000..955d8f55
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetDomainsRecordsByRecordIdResponseRecordType.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetDomainsRecordsByRecordIdResponseRecordTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetDomainsRecordsByRecordIdResponseRecordType Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetDomainsRecordsByRecordIdResponseRecordTypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetDomainsRecordsByRecordIdResponseRecordType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetDomainsRecordsByRecordIdResponseRecordType);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetDomainsRecordsByRecordIdResponseRecordType value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetDomainsRecordsByRecordIdResponseRecordTypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetDomainsRecordsByRecordIdResponseRecordTypeNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetDomainsRecordsByRecordIdResponseRecordTypeNullable.g.cs
new file mode 100644
index 00000000..45ea5e44
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetDomainsRecordsByRecordIdResponseRecordTypeNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetDomainsRecordsByRecordIdResponseRecordTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetDomainsRecordsByRecordIdResponseRecordType? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetDomainsRecordsByRecordIdResponseRecordTypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetDomainsRecordsByRecordIdResponseRecordType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetDomainsRecordsByRecordIdResponseRecordType?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetDomainsRecordsByRecordIdResponseRecordType? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetDomainsRecordsByRecordIdResponseRecordTypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetDomainsRecordsByRecordIdResponseType.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetDomainsRecordsByRecordIdResponseType.g.cs
new file mode 100644
index 00000000..8aeeb975
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetDomainsRecordsByRecordIdResponseType.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetDomainsRecordsByRecordIdResponseTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetDomainsRecordsByRecordIdResponseType Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetDomainsRecordsByRecordIdResponseTypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetDomainsRecordsByRecordIdResponseType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetDomainsRecordsByRecordIdResponseType);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetDomainsRecordsByRecordIdResponseType value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetDomainsRecordsByRecordIdResponseTypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetDomainsRecordsByRecordIdResponseTypeNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetDomainsRecordsByRecordIdResponseTypeNullable.g.cs
new file mode 100644
index 00000000..d7c8f9d0
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetDomainsRecordsByRecordIdResponseTypeNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetDomainsRecordsByRecordIdResponseTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetDomainsRecordsByRecordIdResponseType? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetDomainsRecordsByRecordIdResponseTypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetDomainsRecordsByRecordIdResponseType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetDomainsRecordsByRecordIdResponseType?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetDomainsRecordsByRecordIdResponseType? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetDomainsRecordsByRecordIdResponseTypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsGenAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsGenAction.g.cs
new file mode 100644
index 00000000..bfbf5d34
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsGenAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsGenActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsGenAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsGenActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsGenAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsGenAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsGenAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsGenActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsGenActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsGenActionNullable.g.cs
new file mode 100644
index 00000000..15a47fcb
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsGenActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsGenActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsGenAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsGenActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsGenAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsGenAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsGenAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsGenActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsJavaAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsJavaAction.g.cs
new file mode 100644
index 00000000..38368a61
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsJavaAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsJavaActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsJavaAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsJavaActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsJavaAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsJavaAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsJavaAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsJavaActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsJavaActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsJavaActionNullable.g.cs
new file mode 100644
index 00000000..d55aaddf
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsJavaActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsJavaActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsJavaAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsJavaActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsJavaAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsJavaAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsJavaAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsJavaActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsLfiAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsLfiAction.g.cs
new file mode 100644
index 00000000..253563d8
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsLfiAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsLfiActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsLfiAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsLfiActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsLfiAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsLfiAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsLfiAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsLfiActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsLfiActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsLfiActionNullable.g.cs
new file mode 100644
index 00000000..95b6b6fc
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsLfiActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsLfiActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsLfiAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsLfiActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsLfiAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsLfiAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsLfiAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsLfiActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsMaAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsMaAction.g.cs
new file mode 100644
index 00000000..3919a3ac
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsMaAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsMaActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsMaAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsMaActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsMaAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsMaAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsMaAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsMaActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsMaActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsMaActionNullable.g.cs
new file mode 100644
index 00000000..e443c979
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsMaActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsMaActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsMaAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsMaActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsMaAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsMaAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsMaAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsMaActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsPhpAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsPhpAction.g.cs
new file mode 100644
index 00000000..56662ad3
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsPhpAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsPhpActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsPhpAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsPhpActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsPhpAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsPhpAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsPhpAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsPhpActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsPhpActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsPhpActionNullable.g.cs
new file mode 100644
index 00000000..65eafe3f
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsPhpActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsPhpActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsPhpAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsPhpActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsPhpAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsPhpAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsPhpAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsPhpActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsRceAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsRceAction.g.cs
new file mode 100644
index 00000000..fa067c02
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsRceAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsRceActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRceAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRceActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRceAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRceAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRceAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRceActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsRceActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsRceActionNullable.g.cs
new file mode 100644
index 00000000..dbecece7
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsRceActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsRceActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRceAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRceActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRceAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRceAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRceAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRceActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsRfiAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsRfiAction.g.cs
new file mode 100644
index 00000000..0916450d
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsRfiAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsRfiActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRfiAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRfiActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRfiAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRfiAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRfiAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRfiActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsRfiActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsRfiActionNullable.g.cs
new file mode 100644
index 00000000..59821729
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsRfiActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsRfiActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRfiAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRfiActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRfiAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRfiAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRfiAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsRfiActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsSdAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsSdAction.g.cs
new file mode 100644
index 00000000..5bea9808
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsSdAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsSdActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSdAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSdActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSdAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSdAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSdAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSdActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsSdActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsSdActionNullable.g.cs
new file mode 100644
index 00000000..6bf39977
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsSdActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsSdActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSdAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSdActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSdAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSdAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSdAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSdActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsSfAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsSfAction.g.cs
new file mode 100644
index 00000000..a0c5d68f
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsSfAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsSfActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSfAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSfActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSfAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSfAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSfAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSfActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsSfActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsSfActionNullable.g.cs
new file mode 100644
index 00000000..757401c8
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsSfActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsSfActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSfAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSfActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSfAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSfAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSfAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSfActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsSqliAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsSqliAction.g.cs
new file mode 100644
index 00000000..e9903220
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsSqliAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsSqliActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSqliAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSqliActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSqliAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSqliAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSqliAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSqliActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsSqliActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsSqliActionNullable.g.cs
new file mode 100644
index 00000000..8caa430a
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsSqliActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsSqliActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSqliAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSqliActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSqliAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSqliAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSqliAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsSqliActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsXssAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsXssAction.g.cs
new file mode 100644
index 00000000..bfae7437
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsXssAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsXssActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsXssAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsXssActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsXssAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsXssAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsXssAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsXssActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsXssActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsXssActionNullable.g.cs
new file mode 100644
index 00000000..0d3045f8
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveCrsXssActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveCrsXssActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveCrsXssAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveCrsXssActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveCrsXssAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsXssAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveCrsXssAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveCrsXssActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveIpAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveIpAction.g.cs
new file mode 100644
index 00000000..02014558
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveIpAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveIpActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveIpAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveIpActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveIpAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveIpAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveIpAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveIpActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveIpActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveIpActionNullable.g.cs
new file mode 100644
index 00000000..05a31f4a
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveIpActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveIpActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveIpAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveIpActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveIpAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveIpAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveIpAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveIpActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveLogHeaders.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveLogHeaders.g.cs
new file mode 100644
index 00000000..ff8082ea
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveLogHeaders.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveLogHeadersJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveLogHeaders Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveLogHeadersExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveLogHeaders);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveLogHeaders value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveLogHeadersExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveLogHeadersNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveLogHeadersNullable.g.cs
new file mode 100644
index 00000000..84fd37fe
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveLogHeadersNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveLogHeadersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveLogHeaders? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveLogHeadersExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveLogHeaders?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveLogHeaders? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveLogHeadersExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesAiBotsAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesAiBotsAction.g.cs
new file mode 100644
index 00000000..cf78491f
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesAiBotsAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveManagedRulesAiBotsActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesAiBotsAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesAiBotsActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesAiBotsAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesAiBotsAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesAiBotsAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesAiBotsActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesAiBotsActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesAiBotsActionNullable.g.cs
new file mode 100644
index 00000000..85bda0b8
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesAiBotsActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveManagedRulesAiBotsActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesAiBotsAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesAiBotsActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesAiBotsAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesAiBotsAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesAiBotsAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesAiBotsActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesBotProtectionAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesBotProtectionAction.g.cs
new file mode 100644
index 00000000..c5b22044
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesBotProtectionAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveManagedRulesBotProtectionActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesBotProtectionAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesBotProtectionActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesBotProtectionAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesBotProtectionAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesBotProtectionAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesBotProtectionActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesBotProtectionActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesBotProtectionActionNullable.g.cs
new file mode 100644
index 00000000..d7ab6d1d
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesBotProtectionActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveManagedRulesBotProtectionActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesBotProtectionAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesBotProtectionActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesBotProtectionAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesBotProtectionAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesBotProtectionAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesBotProtectionActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesOwaspAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesOwaspAction.g.cs
new file mode 100644
index 00000000..0937be86
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesOwaspAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveManagedRulesOwaspActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesOwaspAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesOwaspActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesOwaspAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesOwaspAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesOwaspAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesOwaspActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesOwaspActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesOwaspActionNullable.g.cs
new file mode 100644
index 00000000..b76e6f31
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesOwaspActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveManagedRulesOwaspActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesOwaspAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesOwaspActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesOwaspAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesOwaspAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesOwaspAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesOwaspActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesTrafficSourcesAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesTrafficSourcesAction.g.cs
new file mode 100644
index 00000000..2570fec5
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesTrafficSourcesAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveManagedRulesTrafficSourcesActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesTrafficSourcesAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesTrafficSourcesActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesTrafficSourcesAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesTrafficSourcesAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesTrafficSourcesAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesTrafficSourcesActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesTrafficSourcesActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesTrafficSourcesActionNullable.g.cs
new file mode 100644
index 00000000..63e8ae89
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesTrafficSourcesActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveManagedRulesTrafficSourcesActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesTrafficSourcesAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesTrafficSourcesActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesTrafficSourcesAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesTrafficSourcesAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesTrafficSourcesAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesTrafficSourcesActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesVercelRulesetAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesVercelRulesetAction.g.cs
new file mode 100644
index 00000000..8c2a517d
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesVercelRulesetAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveManagedRulesVercelRulesetActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesVercelRulesetAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesVercelRulesetActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesVercelRulesetAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesVercelRulesetAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesVercelRulesetAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesVercelRulesetActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesVercelRulesetActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesVercelRulesetActionNullable.g.cs
new file mode 100644
index 00000000..11cee16e
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveManagedRulesVercelRulesetActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveManagedRulesVercelRulesetActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesVercelRulesetAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesVercelRulesetActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesVercelRulesetAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesVercelRulesetAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesVercelRulesetAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveManagedRulesVercelRulesetActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateAction.g.cs
new file mode 100644
index 00000000..48036eb8
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateActionNullable.g.cs
new file mode 100644
index 00000000..20173826
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders.g.cs
new file mode 100644
index 00000000..f88a785d
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeadersJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeadersExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeadersExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeadersNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeadersNullable.g.cs
new file mode 100644
index 00000000..8619d49f
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeadersNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeadersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeadersExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeaders? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateLogHeadersExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAction.g.cs
new file mode 100644
index 00000000..c0f93688
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitActionNullable.g.cs
new file mode 100644
index 00000000..215ed577
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAlgo.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAlgo.g.cs
new file mode 100644
index 00000000..93bd85f4
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAlgo.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAlgoJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAlgo Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAlgoExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAlgo)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAlgo);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAlgo value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAlgoExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAlgoNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAlgoNullable.g.cs
new file mode 100644
index 00000000..81ac7cf4
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAlgoNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAlgoNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAlgo? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAlgoExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAlgo)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAlgo?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAlgo? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ActionMitigateRateLimitAlgoExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionOp.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionOp.g.cs
new file mode 100644
index 00000000..a79b04f0
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionOp.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionOpJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionOp Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionOpExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionOp)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionOp);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionOp value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionOpExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionOpNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionOpNullable.g.cs
new file mode 100644
index 00000000..9d7daeda
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionOpNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionOpNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionOp? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionOpExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionOp)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionOp?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionOp? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionOpExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionType.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionType.g.cs
new file mode 100644
index 00000000..321be35d
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionType.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionType Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionTypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionType);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionType value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionTypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionTypeNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionTypeNullable.g.cs
new file mode 100644
index 00000000..76c0716b
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionTypeNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionType? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionTypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionType?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionType? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant1ConditionGroupItemConditionTypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateAction.g.cs
new file mode 100644
index 00000000..47d142c7
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateActionNullable.g.cs
new file mode 100644
index 00000000..5c9ed770
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateLogHeaders.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateLogHeaders.g.cs
new file mode 100644
index 00000000..a1dd5dc4
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateLogHeaders.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateLogHeadersJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateLogHeaders Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateLogHeadersExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateLogHeaders);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateLogHeaders value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateLogHeadersExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateLogHeadersNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateLogHeadersNullable.g.cs
new file mode 100644
index 00000000..0f9bfd6c
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateLogHeadersNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateLogHeadersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateLogHeaders? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateLogHeadersExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateLogHeaders?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateLogHeaders? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateLogHeadersExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAction.g.cs
new file mode 100644
index 00000000..b7c81067
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitActionNullable.g.cs
new file mode 100644
index 00000000..417eb57a
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAlgo.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAlgo.g.cs
new file mode 100644
index 00000000..11194704
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAlgo.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAlgoJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAlgo Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAlgoExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAlgo)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAlgo);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAlgo value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAlgoExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAlgoNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAlgoNullable.g.cs
new file mode 100644
index 00000000..4311d571
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAlgoNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAlgoNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAlgo? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAlgoExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAlgo)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAlgo?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAlgo? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ActionMitigateRateLimitAlgoExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionOp.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionOp.g.cs
new file mode 100644
index 00000000..62728517
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionOp.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionOpJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionOp Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionOpExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionOp)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionOp);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionOp value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionOpExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionOpNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionOpNullable.g.cs
new file mode 100644
index 00000000..635e8b9a
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionOpNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionOpNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionOp? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionOpExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionOp)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionOp?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionOp? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionOpExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionType.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionType.g.cs
new file mode 100644
index 00000000..ad1ebe44
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionType.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionType Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionTypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionType);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionType value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionTypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionTypeNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionTypeNullable.g.cs
new file mode 100644
index 00000000..6e190cc1
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionTypeNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionType? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionTypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionType?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionType? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRuleVariant2ConditionGroupItemConditionTypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateAction.g.cs
new file mode 100644
index 00000000..084fa6f2
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRulesetActionMitigateActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateActionNullable.g.cs
new file mode 100644
index 00000000..f7d1c3ec
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRulesetActionMitigateActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateLogHeaders.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateLogHeaders.g.cs
new file mode 100644
index 00000000..ab8167e1
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateLogHeaders.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRulesetActionMitigateLogHeadersJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateLogHeaders Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateLogHeadersExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateLogHeaders);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateLogHeaders value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateLogHeadersExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateLogHeadersNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateLogHeadersNullable.g.cs
new file mode 100644
index 00000000..6b1168ca
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateLogHeadersNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRulesetActionMitigateLogHeadersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateLogHeaders? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateLogHeadersExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateLogHeaders?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateLogHeaders? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateLogHeadersExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAction.g.cs
new file mode 100644
index 00000000..e695af66
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitActionNullable.g.cs
new file mode 100644
index 00000000..de957b70
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAlgo.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAlgo.g.cs
new file mode 100644
index 00000000..39b09520
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAlgo.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAlgoJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAlgo Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAlgoExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAlgo)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAlgo);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAlgo value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAlgoExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAlgoNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAlgoNullable.g.cs
new file mode 100644
index 00000000..5464c69d
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAlgoNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAlgoNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAlgo? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAlgoExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAlgo)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAlgo?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAlgo? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetActionMitigateRateLimitAlgoExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionOp.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionOp.g.cs
new file mode 100644
index 00000000..2434d88f
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionOp.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionOpJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionOp Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionOpExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionOp)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionOp);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionOp value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionOpExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionOpNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionOpNullable.g.cs
new file mode 100644
index 00000000..b0038dd7
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionOpNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionOpNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionOp? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionOpExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionOp)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionOp?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionOp? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionOpExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionType.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionType.g.cs
new file mode 100644
index 00000000..1052b5b2
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionType.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionType Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionTypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionType);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionType value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionTypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionTypeNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionTypeNullable.g.cs
new file mode 100644
index 00000000..12d4d8c1
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionTypeNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionType? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionTypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionType)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionType?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionType? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetConditionGroupItemConditionTypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsAction.g.cs
new file mode 100644
index 00000000..05c1c1c7
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRulesetsActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsActionNullable.g.cs
new file mode 100644
index 00000000..99809f08
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRulesetsActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsLogHeaders.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsLogHeaders.g.cs
new file mode 100644
index 00000000..82fea7a4
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsLogHeaders.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRulesetsLogHeadersJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsLogHeaders Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsLogHeadersExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsLogHeaders);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsLogHeaders value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsLogHeadersExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsLogHeadersNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsLogHeadersNullable.g.cs
new file mode 100644
index 00000000..a1a6ae53
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsLogHeadersNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRulesetsLogHeadersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsLogHeaders? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsLogHeadersExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsLogHeaders?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsLogHeaders? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsLogHeadersExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAction.g.cs
new file mode 100644
index 00000000..20ae7604
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRulesetsRateLimitActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitActionNullable.g.cs
new file mode 100644
index 00000000..7150bf16
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRulesetsRateLimitActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAlgo.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAlgo.g.cs
new file mode 100644
index 00000000..29427021
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAlgo.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAlgoJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAlgo Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAlgoExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAlgo)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAlgo);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAlgo value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAlgoExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAlgoNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAlgoNullable.g.cs
new file mode 100644
index 00000000..02cb138e
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAlgoNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAlgoNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAlgo? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAlgoExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAlgo)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAlgo?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAlgo? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseActiveRulesetsRateLimitAlgoExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsGenAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsGenAction.g.cs
new file mode 100644
index 00000000..4f08e55a
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsGenAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsGenActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsGenAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsGenActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsGenAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsGenAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsGenAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsGenActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsGenActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsGenActionNullable.g.cs
new file mode 100644
index 00000000..b115c34a
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsGenActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsGenActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsGenAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsGenActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsGenAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsGenAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsGenAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsGenActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsJavaAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsJavaAction.g.cs
new file mode 100644
index 00000000..6b4ae211
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsJavaAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsJavaActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsJavaAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsJavaActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsJavaAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsJavaAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsJavaAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsJavaActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsJavaActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsJavaActionNullable.g.cs
new file mode 100644
index 00000000..fd76ab64
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsJavaActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsJavaActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsJavaAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsJavaActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsJavaAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsJavaAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsJavaAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsJavaActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsLfiAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsLfiAction.g.cs
new file mode 100644
index 00000000..230e2c37
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsLfiAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsLfiActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsLfiAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsLfiActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsLfiAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsLfiAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsLfiAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsLfiActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsLfiActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsLfiActionNullable.g.cs
new file mode 100644
index 00000000..fabaff34
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsLfiActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsLfiActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsLfiAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsLfiActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsLfiAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsLfiAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsLfiAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsLfiActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsMaAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsMaAction.g.cs
new file mode 100644
index 00000000..d5332c4a
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsMaAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsMaActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsMaAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsMaActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsMaAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsMaAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsMaAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsMaActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsMaActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsMaActionNullable.g.cs
new file mode 100644
index 00000000..af318ec2
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsMaActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsMaActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsMaAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsMaActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsMaAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsMaAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsMaAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsMaActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsPhpAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsPhpAction.g.cs
new file mode 100644
index 00000000..172e34fc
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsPhpAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsPhpActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsPhpAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsPhpActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsPhpAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsPhpAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsPhpAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsPhpActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsPhpActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsPhpActionNullable.g.cs
new file mode 100644
index 00000000..d593fd42
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsPhpActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsPhpActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsPhpAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsPhpActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsPhpAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsPhpAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsPhpAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsPhpActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsRceAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsRceAction.g.cs
new file mode 100644
index 00000000..eb8aa1f5
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsRceAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsRceActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRceAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRceActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRceAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRceAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRceAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRceActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsRceActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsRceActionNullable.g.cs
new file mode 100644
index 00000000..ed846f71
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsRceActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsRceActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRceAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRceActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRceAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRceAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRceAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRceActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsRfiAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsRfiAction.g.cs
new file mode 100644
index 00000000..6ad95af8
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsRfiAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsRfiActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRfiAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRfiActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRfiAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRfiAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRfiAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRfiActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsRfiActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsRfiActionNullable.g.cs
new file mode 100644
index 00000000..7accfc8c
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsRfiActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsRfiActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRfiAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRfiActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRfiAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRfiAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRfiAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsRfiActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsSdAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsSdAction.g.cs
new file mode 100644
index 00000000..f1ab546e
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsSdAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsSdActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSdAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSdActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSdAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSdAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSdAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSdActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsSdActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsSdActionNullable.g.cs
new file mode 100644
index 00000000..27101acc
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsSdActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsSdActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSdAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSdActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSdAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSdAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSdAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSdActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsSfAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsSfAction.g.cs
new file mode 100644
index 00000000..b84c134a
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsSfAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsSfActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSfAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSfActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSfAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSfAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSfAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSfActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsSfActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsSfActionNullable.g.cs
new file mode 100644
index 00000000..954bd1fc
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsSfActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsSfActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSfAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSfActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSfAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSfAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSfAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSfActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsSqliAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsSqliAction.g.cs
new file mode 100644
index 00000000..25925aba
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsSqliAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsSqliActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSqliAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSqliActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSqliAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSqliAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSqliAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSqliActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsSqliActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsSqliActionNullable.g.cs
new file mode 100644
index 00000000..1e106c54
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsSqliActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsSqliActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSqliAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSqliActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSqliAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSqliAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSqliAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsSqliActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsXssAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsXssAction.g.cs
new file mode 100644
index 00000000..e62fba9d
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsXssAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsXssActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsXssAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsXssActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsXssAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsXssAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsXssAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsXssActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsXssActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsXssActionNullable.g.cs
new file mode 100644
index 00000000..c3824c66
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftCrsXssActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftCrsXssActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftCrsXssAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftCrsXssActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftCrsXssAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsXssAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftCrsXssAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftCrsXssActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftIpAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftIpAction.g.cs
new file mode 100644
index 00000000..78644227
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftIpAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftIpActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftIpAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftIpActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftIpAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftIpAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftIpAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftIpActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftIpActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftIpActionNullable.g.cs
new file mode 100644
index 00000000..9a8d0d8c
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftIpActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftIpActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftIpAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftIpActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftIpAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftIpAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftIpAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftIpActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftLogHeaders.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftLogHeaders.g.cs
new file mode 100644
index 00000000..00c7ccad
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftLogHeaders.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftLogHeadersJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftLogHeaders Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftLogHeadersExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftLogHeaders);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftLogHeaders value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftLogHeadersExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftLogHeadersNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftLogHeadersNullable.g.cs
new file mode 100644
index 00000000..42763ebe
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftLogHeadersNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftLogHeadersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftLogHeaders? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftLogHeadersExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftLogHeaders)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftLogHeaders?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftLogHeaders? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftLogHeadersExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesAiBotsAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesAiBotsAction.g.cs
new file mode 100644
index 00000000..9b5a1068
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesAiBotsAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftManagedRulesAiBotsActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesAiBotsAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesAiBotsActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesAiBotsAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesAiBotsAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesAiBotsAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesAiBotsActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesAiBotsActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesAiBotsActionNullable.g.cs
new file mode 100644
index 00000000..43296407
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesAiBotsActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftManagedRulesAiBotsActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesAiBotsAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesAiBotsActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesAiBotsAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesAiBotsAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesAiBotsAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesAiBotsActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesBotProtectionAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesBotProtectionAction.g.cs
new file mode 100644
index 00000000..7c5a35b6
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesBotProtectionAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftManagedRulesBotProtectionActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesBotProtectionAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesBotProtectionActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesBotProtectionAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesBotProtectionAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesBotProtectionAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesBotProtectionActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesBotProtectionActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesBotProtectionActionNullable.g.cs
new file mode 100644
index 00000000..429f4b0e
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesBotProtectionActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftManagedRulesBotProtectionActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesBotProtectionAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesBotProtectionActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesBotProtectionAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesBotProtectionAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesBotProtectionAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesBotProtectionActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesOwaspAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesOwaspAction.g.cs
new file mode 100644
index 00000000..d2b8e7d2
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesOwaspAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftManagedRulesOwaspActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesOwaspAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesOwaspActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesOwaspAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesOwaspAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesOwaspAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesOwaspActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesOwaspActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesOwaspActionNullable.g.cs
new file mode 100644
index 00000000..4d01f029
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesOwaspActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftManagedRulesOwaspActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesOwaspAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesOwaspActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesOwaspAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesOwaspAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesOwaspAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesOwaspActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesTrafficSourcesAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesTrafficSourcesAction.g.cs
new file mode 100644
index 00000000..8d9c0c1b
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesTrafficSourcesAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftManagedRulesTrafficSourcesActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesTrafficSourcesAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesTrafficSourcesActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesTrafficSourcesAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesTrafficSourcesAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesTrafficSourcesAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesTrafficSourcesActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesTrafficSourcesActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesTrafficSourcesActionNullable.g.cs
new file mode 100644
index 00000000..49d74f90
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesTrafficSourcesActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftManagedRulesTrafficSourcesActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesTrafficSourcesAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesTrafficSourcesActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesTrafficSourcesAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesTrafficSourcesAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesTrafficSourcesAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesTrafficSourcesActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesVercelRulesetAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesVercelRulesetAction.g.cs
new file mode 100644
index 00000000..84c1efb6
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesVercelRulesetAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftManagedRulesVercelRulesetActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesVercelRulesetAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesVercelRulesetActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesVercelRulesetAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesVercelRulesetAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesVercelRulesetAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesVercelRulesetActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesVercelRulesetActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesVercelRulesetActionNullable.g.cs
new file mode 100644
index 00000000..63f114ce
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftManagedRulesVercelRulesetActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftManagedRulesVercelRulesetActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesVercelRulesetAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesVercelRulesetActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesVercelRulesetAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesVercelRulesetAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesVercelRulesetAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftManagedRulesVercelRulesetActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateAction.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateAction.g.cs
new file mode 100644
index 00000000..21810d0d
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateAction.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateAction Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateActionExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateAction);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateAction value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateActionExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateActionNullable.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateActionNullable.g.cs
new file mode 100644
index 00000000..4a0ae9fc
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateActionNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Vercel.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateAction? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Vercel.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateActionExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Vercel.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateAction)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Vercel.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateAction?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Vercel.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateAction? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Vercel.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateActionExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateLogHeaders.g.cs b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateLogHeaders.g.cs
new file mode 100644
index 00000000..36f9b4ac
--- /dev/null
+++ b/src/libs/Vercel/Generated/Vercel.JsonConverters.GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateLogHeaders.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Vercel.JsonConverters
+{
+ ///
+ public sealed class GetSecurityFirewallConfigResponseDraftRuleVariant1ActionMitigateLogHeadersJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///