Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,38 @@ partial void ProcessCreateAccessGroupResponseContent(
h => h.Key,
h => h.Value));
}
//
if ((int)__response.StatusCode == 410)
{
string? __content_410 = null;
global::System.Exception? __exception_410 = null;
try
{
if (__effectiveReadResponseAsString)
{
__content_410 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
}
else
{
__content_410 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
}
}
catch (global::System.Exception __ex)
{
__exception_410 = __ex;
}


throw global::Vercel.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_410 ?? __response.ReasonPhrase ?? string.Empty,
innerException: __exception_410,
responseBody: __content_410,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
__response.Headers,
h => h.Key,
h => h.Value));
}

if (__effectiveReadResponseAsString)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,38 @@ partial void ProcessCreateAccessGroupProjectResponseContent(
h => h.Key,
h => h.Value));
}
//
if ((int)__response.StatusCode == 410)
{
string? __content_410 = null;
global::System.Exception? __exception_410 = null;
try
{
if (__effectiveReadResponseAsString)
{
__content_410 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
}
else
{
__content_410 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
}
}
catch (global::System.Exception __ex)
{
__exception_410 = __ex;
}


throw global::Vercel.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_410 ?? __response.ReasonPhrase ?? string.Empty,
innerException: __exception_410,
responseBody: __content_410,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
__response.Headers,
h => h.Key,
h => h.Value));
}

if (__effectiveReadResponseAsString)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,38 @@ await DeleteAccessGroupAsResponseAsync(
h => h.Key,
h => h.Value));
}
//
if ((int)__response.StatusCode == 410)
{
string? __content_410 = null;
global::System.Exception? __exception_410 = null;
try
{
if (__effectiveReadResponseAsString)
{
__content_410 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
}
else
{
__content_410 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
}
}
catch (global::System.Exception __ex)
{
__exception_410 = __ex;
}


throw global::Vercel.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_410 ?? __response.ReasonPhrase ?? string.Empty,
innerException: __exception_410,
responseBody: __content_410,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
__response.Headers,
h => h.Key,
h => h.Value));
}

if (__effectiveReadResponseAsString)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,38 @@ await DeleteAccessGroupProjectAsResponseAsync(
h => h.Key,
h => h.Value));
}
//
if ((int)__response.StatusCode == 410)
{
string? __content_410 = null;
global::System.Exception? __exception_410 = null;
try
{
if (__effectiveReadResponseAsString)
{
__content_410 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
}
else
{
__content_410 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
}
}
catch (global::System.Exception __ex)
{
__exception_410 = __ex;
}


throw global::Vercel.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_410 ?? __response.ReasonPhrase ?? string.Empty,
innerException: __exception_410,
responseBody: __content_410,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
__response.Headers,
h => h.Key,
h => h.Value));
}

if (__effectiveReadResponseAsString)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,38 @@ partial void ProcessListAccessGroupMembersResponseContent(
h => h.Key,
h => h.Value));
}
//
if ((int)__response.StatusCode == 410)
{
string? __content_410 = null;
global::System.Exception? __exception_410 = null;
try
{
if (__effectiveReadResponseAsString)
{
__content_410 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
}
else
{
__content_410 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
}
}
catch (global::System.Exception __ex)
{
__exception_410 = __ex;
}


throw global::Vercel.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_410 ?? __response.ReasonPhrase ?? string.Empty,
innerException: __exception_410,
responseBody: __content_410,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
__response.Headers,
h => h.Key,
h => h.Value));
}

if (__effectiveReadResponseAsString)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,38 @@ partial void ProcessListAccessGroupProjectsResponseContent(
h => h.Key,
h => h.Value));
}
//
if ((int)__response.StatusCode == 410)
{
string? __content_410 = null;
global::System.Exception? __exception_410 = null;
try
{
if (__effectiveReadResponseAsString)
{
__content_410 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
}
else
{
__content_410 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
}
}
catch (global::System.Exception __ex)
{
__exception_410 = __ex;
}


throw global::Vercel.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_410 ?? __response.ReasonPhrase ?? string.Empty,
innerException: __exception_410,
responseBody: __content_410,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
__response.Headers,
h => h.Key,
h => h.Value));
}

if (__effectiveReadResponseAsString)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,38 @@ partial void ProcessListAccessGroupsResponseContent(
h => h.Key,
h => h.Value));
}
//
if ((int)__response.StatusCode == 410)
{
string? __content_410 = null;
global::System.Exception? __exception_410 = null;
try
{
if (__effectiveReadResponseAsString)
{
__content_410 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
}
else
{
__content_410 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
}
}
catch (global::System.Exception __ex)
{
__exception_410 = __ex;
}


throw global::Vercel.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_410 ?? __response.ReasonPhrase ?? string.Empty,
innerException: __exception_410,
responseBody: __content_410,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
__response.Headers,
h => h.Key,
h => h.Value));
}

if (__effectiveReadResponseAsString)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,38 @@ partial void ProcessReadAccessGroupResponseContent(
h => h.Key,
h => h.Value));
}
//
if ((int)__response.StatusCode == 410)
{
string? __content_410 = null;
global::System.Exception? __exception_410 = null;
try
{
if (__effectiveReadResponseAsString)
{
__content_410 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
}
else
{
__content_410 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
}
}
catch (global::System.Exception __ex)
{
__exception_410 = __ex;
}


throw global::Vercel.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_410 ?? __response.ReasonPhrase ?? string.Empty,
innerException: __exception_410,
responseBody: __content_410,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
__response.Headers,
h => h.Key,
h => h.Value));
}

if (__effectiveReadResponseAsString)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,38 @@ partial void ProcessReadAccessGroupProjectResponseContent(
h => h.Key,
h => h.Value));
}
//
if ((int)__response.StatusCode == 410)
{
string? __content_410 = null;
global::System.Exception? __exception_410 = null;
try
{
if (__effectiveReadResponseAsString)
{
__content_410 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
}
else
{
__content_410 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
}
}
catch (global::System.Exception __ex)
{
__exception_410 = __ex;
}


throw global::Vercel.ApiException.Create(
statusCode: __response.StatusCode,
message: __content_410 ?? __response.ReasonPhrase ?? string.Empty,
innerException: __exception_410,
responseBody: __content_410,
responseHeaders: global::System.Linq.Enumerable.ToDictionary(
__response.Headers,
h => h.Key,
h => h.Value));
}

if (__effectiveReadResponseAsString)
{
Expand Down
Loading