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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ partial void ProcessGetGuardHistoryResponseContent(
__response.EnsureSuccessStatusCode();

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::Guardrails.Call>), JsonSerializerContext) as global::System.Collections.Generic.IList<global::Guardrails.Call> ??
(global::System.Collections.Generic.IList<global::Guardrails.Call>?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::Guardrails.Call>), JsonSerializerContext) ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
catch (global::System.Exception __ex)
Expand Down Expand Up @@ -182,7 +182,7 @@ partial void ProcessGetGuardHistoryResponseContent(
).ConfigureAwait(false);

return
await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::Guardrails.Call>), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList<global::Guardrails.Call> ??
(global::System.Collections.Generic.IList<global::Guardrails.Call>?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::Guardrails.Call>), JsonSerializerContext).ConfigureAwait(false) ??
throw new global::System.InvalidOperationException("Response deserialization failed.");
}
catch (global::System.Exception __ex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ partial void ProcessGetGuardsResponseContent(
__response.EnsureSuccessStatusCode();

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::Guardrails.Guard>), JsonSerializerContext) as global::System.Collections.Generic.IList<global::Guardrails.Guard> ??
(global::System.Collections.Generic.IList<global::Guardrails.Guard>?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::Guardrails.Guard>), JsonSerializerContext) ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
catch (global::System.Exception __ex)
Expand Down Expand Up @@ -170,7 +170,7 @@ partial void ProcessGetGuardsResponseContent(
).ConfigureAwait(false);

return
await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::Guardrails.Guard>), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList<global::Guardrails.Guard> ??
(global::System.Collections.Generic.IList<global::Guardrails.Guard>?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::Guardrails.Guard>), JsonSerializerContext).ConfigureAwait(false) ??
throw new global::System.InvalidOperationException("Response deserialization failed.");
}
catch (global::System.Exception __ex)
Expand Down