diff --git a/src/libs/Presenton/Generated/Presenton.AnyOf.2.Json.g.cs b/src/libs/Presenton/Generated/Presenton.AnyOf.2.Json.g.cs
index 6ed860f..d12c48e 100644
--- a/src/libs/Presenton/Generated/Presenton.AnyOf.2.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.AnyOf.2.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AnyOf?;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AnyOf? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize>(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AnyOf?;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync?>(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.AnyOf.3.Json.g.cs b/src/libs/Presenton/Generated/Presenton.AnyOf.3.Json.g.cs
index 7cfb854..ef46d18 100644
--- a/src/libs/Presenton/Generated/Presenton.AnyOf.3.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.AnyOf.3.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AnyOf?;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AnyOf? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize>(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AnyOf?;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync?>(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.APIErrorModel.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.APIErrorModel.Json.g.cs
index db00370..21257d7 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.APIErrorModel.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.APIErrorModel.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.APIErrorModel;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.APIErrorModel? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.APIErrorModel;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.AccessToken.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.AccessToken.Json.g.cs
index afed71e..906b752 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.AccessToken.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.AccessToken.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AccessToken;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AccessToken? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AccessToken;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.AddDownloadHandlerApiV3DownloadsAddPostResponse.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.AddDownloadHandlerApiV3DownloadsAddPostResponse.Json.g.cs
index 3f6e247..92b4836 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.AddDownloadHandlerApiV3DownloadsAddPostResponse.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.AddDownloadHandlerApiV3DownloadsAddPostResponse.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AddDownloadHandlerApiV3DownloadsAddPostResponse;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AddDownloadHandlerApiV3DownloadsAddPostResponse? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AddDownloadHandlerApiV3DownloadsAddPostResponse;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModel.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModel.Json.g.cs
index 59b700c..daecc80 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModel.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModel.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AsyncDesignExtractionTaskModel;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AsyncDesignExtractionTaskModel? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AsyncDesignExtractionTaskModel;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModelData.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModelData.Json.g.cs
index c0026fe..72babda 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModelData.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModelData.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AsyncDesignExtractionTaskModelData;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AsyncDesignExtractionTaskModelData? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AsyncDesignExtractionTaskModelData;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModelData2.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModelData2.Json.g.cs
index 162f62f..f3bf009 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModelData2.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModelData2.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AsyncDesignExtractionTaskModelData2;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AsyncDesignExtractionTaskModelData2? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AsyncDesignExtractionTaskModelData2;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModelError.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModelError.Json.g.cs
index 61104a4..8a13155 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModelError.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModelError.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AsyncDesignExtractionTaskModelError;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AsyncDesignExtractionTaskModelError? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AsyncDesignExtractionTaskModelError;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModelError2.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModelError2.Json.g.cs
index 04184a8..a5b2218 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModelError2.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModelError2.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AsyncDesignExtractionTaskModelError2;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AsyncDesignExtractionTaskModelError2? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AsyncDesignExtractionTaskModelError2;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModelMessage.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModelMessage.Json.g.cs
index 074afb8..11f6ae0 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModelMessage.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.AsyncDesignExtractionTaskModelMessage.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AsyncDesignExtractionTaskModelMessage;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AsyncDesignExtractionTaskModelMessage? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AsyncDesignExtractionTaskModelMessage;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModel.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModel.Json.g.cs
index 2837ddc..0721617 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModel.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModel.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AsyncPresentationGenerationTaskModel;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AsyncPresentationGenerationTaskModel? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AsyncPresentationGenerationTaskModel;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModelData.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModelData.Json.g.cs
index 38984f7..67b3ea1 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModelData.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModelData.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AsyncPresentationGenerationTaskModelData;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AsyncPresentationGenerationTaskModelData? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AsyncPresentationGenerationTaskModelData;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModelData2.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModelData2.Json.g.cs
index 6eea0ec..9b2cd64 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModelData2.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModelData2.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AsyncPresentationGenerationTaskModelData2;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AsyncPresentationGenerationTaskModelData2? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AsyncPresentationGenerationTaskModelData2;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModelError.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModelError.Json.g.cs
index 9f92dc0..8556095 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModelError.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModelError.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AsyncPresentationGenerationTaskModelError;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AsyncPresentationGenerationTaskModelError? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AsyncPresentationGenerationTaskModelError;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModelError2.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModelError2.Json.g.cs
index d3a847b..0bbdcdb 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModelError2.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModelError2.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AsyncPresentationGenerationTaskModelError2;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AsyncPresentationGenerationTaskModelError2? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AsyncPresentationGenerationTaskModelError2;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModelMessage.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModelMessage.Json.g.cs
index 780b098..1620bef 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModelMessage.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.AsyncPresentationGenerationTaskModelMessage.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AsyncPresentationGenerationTaskModelMessage;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AsyncPresentationGenerationTaskModelMessage? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AsyncPresentationGenerationTaskModelMessage;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.AsyncTaskModel.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.AsyncTaskModel.Json.g.cs
index f41b0d3..b4bc847 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.AsyncTaskModel.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.AsyncTaskModel.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AsyncTaskModel;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AsyncTaskModel? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AsyncTaskModel;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.AsyncTaskModelData.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.AsyncTaskModelData.Json.g.cs
index 43d2eec..07a8892 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.AsyncTaskModelData.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.AsyncTaskModelData.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AsyncTaskModelData;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AsyncTaskModelData? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AsyncTaskModelData;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.AsyncTaskModelData2.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.AsyncTaskModelData2.Json.g.cs
index 3425577..4980eff 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.AsyncTaskModelData2.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.AsyncTaskModelData2.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AsyncTaskModelData2;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AsyncTaskModelData2? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AsyncTaskModelData2;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.AsyncTaskModelError.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.AsyncTaskModelError.Json.g.cs
index c93a803..33f507a 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.AsyncTaskModelError.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.AsyncTaskModelError.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AsyncTaskModelError;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AsyncTaskModelError? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AsyncTaskModelError;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.AsyncTaskModelError2.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.AsyncTaskModelError2.Json.g.cs
index 995a01c..13675e5 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.AsyncTaskModelError2.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.AsyncTaskModelError2.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AsyncTaskModelError2;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AsyncTaskModelError2? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AsyncTaskModelError2;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.AuthJwtLogoutApiV1AuthJwtLogoutPostResponse.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.AuthJwtLogoutApiV1AuthJwtLogoutPostResponse.Json.g.cs
index b1256c4..c1906c3 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.AuthJwtLogoutApiV1AuthJwtLogoutPostResponse.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.AuthJwtLogoutApiV1AuthJwtLogoutPostResponse.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.AuthJwtLogoutApiV1AuthJwtLogoutPostResponse;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.AuthJwtLogoutApiV1AuthJwtLogoutPostResponse? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.AuthJwtLogoutApiV1AuthJwtLogoutPostResponse;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BearerResponse.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BearerResponse.Json.g.cs
index bbc5691..5114131 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BearerResponse.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BearerResponse.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BearerResponse;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BearerResponse? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BearerResponse;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyAddCreditsApiV1DebugAddCreditsPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyAddCreditsApiV1DebugAddCreditsPost.Json.g.cs
index 71567c2..e30a17d 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyAddCreditsApiV1DebugAddCreditsPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyAddCreditsApiV1DebugAddCreditsPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyAddCreditsApiV1DebugAddCreditsPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyAddCreditsApiV1DebugAddCreditsPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyAddCreditsApiV1DebugAddCreditsPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyAddCreditsApiV1DebugAddCreditsPostTransactionDescription.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyAddCreditsApiV1DebugAddCreditsPostTransactionDescription.Json.g.cs
index 12ba5d8..bdfe139 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyAddCreditsApiV1DebugAddCreditsPostTransactionDescription.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyAddCreditsApiV1DebugAddCreditsPostTransactionDescription.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyAddCreditsApiV1DebugAddCreditsPostTransactionDescription;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyAddCreditsApiV1DebugAddCreditsPostTransactionDescription? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyAddCreditsApiV1DebugAddCreditsPostTransactionDescription;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyAddCreditsApiV1DebugAddCreditsPostTransactionName.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyAddCreditsApiV1DebugAddCreditsPostTransactionName.Json.g.cs
index 497372b..ec0df49 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyAddCreditsApiV1DebugAddCreditsPostTransactionName.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyAddCreditsApiV1DebugAddCreditsPostTransactionName.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyAddCreditsApiV1DebugAddCreditsPostTransactionName;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyAddCreditsApiV1DebugAddCreditsPostTransactionName? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyAddCreditsApiV1DebugAddCreditsPostTransactionName;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyAddSubscriptionApiV1DebugAddSubscriptionPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyAddSubscriptionApiV1DebugAddSubscriptionPost.Json.g.cs
index 0b5f2b7..a39bd25 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyAddSubscriptionApiV1DebugAddSubscriptionPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyAddSubscriptionApiV1DebugAddSubscriptionPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyAddSubscriptionApiV1DebugAddSubscriptionPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyAddSubscriptionApiV1DebugAddSubscriptionPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyAddSubscriptionApiV1DebugAddSubscriptionPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyAddUserApiV1DebugAddUserPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyAddUserApiV1DebugAddUserPost.Json.g.cs
index 6d912a3..2bf6793 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyAddUserApiV1DebugAddUserPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyAddUserApiV1DebugAddUserPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyAddUserApiV1DebugAddUserPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyAddUserApiV1DebugAddUserPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyAddUserApiV1DebugAddUserPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyAddUserApiV1DebugAddUserPostName.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyAddUserApiV1DebugAddUserPostName.Json.g.cs
index e585181..6d4cd64 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyAddUserApiV1DebugAddUserPostName.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyAddUserApiV1DebugAddUserPostName.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyAddUserApiV1DebugAddUserPostName;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyAddUserApiV1DebugAddUserPostName? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyAddUserApiV1DebugAddUserPostName;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyAuthJwtLoginApiV1AuthJwtLoginPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyAuthJwtLoginApiV1AuthJwtLoginPost.Json.g.cs
index e8eea0d..c7fa389 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyAuthJwtLoginApiV1AuthJwtLoginPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyAuthJwtLoginApiV1AuthJwtLoginPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyAuthJwtLoginApiV1AuthJwtLoginPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyAuthJwtLoginApiV1AuthJwtLoginPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyAuthJwtLoginApiV1AuthJwtLoginPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyAuthJwtLoginApiV1AuthJwtLoginPostClientId.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyAuthJwtLoginApiV1AuthJwtLoginPostClientId.Json.g.cs
index ee9086c..7ebb1c4 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyAuthJwtLoginApiV1AuthJwtLoginPostClientId.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyAuthJwtLoginApiV1AuthJwtLoginPostClientId.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyAuthJwtLoginApiV1AuthJwtLoginPostClientId;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyAuthJwtLoginApiV1AuthJwtLoginPostClientId? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyAuthJwtLoginApiV1AuthJwtLoginPostClientId;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyAuthJwtLoginApiV1AuthJwtLoginPostClientSecret.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyAuthJwtLoginApiV1AuthJwtLoginPostClientSecret.Json.g.cs
index 8a0df9a..10fa6dd 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyAuthJwtLoginApiV1AuthJwtLoginPostClientSecret.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyAuthJwtLoginApiV1AuthJwtLoginPostClientSecret.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyAuthJwtLoginApiV1AuthJwtLoginPostClientSecret;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyAuthJwtLoginApiV1AuthJwtLoginPostClientSecret? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyAuthJwtLoginApiV1AuthJwtLoginPostClientSecret;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyAuthJwtLoginApiV1AuthJwtLoginPostGrantType.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyAuthJwtLoginApiV1AuthJwtLoginPostGrantType.Json.g.cs
index 02c1b01..fd9cd56 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyAuthJwtLoginApiV1AuthJwtLoginPostGrantType.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyAuthJwtLoginApiV1AuthJwtLoginPostGrantType.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyAuthJwtLoginApiV1AuthJwtLoginPostGrantType;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyAuthJwtLoginApiV1AuthJwtLoginPostGrantType? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyAuthJwtLoginApiV1AuthJwtLoginPostGrantType;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyCheckCreditBalanceApiV1DebugCheckCreditBalancePost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyCheckCreditBalanceApiV1DebugCheckCreditBalancePost.Json.g.cs
index 6dc8cac..6dde215 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyCheckCreditBalanceApiV1DebugCheckCreditBalancePost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyCheckCreditBalanceApiV1DebugCheckCreditBalancePost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyCheckCreditBalanceApiV1DebugCheckCreditBalancePost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyCheckCreditBalanceApiV1DebugCheckCreditBalancePost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyCheckCreditBalanceApiV1DebugCheckCreditBalancePost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyCheckFontsInPptxHandlerApiV1PptFontsCheckPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyCheckFontsInPptxHandlerApiV1PptFontsCheckPost.Json.g.cs
index d2f0bca..d4b10d1 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyCheckFontsInPptxHandlerApiV1PptFontsCheckPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyCheckFontsInPptxHandlerApiV1PptFontsCheckPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyCheckFontsInPptxHandlerApiV1PptFontsCheckPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyCheckFontsInPptxHandlerApiV1PptFontsCheckPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyCheckFontsInPptxHandlerApiV1PptFontsCheckPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyCheckFontsInPptxHandlerApiV2PptFontsCheckPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyCheckFontsInPptxHandlerApiV2PptFontsCheckPost.Json.g.cs
index e47dc9e..e02d110 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyCheckFontsInPptxHandlerApiV2PptFontsCheckPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyCheckFontsInPptxHandlerApiV2PptFontsCheckPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyCheckFontsInPptxHandlerApiV2PptFontsCheckPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyCheckFontsInPptxHandlerApiV2PptFontsCheckPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyCheckFontsInPptxHandlerApiV2PptFontsCheckPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePortalSessionApiV1BillingPortalSessionPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePortalSessionApiV1BillingPortalSessionPost.Json.g.cs
index 644b6c2..9bc6f49 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePortalSessionApiV1BillingPortalSessionPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePortalSessionApiV1BillingPortalSessionPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyCreatePortalSessionApiV1BillingPortalSessionPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyCreatePortalSessionApiV1BillingPortalSessionPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyCreatePortalSessionApiV1BillingPortalSessionPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePost.Json.g.cs
index 47f510d..e7cd1e1 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyCreatePresentationApiV1PptPresentationCreatePost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyCreatePresentationApiV1PptPresentationCreatePost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyCreatePresentationApiV1PptPresentationCreatePost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePostContent.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePostContent.Json.g.cs
index c14555a..8fceb1f 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePostContent.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePostContent.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyCreatePresentationApiV1PptPresentationCreatePostContent;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyCreatePresentationApiV1PptPresentationCreatePostContent? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyCreatePresentationApiV1PptPresentationCreatePostContent;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePostFilePaths.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePostFilePaths.Json.g.cs
index a2af047..c9725a6 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePostFilePaths.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePostFilePaths.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyCreatePresentationApiV1PptPresentationCreatePostFilePaths;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyCreatePresentationApiV1PptPresentationCreatePostFilePaths? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyCreatePresentationApiV1PptPresentationCreatePostFilePaths;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePostInstructions.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePostInstructions.Json.g.cs
index a202ff7..cfab806 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePostInstructions.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePostInstructions.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyCreatePresentationApiV1PptPresentationCreatePostInstructions;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyCreatePresentationApiV1PptPresentationCreatePostInstructions? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyCreatePresentationApiV1PptPresentationCreatePostInstructions;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePostLanguage.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePostLanguage.Json.g.cs
index d7b2d87..068df59 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePostLanguage.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePostLanguage.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyCreatePresentationApiV1PptPresentationCreatePostLanguage;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyCreatePresentationApiV1PptPresentationCreatePostLanguage? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyCreatePresentationApiV1PptPresentationCreatePostLanguage;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePostNSlides.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePostNSlides.Json.g.cs
index d879204..a570fa1 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePostNSlides.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyCreatePresentationApiV1PptPresentationCreatePostNSlides.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyCreatePresentationApiV1PptPresentationCreatePostNSlides;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyCreatePresentationApiV1PptPresentationCreatePostNSlides? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyCreatePresentationApiV1PptPresentationCreatePostNSlides;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV1PptThemesCreatePost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV1PptThemesCreatePost.Json.g.cs
index 2b60f9c..16dba1b 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV1PptThemesCreatePost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV1PptThemesCreatePost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyCreateThemeApiV1PptThemesCreatePost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyCreateThemeApiV1PptThemesCreatePost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyCreateThemeApiV1PptThemesCreatePost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV1PptThemesCreatePostCompanyName.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV1PptThemesCreatePostCompanyName.Json.g.cs
index 81a0544..b8ba6fd 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV1PptThemesCreatePostCompanyName.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV1PptThemesCreatePostCompanyName.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyCreateThemeApiV1PptThemesCreatePostCompanyName;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyCreateThemeApiV1PptThemesCreatePostCompanyName? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyCreateThemeApiV1PptThemesCreatePostCompanyName;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV1PptThemesCreatePostLogo.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV1PptThemesCreatePostLogo.Json.g.cs
index 8889dde..e8620b2 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV1PptThemesCreatePostLogo.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV1PptThemesCreatePostLogo.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyCreateThemeApiV1PptThemesCreatePostLogo;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyCreateThemeApiV1PptThemesCreatePostLogo? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyCreateThemeApiV1PptThemesCreatePostLogo;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV3ThemeCreatePost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV3ThemeCreatePost.Json.g.cs
index 97c98ee..4e7736c 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV3ThemeCreatePost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV3ThemeCreatePost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyCreateThemeApiV3ThemeCreatePost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyCreateThemeApiV3ThemeCreatePost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyCreateThemeApiV3ThemeCreatePost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV3ThemeCreatePostCompanyName.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV3ThemeCreatePostCompanyName.Json.g.cs
index 8dd234c..ef361b6 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV3ThemeCreatePostCompanyName.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV3ThemeCreatePostCompanyName.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyCreateThemeApiV3ThemeCreatePostCompanyName;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyCreateThemeApiV3ThemeCreatePostCompanyName? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyCreateThemeApiV3ThemeCreatePostCompanyName;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV3ThemeCreatePostLogo.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV3ThemeCreatePostLogo.Json.g.cs
index e849eb7..e06d5be 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV3ThemeCreatePostLogo.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyCreateThemeApiV3ThemeCreatePostLogo.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyCreateThemeApiV3ThemeCreatePostLogo;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyCreateThemeApiV3ThemeCreatePostLogo? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyCreateThemeApiV3ThemeCreatePostLogo;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyDecomposeFilesApiV1PptFilesDecomposePost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyDecomposeFilesApiV1PptFilesDecomposePost.Json.g.cs
index a95d0db..efd0712 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyDecomposeFilesApiV1PptFilesDecomposePost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyDecomposeFilesApiV1PptFilesDecomposePost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyDecomposeFilesApiV1PptFilesDecomposePost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyDecomposeFilesApiV1PptFilesDecomposePost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyDecomposeFilesApiV1PptFilesDecomposePost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyDeleteUserApiV1DebugDeleteUserDelete.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyDeleteUserApiV1DebugDeleteUserDelete.Json.g.cs
index 23ee2f2..d84330c 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyDeleteUserApiV1DebugDeleteUserDelete.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyDeleteUserApiV1DebugDeleteUserDelete.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyDeleteUserApiV1DebugDeleteUserDelete;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyDeleteUserApiV1DebugDeleteUserDelete? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyDeleteUserApiV1DebugDeleteUserDelete;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyEditSlideHtmlApiV1PptSlideEditHtmlPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyEditSlideHtmlApiV1PptSlideEditHtmlPost.Json.g.cs
index e923fb6..d60d109 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyEditSlideHtmlApiV1PptSlideEditHtmlPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyEditSlideHtmlApiV1PptSlideEditHtmlPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyEditSlideHtmlApiV1PptSlideEditHtmlPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyEditSlideHtmlApiV1PptSlideEditHtmlPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyEditSlideHtmlApiV1PptSlideEditHtmlPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyEditSlideHtmlApiV1PptSlideEditHtmlPostHtml.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyEditSlideHtmlApiV1PptSlideEditHtmlPostHtml.Json.g.cs
index 59a782b..55878ab 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyEditSlideHtmlApiV1PptSlideEditHtmlPostHtml.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyEditSlideHtmlApiV1PptSlideEditHtmlPostHtml.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyEditSlideHtmlApiV1PptSlideEditHtmlPostHtml;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyEditSlideHtmlApiV1PptSlideEditHtmlPostHtml? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyEditSlideHtmlApiV1PptSlideEditHtmlPostHtml;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyEndSubscriptionApiV1DebugEndSubscriptionPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyEndSubscriptionApiV1DebugEndSubscriptionPost.Json.g.cs
index a8cecd6..2091f48 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyEndSubscriptionApiV1DebugEndSubscriptionPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyEndSubscriptionApiV1DebugEndSubscriptionPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyEndSubscriptionApiV1DebugEndSubscriptionPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyEndSubscriptionApiV1DebugEndSubscriptionPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyEndSubscriptionApiV1DebugEndSubscriptionPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyExportPresentationApiV1DebugExportPresentationPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyExportPresentationApiV1DebugExportPresentationPost.Json.g.cs
index 8b37003..8432a7c 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyExportPresentationApiV1DebugExportPresentationPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyExportPresentationApiV1DebugExportPresentationPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyExportPresentationApiV1DebugExportPresentationPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyExportPresentationApiV1DebugExportPresentationPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyExportPresentationApiV1DebugExportPresentationPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyExportPresentationAsPptxOrPdfV1ApiV1PptPresentationExportPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyExportPresentationAsPptxOrPdfV1ApiV1PptPresentationExportPost.Json.g.cs
index 322e844..b949bf2 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyExportPresentationAsPptxOrPdfV1ApiV1PptPresentationExportPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyExportPresentationAsPptxOrPdfV1ApiV1PptPresentationExportPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyExportPresentationAsPptxOrPdfV1ApiV1PptPresentationExportPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyExportPresentationAsPptxOrPdfV1ApiV1PptPresentationExportPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyExportPresentationAsPptxOrPdfV1ApiV1PptPresentationExportPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyExportPresentationAsPptxOrPdfV2ApiV2PptPresentationExportPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyExportPresentationAsPptxOrPdfV2ApiV2PptPresentationExportPost.Json.g.cs
index 09a683e..abcfd7c 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyExportPresentationAsPptxOrPdfV2ApiV2PptPresentationExportPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyExportPresentationAsPptxOrPdfV2ApiV2PptPresentationExportPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyExportPresentationAsPptxOrPdfV2ApiV2PptPresentationExportPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyExportPresentationAsPptxOrPdfV2ApiV2PptPresentationExportPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyExportPresentationAsPptxOrPdfV2ApiV2PptPresentationExportPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyExportPresentationAsPptxOrPdfV3ApiV3PresentationExportPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyExportPresentationAsPptxOrPdfV3ApiV3PresentationExportPost.Json.g.cs
index 4ac90e0..6107535 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyExportPresentationAsPptxOrPdfV3ApiV3PresentationExportPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyExportPresentationAsPptxOrPdfV3ApiV3PresentationExportPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyExportPresentationAsPptxOrPdfV3ApiV3PresentationExportPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyExportPresentationAsPptxOrPdfV3ApiV3PresentationExportPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyExportPresentationAsPptxOrPdfV3ApiV3PresentationExportPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyGenerateContentForSchemaApiV3SchemaContentGeneratePost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyGenerateContentForSchemaApiV3SchemaContentGeneratePost.Json.g.cs
index ef2a394..51af12a 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyGenerateContentForSchemaApiV3SchemaContentGeneratePost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyGenerateContentForSchemaApiV3SchemaContentGeneratePost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyGenerateContentForSchemaApiV3SchemaContentGeneratePost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyGenerateContentForSchemaApiV3SchemaContentGeneratePost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyGenerateContentForSchemaApiV3SchemaContentGeneratePost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyGenerateContentForSchemaApiV3SchemaContentGeneratePostSchema.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyGenerateContentForSchemaApiV3SchemaContentGeneratePostSchema.Json.g.cs
index 6fee79e..5a91979 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyGenerateContentForSchemaApiV3SchemaContentGeneratePostSchema.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyGenerateContentForSchemaApiV3SchemaContentGeneratePostSchema.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyGenerateContentForSchemaApiV3SchemaContentGeneratePostSchema;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyGenerateContentForSchemaApiV3SchemaContentGeneratePostSchema? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyGenerateContentForSchemaApiV3SchemaContentGeneratePostSchema;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyGetJwtTokenApiV1DebugGetJwtTokenPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyGetJwtTokenApiV1DebugGetJwtTokenPost.Json.g.cs
index 9d1a4f7..1060939 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyGetJwtTokenApiV1DebugGetJwtTokenPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyGetJwtTokenApiV1DebugGetJwtTokenPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyGetJwtTokenApiV1DebugGetJwtTokenPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyGetJwtTokenApiV1DebugGetJwtTokenPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyGetJwtTokenApiV1DebugGetJwtTokenPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePost.Json.g.cs
index 86c879a..3c71096 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePostFontFiles.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePostFontFiles.Json.g.cs
index c72ca1f..ff43636 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePostFontFiles.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePostFontFiles.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePostFontFiles;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePostFontFiles? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePostFontFiles;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePostOriginalFontNames.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePostOriginalFontNames.Json.g.cs
index 9945c21..454fc34 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePostOriginalFontNames.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePostOriginalFontNames.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePostOriginalFontNames;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePostOriginalFontNames? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyImportPresentationFromPptxFileApiV2PptPresentationImportFromPptxFilePostOriginalFontNames;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyInitFixSlideApiV2PptFixSlideInitPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyInitFixSlideApiV2PptFixSlideInitPost.Json.g.cs
index 908933c..fd9b8cc 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyInitFixSlideApiV2PptFixSlideInitPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyInitFixSlideApiV2PptFixSlideInitPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyInitFixSlideApiV2PptFixSlideInitPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyInitFixSlideApiV2PptFixSlideInitPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyInitFixSlideApiV2PptFixSlideInitPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyModifySubscriptionApiV1BillingSubscriptionModifyPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyModifySubscriptionApiV1BillingSubscriptionModifyPost.Json.g.cs
index 46c5c6f..f3f90cc 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyModifySubscriptionApiV1BillingSubscriptionModifyPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyModifySubscriptionApiV1BillingSubscriptionModifyPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyModifySubscriptionApiV1BillingSubscriptionModifyPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyModifySubscriptionApiV1BillingSubscriptionModifyPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyModifySubscriptionApiV1BillingSubscriptionModifyPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyPatchMeApiV1AuthProfileUpdatePatch.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyPatchMeApiV1AuthProfileUpdatePatch.Json.g.cs
index 955ca70..c9ee642 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyPatchMeApiV1AuthProfileUpdatePatch.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyPatchMeApiV1AuthProfileUpdatePatch.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyPatchMeApiV1AuthProfileUpdatePatch;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyPatchMeApiV1AuthProfileUpdatePatch? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyPatchMeApiV1AuthProfileUpdatePatch;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyPatchMeApiV1AuthProfileUpdatePatchName.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyPatchMeApiV1AuthProfileUpdatePatchName.Json.g.cs
index 7b85d6a..d64d5e7 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyPatchMeApiV1AuthProfileUpdatePatchName.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyPatchMeApiV1AuthProfileUpdatePatchName.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyPatchMeApiV1AuthProfileUpdatePatchName;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyPatchMeApiV1AuthProfileUpdatePatchName? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyPatchMeApiV1AuthProfileUpdatePatchName;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyPatchMeApiV1AuthProfileUpdatePatchProfilePicture.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyPatchMeApiV1AuthProfileUpdatePatchProfilePicture.Json.g.cs
index 9a49a5c..ae79ea7 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyPatchMeApiV1AuthProfileUpdatePatchProfilePicture.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyPatchMeApiV1AuthProfileUpdatePatchProfilePicture.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyPatchMeApiV1AuthProfileUpdatePatchProfilePicture;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyPatchMeApiV1AuthProfileUpdatePatchProfilePicture? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyPatchMeApiV1AuthProfileUpdatePatchProfilePicture;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyPreparePresentationApiV1PptPresentationPreparePost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyPreparePresentationApiV1PptPresentationPreparePost.Json.g.cs
index 13e9941..37ef2a5 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyPreparePresentationApiV1PptPresentationPreparePost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyPreparePresentationApiV1PptPresentationPreparePost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyPreparePresentationApiV1PptPresentationPreparePost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyPreparePresentationApiV1PptPresentationPreparePost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyPreparePresentationApiV1PptPresentationPreparePost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyPreparePresentationApiV1PptPresentationPreparePostTitle.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyPreparePresentationApiV1PptPresentationPreparePostTitle.Json.g.cs
index 367b86b..ea629c1 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyPreparePresentationApiV1PptPresentationPreparePostTitle.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyPreparePresentationApiV1PptPresentationPreparePostTitle.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyPreparePresentationApiV1PptPresentationPreparePostTitle;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyPreparePresentationApiV1PptPresentationPreparePostTitle? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyPreparePresentationApiV1PptPresentationPreparePostTitle;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyPresentationExportApiV1OnPresentationExportPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyPresentationExportApiV1OnPresentationExportPost.Json.g.cs
index 1f47ea4..d6eb05c 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyPresentationExportApiV1OnPresentationExportPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyPresentationExportApiV1OnPresentationExportPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyPresentationExportApiV1OnPresentationExportPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyPresentationExportApiV1OnPresentationExportPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyPresentationExportApiV1OnPresentationExportPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyPresentationExportApiV2OnPresentationExportPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyPresentationExportApiV2OnPresentationExportPost.Json.g.cs
index d21924f..468aa25 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyPresentationExportApiV2OnPresentationExportPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyPresentationExportApiV2OnPresentationExportPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyPresentationExportApiV2OnPresentationExportPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyPresentationExportApiV2OnPresentationExportPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyPresentationExportApiV2OnPresentationExportPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyRaiseExceptionApiV1DebugRaiseExceptionPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyRaiseExceptionApiV1DebugRaiseExceptionPost.Json.g.cs
index 3ba6d0d..b6d0fd8 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyRaiseExceptionApiV1DebugRaiseExceptionPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyRaiseExceptionApiV1DebugRaiseExceptionPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyRaiseExceptionApiV1DebugRaiseExceptionPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyRaiseExceptionApiV1DebugRaiseExceptionPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyRaiseExceptionApiV1DebugRaiseExceptionPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyResetForgotPasswordApiV1AuthForgotPasswordPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyResetForgotPasswordApiV1AuthForgotPasswordPost.Json.g.cs
index 1882321..d5f10d6 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyResetForgotPasswordApiV1AuthForgotPasswordPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyResetForgotPasswordApiV1AuthForgotPasswordPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyResetForgotPasswordApiV1AuthForgotPasswordPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyResetForgotPasswordApiV1AuthForgotPasswordPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyResetForgotPasswordApiV1AuthForgotPasswordPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyResetResetPasswordApiV1AuthResetPasswordPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyResetResetPasswordApiV1AuthResetPasswordPost.Json.g.cs
index d5b6714..3a824e7 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyResetResetPasswordApiV1AuthResetPasswordPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyResetResetPasswordApiV1AuthResetPasswordPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyResetResetPasswordApiV1AuthResetPasswordPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyResetResetPasswordApiV1AuthResetPasswordPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyResetResetPasswordApiV1AuthResetPasswordPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodyRevokeTokenApiV1AuthTokenRevokePost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodyRevokeTokenApiV1AuthTokenRevokePost.Json.g.cs
index 9084333..39e1a3a 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodyRevokeTokenApiV1AuthTokenRevokePost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodyRevokeTokenApiV1AuthTokenRevokePost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodyRevokeTokenApiV1AuthTokenRevokePost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodyRevokeTokenApiV1AuthTokenRevokePost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodyRevokeTokenApiV1AuthTokenRevokePost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodySendLowBalanceEmailApiV1DebugSendLowBalanceEmailPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodySendLowBalanceEmailApiV1DebugSendLowBalanceEmailPost.Json.g.cs
index 10182cf..70713c4 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodySendLowBalanceEmailApiV1DebugSendLowBalanceEmailPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodySendLowBalanceEmailApiV1DebugSendLowBalanceEmailPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodySendLowBalanceEmailApiV1DebugSendLowBalanceEmailPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodySendLowBalanceEmailApiV1DebugSendLowBalanceEmailPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodySendLowBalanceEmailApiV1DebugSendLowBalanceEmailPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodySendPasswordResetEmailApiV1DebugSendPasswordResetEmailPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodySendPasswordResetEmailApiV1DebugSendPasswordResetEmailPost.Json.g.cs
index c4a63fc..109b4a7 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodySendPasswordResetEmailApiV1DebugSendPasswordResetEmailPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodySendPasswordResetEmailApiV1DebugSendPasswordResetEmailPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodySendPasswordResetEmailApiV1DebugSendPasswordResetEmailPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodySendPasswordResetEmailApiV1DebugSendPasswordResetEmailPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodySendPasswordResetEmailApiV1DebugSendPasswordResetEmailPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodySendPaymentFailedEmailApiV1DebugSendPaymentFailedEmailPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodySendPaymentFailedEmailApiV1DebugSendPaymentFailedEmailPost.Json.g.cs
index 2b41913..3eeb4bd 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodySendPaymentFailedEmailApiV1DebugSendPaymentFailedEmailPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodySendPaymentFailedEmailApiV1DebugSendPaymentFailedEmailPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodySendPaymentFailedEmailApiV1DebugSendPaymentFailedEmailPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodySendPaymentFailedEmailApiV1DebugSendPaymentFailedEmailPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodySendPaymentFailedEmailApiV1DebugSendPaymentFailedEmailPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodySendVerificationEmailApiV1DebugSendVerificationEmailPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodySendVerificationEmailApiV1DebugSendVerificationEmailPost.Json.g.cs
index 38d07f6..8a1306e 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodySendVerificationEmailApiV1DebugSendVerificationEmailPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodySendVerificationEmailApiV1DebugSendVerificationEmailPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodySendVerificationEmailApiV1DebugSendVerificationEmailPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodySendVerificationEmailApiV1DebugSendVerificationEmailPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodySendVerificationEmailApiV1DebugSendVerificationEmailPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON stream using the provided JsonSerializerOptions.
///
@@ -84,6 +126,13 @@ public string ToJson(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
diff --git a/src/libs/Presenton/Generated/Presenton.Models.BodySendWelcomeEmailApiV1DebugSendWelcomeEmailPost.Json.g.cs b/src/libs/Presenton/Generated/Presenton.Models.BodySendWelcomeEmailApiV1DebugSendWelcomeEmailPost.Json.g.cs
index 4bd06ab..d477333 100644
--- a/src/libs/Presenton/Generated/Presenton.Models.BodySendWelcomeEmailApiV1DebugSendWelcomeEmailPost.Json.g.cs
+++ b/src/libs/Presenton/Generated/Presenton.Models.BodySendWelcomeEmailApiV1DebugSendWelcomeEmailPost.Json.g.cs
@@ -16,6 +16,14 @@ public string ToJson(
jsonSerializerContext);
}
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
///
@@ -26,6 +34,11 @@ public string ToJson(
public string ToJson(
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Serialize(
this,
jsonSerializerOptions);
@@ -44,6 +57,17 @@ public string ToJson(
jsonSerializerContext) as global::Presenton.BodySendWelcomeEmailApiV1DebugSendWelcomeEmailPost;
}
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Presenton.BodySendWelcomeEmailApiV1DebugSendWelcomeEmailPost? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///
/// Deserializes a JSON string using the provided JsonSerializerOptions.
///
@@ -55,6 +79,13 @@ public string ToJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
@@ -73,6 +104,17 @@ public string ToJson(
jsonSerializerContext).ConfigureAwait(false)) as global::Presenton.BodySendWelcomeEmailApiV1DebugSendWelcomeEmailPost;
}
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Presenton.SourceGenerationContext.Default);
+ }
+
///