diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgArrowShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgArrowShapeType.g.cs
deleted file mode 100644
index 7012bc3..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgArrowShapeType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgArrowShapeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgArrowShapeType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgArrowShapeTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgArrowShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgArrowShapeType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgArrowShapeType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Shotstack.SvgArrowShapeTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgArrowShapeTypeNullable.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgArrowShapeTypeNullable.g.cs
deleted file mode 100644
index d82ccab..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgArrowShapeTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgArrowShapeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgArrowShapeType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgArrowShapeTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgArrowShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgArrowShapeType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgArrowShapeType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Shotstack.SvgArrowShapeTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgCircleShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgCircleShapeType.g.cs
deleted file mode 100644
index cce0f20..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgCircleShapeType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgCircleShapeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgCircleShapeType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgCircleShapeTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgCircleShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgCircleShapeType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgCircleShapeType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Shotstack.SvgCircleShapeTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgCircleShapeTypeNullable.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgCircleShapeTypeNullable.g.cs
deleted file mode 100644
index 4771fdb..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgCircleShapeTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgCircleShapeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgCircleShapeType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgCircleShapeTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgCircleShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgCircleShapeType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgCircleShapeType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Shotstack.SvgCircleShapeTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgCrossShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgCrossShapeType.g.cs
deleted file mode 100644
index 1360652..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgCrossShapeType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgCrossShapeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgCrossShapeType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgCrossShapeTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgCrossShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgCrossShapeType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgCrossShapeType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Shotstack.SvgCrossShapeTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgCrossShapeTypeNullable.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgCrossShapeTypeNullable.g.cs
deleted file mode 100644
index b220dd6..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgCrossShapeTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgCrossShapeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgCrossShapeType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgCrossShapeTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgCrossShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgCrossShapeType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgCrossShapeType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Shotstack.SvgCrossShapeTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgEllipseShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgEllipseShapeType.g.cs
deleted file mode 100644
index cfe7747..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgEllipseShapeType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgEllipseShapeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgEllipseShapeType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgEllipseShapeTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgEllipseShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgEllipseShapeType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgEllipseShapeType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Shotstack.SvgEllipseShapeTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgEllipseShapeTypeNullable.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgEllipseShapeTypeNullable.g.cs
deleted file mode 100644
index 6ab2245..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgEllipseShapeTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgEllipseShapeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgEllipseShapeType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgEllipseShapeTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgEllipseShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgEllipseShapeType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgEllipseShapeType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Shotstack.SvgEllipseShapeTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgFill.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgFill.g.cs
deleted file mode 100644
index 6f7bb69..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgFill.g.cs
+++ /dev/null
@@ -1,87 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618 // Type or member is obsolete
-
-namespace Shotstack.JsonConverters
-{
- ///
- public class SvgFillJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgFill Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- options = options ?? throw new global::System.ArgumentNullException(nameof(options));
- var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
-
-
- var readerCopy = reader;
- var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgFillDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Shotstack.SvgFillDiscriminator)}");
- var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo);
-
- global::Shotstack.SvgSolidFill? solid = default;
- if (discriminator?.Type == global::Shotstack.SvgFillDiscriminatorType.Solid)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgSolidFill), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Shotstack.SvgSolidFill)}");
- solid = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
- }
- global::Shotstack.SvgLinearGradientFill? linear = default;
- if (discriminator?.Type == global::Shotstack.SvgFillDiscriminatorType.Linear)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgLinearGradientFill), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Shotstack.SvgLinearGradientFill)}");
- linear = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
- }
- global::Shotstack.SvgRadialGradientFill? radial = default;
- if (discriminator?.Type == global::Shotstack.SvgFillDiscriminatorType.Radial)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgRadialGradientFill), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Shotstack.SvgRadialGradientFill)}");
- radial = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
- }
-
- var __value = new global::Shotstack.SvgFill(
- discriminator?.Type,
- solid,
-
- linear,
-
- radial
- );
-
- return __value;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgFill value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- options = options ?? throw new global::System.ArgumentNullException(nameof(options));
- var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
-
- if (value.IsSolid)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgSolidFill), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Shotstack.SvgSolidFill).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Solid!, typeInfo);
- }
- else if (value.IsLinear)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgLinearGradientFill), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Shotstack.SvgLinearGradientFill).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Linear!, typeInfo);
- }
- else if (value.IsRadial)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgRadialGradientFill), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Shotstack.SvgRadialGradientFill).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Radial!, typeInfo);
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgFillDiscriminatorType.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgFillDiscriminatorType.g.cs
deleted file mode 100644
index b5cf835..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgFillDiscriminatorType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgFillDiscriminatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgFillDiscriminatorType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgFillDiscriminatorTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgFillDiscriminatorType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgFillDiscriminatorType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgFillDiscriminatorType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Shotstack.SvgFillDiscriminatorTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgFillDiscriminatorTypeNullable.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgFillDiscriminatorTypeNullable.g.cs
deleted file mode 100644
index 2a8769a..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgFillDiscriminatorTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgFillDiscriminatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgFillDiscriminatorType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgFillDiscriminatorTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgFillDiscriminatorType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgFillDiscriminatorType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgFillDiscriminatorType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Shotstack.SvgFillDiscriminatorTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgHeartShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgHeartShapeType.g.cs
deleted file mode 100644
index db2dd28..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgHeartShapeType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgHeartShapeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgHeartShapeType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgHeartShapeTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgHeartShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgHeartShapeType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgHeartShapeType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Shotstack.SvgHeartShapeTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgHeartShapeTypeNullable.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgHeartShapeTypeNullable.g.cs
deleted file mode 100644
index 59922fd..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgHeartShapeTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgHeartShapeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgHeartShapeType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgHeartShapeTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgHeartShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgHeartShapeType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgHeartShapeType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Shotstack.SvgHeartShapeTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgLineShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgLineShapeType.g.cs
deleted file mode 100644
index 8a74134..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgLineShapeType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgLineShapeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgLineShapeType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgLineShapeTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgLineShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgLineShapeType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgLineShapeType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Shotstack.SvgLineShapeTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgLineShapeTypeNullable.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgLineShapeTypeNullable.g.cs
deleted file mode 100644
index 4e4db60..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgLineShapeTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgLineShapeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgLineShapeType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgLineShapeTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgLineShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgLineShapeType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgLineShapeType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Shotstack.SvgLineShapeTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgLinearGradientFillType.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgLinearGradientFillType.g.cs
deleted file mode 100644
index a5c82cd..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgLinearGradientFillType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgLinearGradientFillTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgLinearGradientFillType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgLinearGradientFillTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgLinearGradientFillType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgLinearGradientFillType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgLinearGradientFillType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Shotstack.SvgLinearGradientFillTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgLinearGradientFillTypeNullable.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgLinearGradientFillTypeNullable.g.cs
deleted file mode 100644
index 222e079..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgLinearGradientFillTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgLinearGradientFillTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgLinearGradientFillType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgLinearGradientFillTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgLinearGradientFillType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgLinearGradientFillType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgLinearGradientFillType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Shotstack.SvgLinearGradientFillTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgPathShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgPathShapeType.g.cs
deleted file mode 100644
index 28df4c2..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgPathShapeType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgPathShapeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgPathShapeType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgPathShapeTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgPathShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgPathShapeType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgPathShapeType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Shotstack.SvgPathShapeTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgPathShapeTypeNullable.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgPathShapeTypeNullable.g.cs
deleted file mode 100644
index 016fb13..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgPathShapeTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgPathShapeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgPathShapeType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgPathShapeTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgPathShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgPathShapeType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgPathShapeType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Shotstack.SvgPathShapeTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgPolygonShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgPolygonShapeType.g.cs
deleted file mode 100644
index c152223..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgPolygonShapeType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgPolygonShapeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgPolygonShapeType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgPolygonShapeTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgPolygonShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgPolygonShapeType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgPolygonShapeType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Shotstack.SvgPolygonShapeTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgPolygonShapeTypeNullable.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgPolygonShapeTypeNullable.g.cs
deleted file mode 100644
index 6939ed7..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgPolygonShapeTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgPolygonShapeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgPolygonShapeType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgPolygonShapeTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgPolygonShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgPolygonShapeType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgPolygonShapeType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Shotstack.SvgPolygonShapeTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgRadialGradientFillType.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgRadialGradientFillType.g.cs
deleted file mode 100644
index 2e1ce78..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgRadialGradientFillType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgRadialGradientFillTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgRadialGradientFillType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgRadialGradientFillTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgRadialGradientFillType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgRadialGradientFillType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgRadialGradientFillType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Shotstack.SvgRadialGradientFillTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgRadialGradientFillTypeNullable.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgRadialGradientFillTypeNullable.g.cs
deleted file mode 100644
index 149a226..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgRadialGradientFillTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgRadialGradientFillTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgRadialGradientFillType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgRadialGradientFillTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgRadialGradientFillType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgRadialGradientFillType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgRadialGradientFillType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Shotstack.SvgRadialGradientFillTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgRectangleShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgRectangleShapeType.g.cs
deleted file mode 100644
index 5f03da0..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgRectangleShapeType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgRectangleShapeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgRectangleShapeType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgRectangleShapeTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgRectangleShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgRectangleShapeType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgRectangleShapeType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Shotstack.SvgRectangleShapeTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgRectangleShapeTypeNullable.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgRectangleShapeTypeNullable.g.cs
deleted file mode 100644
index 02f8a34..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgRectangleShapeTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgRectangleShapeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgRectangleShapeType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgRectangleShapeTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgRectangleShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgRectangleShapeType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgRectangleShapeType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Shotstack.SvgRectangleShapeTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgRingShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgRingShapeType.g.cs
deleted file mode 100644
index a5b4d46..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgRingShapeType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgRingShapeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgRingShapeType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgRingShapeTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgRingShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgRingShapeType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgRingShapeType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Shotstack.SvgRingShapeTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgRingShapeTypeNullable.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgRingShapeTypeNullable.g.cs
deleted file mode 100644
index ede2cae..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgRingShapeTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgRingShapeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgRingShapeType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgRingShapeTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgRingShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgRingShapeType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgRingShapeType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Shotstack.SvgRingShapeTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgShape.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgShape.g.cs
deleted file mode 100644
index 6505819..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgShape.g.cs
+++ /dev/null
@@ -1,207 +0,0 @@
-#nullable enable
-#pragma warning disable CS0618 // Type or member is obsolete
-
-namespace Shotstack.JsonConverters
-{
- ///
- public class SvgShapeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgShape Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- options = options ?? throw new global::System.ArgumentNullException(nameof(options));
- var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
-
-
- var readerCopy = reader;
- var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgShapeDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Shotstack.SvgShapeDiscriminator)}");
- var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo);
-
- global::Shotstack.SvgRectangleShape? rectangle = default;
- if (discriminator?.Type == global::Shotstack.SvgShapeDiscriminatorType.Rectangle)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgRectangleShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Shotstack.SvgRectangleShape)}");
- rectangle = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
- }
- global::Shotstack.SvgCircleShape? circle = default;
- if (discriminator?.Type == global::Shotstack.SvgShapeDiscriminatorType.Circle)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgCircleShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Shotstack.SvgCircleShape)}");
- circle = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
- }
- global::Shotstack.SvgEllipseShape? ellipse = default;
- if (discriminator?.Type == global::Shotstack.SvgShapeDiscriminatorType.Ellipse)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgEllipseShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Shotstack.SvgEllipseShape)}");
- ellipse = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
- }
- global::Shotstack.SvgLineShape? line = default;
- if (discriminator?.Type == global::Shotstack.SvgShapeDiscriminatorType.Line)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgLineShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Shotstack.SvgLineShape)}");
- line = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
- }
- global::Shotstack.SvgPolygonShape? polygon = default;
- if (discriminator?.Type == global::Shotstack.SvgShapeDiscriminatorType.Polygon)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgPolygonShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Shotstack.SvgPolygonShape)}");
- polygon = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
- }
- global::Shotstack.SvgStarShape? star = default;
- if (discriminator?.Type == global::Shotstack.SvgShapeDiscriminatorType.Star)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgStarShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Shotstack.SvgStarShape)}");
- star = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
- }
- global::Shotstack.SvgArrowShape? arrow = default;
- if (discriminator?.Type == global::Shotstack.SvgShapeDiscriminatorType.Arrow)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgArrowShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Shotstack.SvgArrowShape)}");
- arrow = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
- }
- global::Shotstack.SvgHeartShape? heart = default;
- if (discriminator?.Type == global::Shotstack.SvgShapeDiscriminatorType.Heart)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgHeartShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Shotstack.SvgHeartShape)}");
- heart = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
- }
- global::Shotstack.SvgCrossShape? cross = default;
- if (discriminator?.Type == global::Shotstack.SvgShapeDiscriminatorType.Cross)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgCrossShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Shotstack.SvgCrossShape)}");
- cross = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
- }
- global::Shotstack.SvgRingShape? ring = default;
- if (discriminator?.Type == global::Shotstack.SvgShapeDiscriminatorType.Ring)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgRingShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Shotstack.SvgRingShape)}");
- ring = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
- }
- global::Shotstack.SvgPathShape? path = default;
- if (discriminator?.Type == global::Shotstack.SvgShapeDiscriminatorType.Path)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgPathShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Shotstack.SvgPathShape)}");
- path = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
- }
-
- var __value = new global::Shotstack.SvgShape(
- discriminator?.Type,
- rectangle,
-
- circle,
-
- ellipse,
-
- line,
-
- polygon,
-
- star,
-
- arrow,
-
- heart,
-
- cross,
-
- ring,
-
- path
- );
-
- return __value;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgShape value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- options = options ?? throw new global::System.ArgumentNullException(nameof(options));
- var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
-
- if (value.IsRectangle)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgRectangleShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Shotstack.SvgRectangleShape).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Rectangle!, typeInfo);
- }
- else if (value.IsCircle)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgCircleShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Shotstack.SvgCircleShape).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Circle!, typeInfo);
- }
- else if (value.IsEllipse)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgEllipseShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Shotstack.SvgEllipseShape).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Ellipse!, typeInfo);
- }
- else if (value.IsLine)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgLineShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Shotstack.SvgLineShape).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Line!, typeInfo);
- }
- else if (value.IsPolygon)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgPolygonShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Shotstack.SvgPolygonShape).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Polygon!, typeInfo);
- }
- else if (value.IsStar)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgStarShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Shotstack.SvgStarShape).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Star!, typeInfo);
- }
- else if (value.IsArrow)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgArrowShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Shotstack.SvgArrowShape).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Arrow!, typeInfo);
- }
- else if (value.IsHeart)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgHeartShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Shotstack.SvgHeartShape).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Heart!, typeInfo);
- }
- else if (value.IsCross)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgCrossShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Shotstack.SvgCrossShape).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Cross!, typeInfo);
- }
- else if (value.IsRing)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgRingShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Shotstack.SvgRingShape).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Ring!, typeInfo);
- }
- else if (value.IsPath)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Shotstack.SvgPathShape), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Shotstack.SvgPathShape).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Path!, typeInfo);
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgShapeDiscriminatorType.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgShapeDiscriminatorType.g.cs
deleted file mode 100644
index b6f7299..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgShapeDiscriminatorType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgShapeDiscriminatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgShapeDiscriminatorType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgShapeDiscriminatorTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgShapeDiscriminatorType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgShapeDiscriminatorType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgShapeDiscriminatorType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Shotstack.SvgShapeDiscriminatorTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgShapeDiscriminatorTypeNullable.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgShapeDiscriminatorTypeNullable.g.cs
deleted file mode 100644
index 4c7cf16..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgShapeDiscriminatorTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgShapeDiscriminatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgShapeDiscriminatorType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgShapeDiscriminatorTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgShapeDiscriminatorType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgShapeDiscriminatorType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgShapeDiscriminatorType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Shotstack.SvgShapeDiscriminatorTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgSolidFillType.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgSolidFillType.g.cs
deleted file mode 100644
index fea1a7d..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgSolidFillType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgSolidFillTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgSolidFillType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgSolidFillTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgSolidFillType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgSolidFillType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgSolidFillType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Shotstack.SvgSolidFillTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgSolidFillTypeNullable.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgSolidFillTypeNullable.g.cs
deleted file mode 100644
index 17e8fdd..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgSolidFillTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgSolidFillTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgSolidFillType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgSolidFillTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgSolidFillType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgSolidFillType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgSolidFillType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Shotstack.SvgSolidFillTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgStarShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgStarShapeType.g.cs
deleted file mode 100644
index 84f76a0..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgStarShapeType.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgStarShapeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgStarShapeType Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgStarShapeTypeExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgStarShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgStarShapeType);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgStarShapeType value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Shotstack.SvgStarShapeTypeExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgStarShapeTypeNullable.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgStarShapeTypeNullable.g.cs
deleted file mode 100644
index e822a84..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgStarShapeTypeNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgStarShapeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgStarShapeType? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgStarShapeTypeExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgStarShapeType)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgStarShapeType?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgStarShapeType? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Shotstack.SvgStarShapeTypeExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgStrokeLineCap.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgStrokeLineCap.g.cs
deleted file mode 100644
index 30581ae..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgStrokeLineCap.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgStrokeLineCapJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgStrokeLineCap Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgStrokeLineCapExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgStrokeLineCap)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgStrokeLineCap);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgStrokeLineCap value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Shotstack.SvgStrokeLineCapExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgStrokeLineCapNullable.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgStrokeLineCapNullable.g.cs
deleted file mode 100644
index 875d892..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgStrokeLineCapNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgStrokeLineCapNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgStrokeLineCap? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgStrokeLineCapExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgStrokeLineCap)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgStrokeLineCap?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgStrokeLineCap? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Shotstack.SvgStrokeLineCapExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgStrokeLineJoin.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgStrokeLineJoin.g.cs
deleted file mode 100644
index 6e6dc9d..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgStrokeLineJoin.g.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgStrokeLineJoinJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgStrokeLineJoin Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgStrokeLineJoinExtensions.ToEnum(stringValue) ?? default;
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgStrokeLineJoin)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgStrokeLineJoin);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgStrokeLineJoin value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- writer.WriteStringValue(global::Shotstack.SvgStrokeLineJoinExtensions.ToValueString(value));
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgStrokeLineJoinNullable.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgStrokeLineJoinNullable.g.cs
deleted file mode 100644
index e195280..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.JsonConverters.SvgStrokeLineJoinNullable.g.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-#nullable enable
-
-namespace Shotstack.JsonConverters
-{
- ///
- public sealed class SvgStrokeLineJoinNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
- {
- ///
- public override global::Shotstack.SvgStrokeLineJoin? Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- switch (reader.TokenType)
- {
- case global::System.Text.Json.JsonTokenType.String:
- {
- var stringValue = reader.GetString();
- if (stringValue != null)
- {
- return global::Shotstack.SvgStrokeLineJoinExtensions.ToEnum(stringValue);
- }
-
- break;
- }
- case global::System.Text.Json.JsonTokenType.Number:
- {
- var numValue = reader.GetInt32();
- return (global::Shotstack.SvgStrokeLineJoin)numValue;
- }
- case global::System.Text.Json.JsonTokenType.Null:
- {
- return default(global::Shotstack.SvgStrokeLineJoin?);
- }
- default:
- throw new global::System.ArgumentOutOfRangeException(nameof(reader));
- }
-
- return default;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::Shotstack.SvgStrokeLineJoin? value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
-
- if (value == null)
- {
- writer.WriteNullValue();
- }
- else
- {
- writer.WriteStringValue(global::Shotstack.SvgStrokeLineJoinExtensions.ToValueString(value.Value));
- }
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonSerializerContext.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonSerializerContext.g.cs
index f8be33b..bf045bb 100644
--- a/src/libs/Shotstack/Generated/Shotstack.JsonSerializerContext.g.cs
+++ b/src/libs/Shotstack/Generated/Shotstack.JsonSerializerContext.g.cs
@@ -161,78 +161,6 @@ namespace Shotstack
typeof(global::Shotstack.JsonConverters.SvgAssetTypeNullableJsonConverter),
- typeof(global::Shotstack.JsonConverters.SvgShapeDiscriminatorTypeJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgShapeDiscriminatorTypeNullableJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgRectangleShapeTypeJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgRectangleShapeTypeNullableJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgCircleShapeTypeJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgCircleShapeTypeNullableJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgEllipseShapeTypeJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgEllipseShapeTypeNullableJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgLineShapeTypeJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgLineShapeTypeNullableJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgPolygonShapeTypeJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgPolygonShapeTypeNullableJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgStarShapeTypeJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgStarShapeTypeNullableJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgArrowShapeTypeJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgArrowShapeTypeNullableJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgHeartShapeTypeJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgHeartShapeTypeNullableJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgCrossShapeTypeJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgCrossShapeTypeNullableJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgRingShapeTypeJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgRingShapeTypeNullableJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgPathShapeTypeJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgPathShapeTypeNullableJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgFillDiscriminatorTypeJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgFillDiscriminatorTypeNullableJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgSolidFillTypeJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgSolidFillTypeNullableJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgLinearGradientFillTypeJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgLinearGradientFillTypeNullableJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgRadialGradientFillTypeJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgRadialGradientFillTypeNullableJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgStrokeLineCapJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgStrokeLineCapNullableJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgStrokeLineJoinJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgStrokeLineJoinNullableJsonConverter),
-
typeof(global::Shotstack.JsonConverters.TransitionInJsonConverter),
typeof(global::Shotstack.JsonConverters.TransitionInNullableJsonConverter),
@@ -383,10 +311,6 @@ namespace Shotstack
typeof(global::Shotstack.JsonConverters.AssetJsonConverter),
- typeof(global::Shotstack.JsonConverters.SvgShapeJsonConverter),
-
- typeof(global::Shotstack.JsonConverters.SvgFillJsonConverter),
-
typeof(global::Shotstack.JsonConverters.DestinationsJsonConverter),
typeof(global::Shotstack.JsonConverters.AudioEnhancementJsonConverter),
@@ -518,6 +442,7 @@ namespace Shotstack
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.RichCaptionActive))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.RichCaptionAnimation))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.RichCaptionActiveFont))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(object))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.RichCaptionActiveFontTextDecoration), TypeInfoPropertyName = "RichCaptionActiveFontTextDecoration2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.OneOf), TypeInfoPropertyName = "OneOfRichTextStrokeRichCaptionActiveStroke2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.RichCaptionActiveStroke), TypeInfoPropertyName = "RichCaptionActiveStroke2")]
@@ -537,48 +462,6 @@ namespace Shotstack
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.TitleAssetSize), TypeInfoPropertyName = "TitleAssetSize2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.TitleAssetPosition), TypeInfoPropertyName = "TitleAssetPosition2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgAssetType), TypeInfoPropertyName = "SvgAssetType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgShape), TypeInfoPropertyName = "SvgShape2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgRectangleShape))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgCircleShape))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgEllipseShape))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgLineShape))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgPolygonShape))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgStarShape))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgArrowShape))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgHeartShape))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgCrossShape))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgRingShape))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgPathShape))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgShapeDiscriminator))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgShapeDiscriminatorType), TypeInfoPropertyName = "SvgShapeDiscriminatorType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgRectangleShapeType), TypeInfoPropertyName = "SvgRectangleShapeType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgCircleShapeType), TypeInfoPropertyName = "SvgCircleShapeType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgEllipseShapeType), TypeInfoPropertyName = "SvgEllipseShapeType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgLineShapeType), TypeInfoPropertyName = "SvgLineShapeType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgPolygonShapeType), TypeInfoPropertyName = "SvgPolygonShapeType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgStarShapeType), TypeInfoPropertyName = "SvgStarShapeType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgArrowShapeType), TypeInfoPropertyName = "SvgArrowShapeType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgHeartShapeType), TypeInfoPropertyName = "SvgHeartShapeType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgCrossShapeType), TypeInfoPropertyName = "SvgCrossShapeType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgRingShapeType), TypeInfoPropertyName = "SvgRingShapeType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgPathShapeType), TypeInfoPropertyName = "SvgPathShapeType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgFill), TypeInfoPropertyName = "SvgFill2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgSolidFill))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgLinearGradientFill))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgRadialGradientFill))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgFillDiscriminator))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgFillDiscriminatorType), TypeInfoPropertyName = "SvgFillDiscriminatorType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgSolidFillType), TypeInfoPropertyName = "SvgSolidFillType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgLinearGradientFillType), TypeInfoPropertyName = "SvgLinearGradientFillType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgGradientStop))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgRadialGradientFillType), TypeInfoPropertyName = "SvgRadialGradientFillType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgStroke))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgStrokeLineCap), TypeInfoPropertyName = "SvgStrokeLineCap2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgStrokeLineJoin), TypeInfoPropertyName = "SvgStrokeLineJoin2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgShadow))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.SvgTransform))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.TransitionIn), TypeInfoPropertyName = "TransitionIn2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.TransitionOut), TypeInfoPropertyName = "TransitionOut2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.RotateTransformation))]
@@ -586,7 +469,6 @@ namespace Shotstack
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.FlipTransformation))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.TextAlignmentHorizontal), TypeInfoPropertyName = "TextAlignmentHorizontal2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.TextAlignmentVertical), TypeInfoPropertyName = "TextAlignmentVertical2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(object))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.RichTextStyleTextTransform), TypeInfoPropertyName = "RichTextStyleTextTransform2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.RichTextStyleTextDecoration), TypeInfoPropertyName = "RichTextStyleTextDecoration2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.RichTextGradient))]
@@ -707,8 +589,6 @@ namespace Shotstack
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.OneOf>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Shotstack.OneOf>))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))]
diff --git a/src/libs/Shotstack/Generated/Shotstack.JsonSerializerContextTypes.g.cs b/src/libs/Shotstack/Generated/Shotstack.JsonSerializerContextTypes.g.cs
index 19652e1..963e494 100644
--- a/src/libs/Shotstack/Generated/Shotstack.JsonSerializerContextTypes.g.cs
+++ b/src/libs/Shotstack/Generated/Shotstack.JsonSerializerContextTypes.g.cs
@@ -396,731 +396,563 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::Shotstack.RichCaptionActiveFontTextDecoration? Type92 { get; set; }
+ public object? Type92 { get; set; }
///
///
///
- public global::Shotstack.OneOf? Type93 { get; set; }
+ public global::Shotstack.RichCaptionActiveFontTextDecoration? Type93 { get; set; }
///
///
///
- public global::Shotstack.RichCaptionActiveStroke? Type94 { get; set; }
+ public global::Shotstack.OneOf? Type94 { get; set; }
///
///
///
- public global::Shotstack.OneOf? Type95 { get; set; }
+ public global::Shotstack.RichCaptionActiveStroke? Type95 { get; set; }
///
///
///
- public global::Shotstack.RichCaptionActiveShadow? Type96 { get; set; }
+ public global::Shotstack.OneOf? Type96 { get; set; }
///
///
///
- public global::Shotstack.RichCaptionAnimationStyle? Type97 { get; set; }
+ public global::Shotstack.RichCaptionActiveShadow? Type97 { get; set; }
///
///
///
- public global::Shotstack.RichCaptionAnimationDirection? Type98 { get; set; }
+ public global::Shotstack.RichCaptionAnimationStyle? Type98 { get; set; }
///
///
///
- public global::Shotstack.TextToImageAssetType? Type99 { get; set; }
+ public global::Shotstack.RichCaptionAnimationDirection? Type99 { get; set; }
///
///
///
- public global::Shotstack.ImageToVideoAssetType? Type100 { get; set; }
+ public global::Shotstack.TextToImageAssetType? Type100 { get; set; }
///
///
///
- public global::Shotstack.ImageToVideoAssetAspectRatio? Type101 { get; set; }
+ public global::Shotstack.ImageToVideoAssetType? Type101 { get; set; }
///
///
///
- public global::Shotstack.TextToSpeechAssetType? Type102 { get; set; }
+ public global::Shotstack.ImageToVideoAssetAspectRatio? Type102 { get; set; }
///
///
///
- public global::Shotstack.TextToSpeechAssetEffect? Type103 { get; set; }
+ public global::Shotstack.TextToSpeechAssetType? Type103 { get; set; }
///
///
///
- public global::Shotstack.HtmlAssetType? Type104 { get; set; }
+ public global::Shotstack.TextToSpeechAssetEffect? Type104 { get; set; }
///
///
///
- public global::Shotstack.HtmlAssetPosition? Type105 { get; set; }
+ public global::Shotstack.HtmlAssetType? Type105 { get; set; }
///
///
///
- public global::Shotstack.TitleAssetType? Type106 { get; set; }
+ public global::Shotstack.HtmlAssetPosition? Type106 { get; set; }
///
///
///
- public global::Shotstack.TitleAssetStyle? Type107 { get; set; }
+ public global::Shotstack.TitleAssetType? Type107 { get; set; }
///
///
///
- public global::Shotstack.TitleAssetSize? Type108 { get; set; }
+ public global::Shotstack.TitleAssetStyle? Type108 { get; set; }
///
///
///
- public global::Shotstack.TitleAssetPosition? Type109 { get; set; }
+ public global::Shotstack.TitleAssetSize? Type109 { get; set; }
///
///
///
- public global::Shotstack.SvgAssetType? Type110 { get; set; }
+ public global::Shotstack.TitleAssetPosition? Type110 { get; set; }
///
///
///
- public global::Shotstack.SvgShape? Type111 { get; set; }
+ public global::Shotstack.SvgAssetType? Type111 { get; set; }
///
///
///
- public global::Shotstack.SvgRectangleShape? Type112 { get; set; }
+ public global::Shotstack.TransitionIn? Type112 { get; set; }
///
///
///
- public global::Shotstack.SvgCircleShape? Type113 { get; set; }
+ public global::Shotstack.TransitionOut? Type113 { get; set; }
///
///
///
- public global::Shotstack.SvgEllipseShape? Type114 { get; set; }
+ public global::Shotstack.RotateTransformation? Type114 { get; set; }
///
///
///
- public global::Shotstack.SvgLineShape? Type115 { get; set; }
+ public global::Shotstack.SkewTransformation? Type115 { get; set; }
///
///
///
- public global::Shotstack.SvgPolygonShape? Type116 { get; set; }
+ public global::Shotstack.FlipTransformation? Type116 { get; set; }
///
///
///
- public global::Shotstack.SvgStarShape? Type117 { get; set; }
+ public global::Shotstack.TextAlignmentHorizontal? Type117 { get; set; }
///
///
///
- public global::Shotstack.SvgArrowShape? Type118 { get; set; }
+ public global::Shotstack.TextAlignmentVertical? Type118 { get; set; }
///
///
///
- public global::Shotstack.SvgHeartShape? Type119 { get; set; }
+ public global::Shotstack.RichTextStyleTextTransform? Type119 { get; set; }
///
///
///
- public global::Shotstack.SvgCrossShape? Type120 { get; set; }
+ public global::Shotstack.RichTextStyleTextDecoration? Type120 { get; set; }
///
///
///
- public global::Shotstack.SvgRingShape? Type121 { get; set; }
+ public global::Shotstack.RichTextGradient? Type121 { get; set; }
///
///
///
- public global::Shotstack.SvgPathShape? Type122 { get; set; }
+ public global::Shotstack.RichTextGradientType? Type122 { get; set; }
///
///
///
- public global::Shotstack.SvgShapeDiscriminator? Type123 { get; set; }
+ public global::System.Collections.Generic.IList? Type123 { get; set; }
///
///
///
- public global::Shotstack.SvgShapeDiscriminatorType? Type124 { get; set; }
+ public global::Shotstack.RichTextGradientStop? Type124 { get; set; }
///
///
///
- public global::Shotstack.SvgRectangleShapeType? Type125 { get; set; }
+ public global::Shotstack.RichTextAlignmentHorizontal? Type125 { get; set; }
///
///
///
- public global::Shotstack.SvgCircleShapeType? Type126 { get; set; }
+ public global::Shotstack.RichTextAlignmentVertical? Type126 { get; set; }
///
///
///
- public global::Shotstack.SvgEllipseShapeType? Type127 { get; set; }
+ public global::Shotstack.RichTextAnimationPreset? Type127 { get; set; }
///
///
///
- public global::Shotstack.SvgLineShapeType? Type128 { get; set; }
+ public global::Shotstack.RichTextAnimationStyle? Type128 { get; set; }
///
///
///
- public global::Shotstack.SvgPolygonShapeType? Type129 { get; set; }
+ public global::Shotstack.RichTextAnimationDirection? Type129 { get; set; }
///
///
///
- public global::Shotstack.SvgStarShapeType? Type130 { get; set; }
+ public global::Shotstack.TweenInterpolation? Type130 { get; set; }
///
///
///
- public global::Shotstack.SvgArrowShapeType? Type131 { get; set; }
+ public global::Shotstack.TweenEasing? Type131 { get; set; }
///
///
///
- public global::Shotstack.SvgHeartShapeType? Type132 { get; set; }
+ public global::Shotstack.OutputFormat? Type132 { get; set; }
///
///
///
- public global::Shotstack.SvgCrossShapeType? Type133 { get; set; }
+ public global::Shotstack.OutputResolution? Type133 { get; set; }
///
///
///
- public global::Shotstack.SvgRingShapeType? Type134 { get; set; }
+ public global::Shotstack.OutputAspectRatio? Type134 { get; set; }
///
///
///
- public global::Shotstack.SvgPathShapeType? Type135 { get; set; }
+ public global::Shotstack.Size? Type135 { get; set; }
///
///
///
- public global::Shotstack.SvgFill? Type136 { get; set; }
+ public global::Shotstack.OutputScaleTo? Type136 { get; set; }
///
///
///
- public global::Shotstack.SvgSolidFill? Type137 { get; set; }
+ public global::Shotstack.OutputQuality? Type137 { get; set; }
///
///
///
- public global::Shotstack.SvgLinearGradientFill? Type138 { get; set; }
+ public global::Shotstack.Range? Type138 { get; set; }
///
///
///
- public global::Shotstack.SvgRadialGradientFill? Type139 { get; set; }
+ public global::Shotstack.Poster? Type139 { get; set; }
///
///
///
- public global::Shotstack.SvgFillDiscriminator? Type140 { get; set; }
+ public global::Shotstack.Thumbnail? Type140 { get; set; }
///
///
///
- public global::Shotstack.SvgFillDiscriminatorType? Type141 { get; set; }
+ public global::System.Collections.Generic.IList? Type141 { get; set; }
///
///
///
- public global::Shotstack.SvgSolidFillType? Type142 { get; set; }
+ public global::Shotstack.Destinations? Type142 { get; set; }
///
///
///
- public global::Shotstack.SvgLinearGradientFillType? Type143 { get; set; }
+ public global::Shotstack.ShotstackDestination? Type143 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type144 { get; set; }
+ public global::Shotstack.MuxDestination? Type144 { get; set; }
///
///
///
- public global::Shotstack.SvgGradientStop? Type145 { get; set; }
+ public global::Shotstack.S3Destination? Type145 { get; set; }
///
///
///
- public global::Shotstack.SvgRadialGradientFillType? Type146 { get; set; }
+ public global::Shotstack.GoogleCloudStorageDestination? Type146 { get; set; }
///
///
///
- public global::Shotstack.SvgStroke? Type147 { get; set; }
+ public global::Shotstack.GoogleDriveDestination? Type147 { get; set; }
///
///
///
- public global::Shotstack.SvgStrokeLineCap? Type148 { get; set; }
+ public global::Shotstack.VimeoDestination? Type148 { get; set; }
///
///
///
- public global::Shotstack.SvgStrokeLineJoin? Type149 { get; set; }
+ public global::Shotstack.TiktokDestination? Type149 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type150 { get; set; }
+ public global::Shotstack.AkamaiNetStorageDestination? Type150 { get; set; }
///
///
///
- public global::Shotstack.SvgShadow? Type151 { get; set; }
+ public global::Shotstack.AzureBlobStorageDestination? Type151 { get; set; }
///
///
///
- public global::Shotstack.SvgTransform? Type152 { get; set; }
+ public global::Shotstack.DestinationsDiscriminator? Type152 { get; set; }
///
///
///
- public global::Shotstack.TransitionIn? Type153 { get; set; }
+ public global::Shotstack.MuxDestinationOptions? Type153 { get; set; }
///
///
///
- public global::Shotstack.TransitionOut? Type154 { get; set; }
+ public global::System.Collections.Generic.IList? Type154 { get; set; }
///
///
///
- public global::Shotstack.RotateTransformation? Type155 { get; set; }
+ public global::Shotstack.MuxDestinationOptionsPlaybackPolicyItem? Type155 { get; set; }
///
///
///
- public global::Shotstack.SkewTransformation? Type156 { get; set; }
+ public global::Shotstack.S3DestinationOptions? Type156 { get; set; }
///
///
///
- public global::Shotstack.FlipTransformation? Type157 { get; set; }
+ public global::Shotstack.GoogleCloudStorageDestinationOptions? Type157 { get; set; }
///
///
///
- public global::Shotstack.TextAlignmentHorizontal? Type158 { get; set; }
+ public global::Shotstack.GoogleDriveDestinationOptions? Type158 { get; set; }
///
///
///
- public global::Shotstack.TextAlignmentVertical? Type159 { get; set; }
+ public global::Shotstack.VimeoDestinationOptions? Type159 { get; set; }
///
///
///
- public object? Type160 { get; set; }
+ public global::Shotstack.VimeoDestinationPrivacyOptions? Type160 { get; set; }
///
///
///
- public global::Shotstack.RichTextStyleTextTransform? Type161 { get; set; }
+ public global::Shotstack.VimeoDestinationPrivacyOptionsView? Type161 { get; set; }
///
///
///
- public global::Shotstack.RichTextStyleTextDecoration? Type162 { get; set; }
+ public global::Shotstack.VimeoDestinationPrivacyOptionsEmbed? Type162 { get; set; }
///
///
///
- public global::Shotstack.RichTextGradient? Type163 { get; set; }
+ public global::Shotstack.VimeoDestinationPrivacyOptionsComments? Type163 { get; set; }
///
///
///
- public global::Shotstack.RichTextGradientType? Type164 { get; set; }
+ public global::Shotstack.Template? Type164 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type165 { get; set; }
+ public global::Shotstack.TemplateRender? Type165 { get; set; }
///
///
///
- public global::Shotstack.RichTextGradientStop? Type166 { get; set; }
+ public global::Shotstack.Source? Type166 { get; set; }
///
///
///
- public global::Shotstack.RichTextAlignmentHorizontal? Type167 { get; set; }
+ public global::Shotstack.Outputs? Type167 { get; set; }
///
///
///
- public global::Shotstack.RichTextAlignmentVertical? Type168 { get; set; }
+ public global::System.Collections.Generic.IList? Type168 { get; set; }
///
///
///
- public global::Shotstack.RichTextAnimationPreset? Type169 { get; set; }
+ public global::Shotstack.Rendition? Type169 { get; set; }
///
///
///
- public global::Shotstack.RichTextAnimationStyle? Type170 { get; set; }
+ public global::Shotstack.Transcription? Type170 { get; set; }
///
///
///
- public global::Shotstack.RichTextAnimationDirection? Type171 { get; set; }
+ public global::Shotstack.RenditionFormat? Type171 { get; set; }
///
///
///
- public global::Shotstack.TweenInterpolation? Type172 { get; set; }
+ public global::Shotstack.RenditionFit? Type172 { get; set; }
///
///
///
- public global::Shotstack.TweenEasing? Type173 { get; set; }
+ public global::Shotstack.RenditionResolution? Type173 { get; set; }
///
///
///
- public global::Shotstack.OutputFormat? Type174 { get; set; }
+ public global::Shotstack.Speed? Type174 { get; set; }
///
///
///
- public global::Shotstack.OutputResolution? Type175 { get; set; }
+ public global::Shotstack.Enhancements? Type175 { get; set; }
///
///
///
- public global::Shotstack.OutputAspectRatio? Type176 { get; set; }
+ public global::Shotstack.TranscriptionFormat? Type176 { get; set; }
///
///
///
- public global::Shotstack.Size? Type177 { get; set; }
+ public global::Shotstack.AudioEnhancement? Type177 { get; set; }
///
///
///
- public global::Shotstack.OutputScaleTo? Type178 { get; set; }
+ public global::Shotstack.DolbyEnhancement? Type178 { get; set; }
///
///
///
- public global::Shotstack.OutputQuality? Type179 { get; set; }
+ public global::Shotstack.AudioEnhancementDiscriminator? Type179 { get; set; }
///
///
///
- public global::Shotstack.Range? Type180 { get; set; }
+ public global::Shotstack.DolbyEnhancementOptions? Type180 { get; set; }
///
///
///
- public global::Shotstack.Poster? Type181 { get; set; }
+ public global::Shotstack.DolbyEnhancementOptionsPreset? Type181 { get; set; }
///
///
///
- public global::Shotstack.Thumbnail? Type182 { get; set; }
+ public global::Shotstack.Transfer? Type182 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type183 { get; set; }
+ public global::Shotstack.QueuedResponse? Type183 { get; set; }
///
///
///
- public global::Shotstack.Destinations? Type184 { get; set; }
+ public global::Shotstack.QueuedResponseData? Type184 { get; set; }
///
///
///
- public global::Shotstack.ShotstackDestination? Type185 { get; set; }
+ public global::Shotstack.RenderResponse? Type185 { get; set; }
///
///
///
- public global::Shotstack.MuxDestination? Type186 { get; set; }
+ public global::Shotstack.RenderResponseData? Type186 { get; set; }
///
///
///
- public global::Shotstack.S3Destination? Type187 { get; set; }
+ public global::Shotstack.RenderResponseDataStatus? Type187 { get; set; }
///
///
///
- public global::Shotstack.GoogleCloudStorageDestination? Type188 { get; set; }
+ public global::Shotstack.TemplateResponse? Type188 { get; set; }
///
///
///
- public global::Shotstack.GoogleDriveDestination? Type189 { get; set; }
+ public global::Shotstack.TemplateResponseData? Type189 { get; set; }
///
///
///
- public global::Shotstack.VimeoDestination? Type190 { get; set; }
+ public global::Shotstack.TemplateDataResponse? Type190 { get; set; }
///
///
///
- public global::Shotstack.TiktokDestination? Type191 { get; set; }
+ public global::Shotstack.TemplateDataResponseData? Type191 { get; set; }
///
///
///
- public global::Shotstack.AkamaiNetStorageDestination? Type192 { get; set; }
+ public global::Shotstack.TemplateListResponse? Type192 { get; set; }
///
///
///
- public global::Shotstack.AzureBlobStorageDestination? Type193 { get; set; }
+ public global::Shotstack.TemplateListResponseData? Type193 { get; set; }
///
///
///
- public global::Shotstack.DestinationsDiscriminator? Type194 { get; set; }
+ public global::System.Collections.Generic.IList? Type194 { get; set; }
///
///
///
- public global::Shotstack.MuxDestinationOptions? Type195 { get; set; }
+ public global::Shotstack.TemplateListResponseItem? Type195 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type196 { get; set; }
+ public global::Shotstack.ProbeResponse? Type196 { get; set; }
///
///
///
- public global::Shotstack.MuxDestinationOptionsPlaybackPolicyItem? Type197 { get; set; }
+ public global::Shotstack.AssetResponse? Type197 { get; set; }
///
///
///
- public global::Shotstack.S3DestinationOptions? Type198 { get; set; }
+ public global::Shotstack.AssetResponseData? Type198 { get; set; }
///
///
///
- public global::Shotstack.GoogleCloudStorageDestinationOptions? Type199 { get; set; }
+ public global::Shotstack.AssetRenderResponse? Type199 { get; set; }
///
///
///
- public global::Shotstack.GoogleDriveDestinationOptions? Type200 { get; set; }
+ public global::System.Collections.Generic.IList? Type200 { get; set; }
///
///
///
- public global::Shotstack.VimeoDestinationOptions? Type201 { get; set; }
+ public global::Shotstack.AssetResponseAttributes? Type201 { get; set; }
///
///
///
- public global::Shotstack.VimeoDestinationPrivacyOptions? Type202 { get; set; }
+ public global::Shotstack.AssetResponseAttributesStatus? Type202 { get; set; }
///
///
///
- public global::Shotstack.VimeoDestinationPrivacyOptionsView? Type203 { get; set; }
+ public global::Shotstack.TransferResponse? Type203 { get; set; }
///
///
///
- public global::Shotstack.VimeoDestinationPrivacyOptionsEmbed? Type204 { get; set; }
+ public global::Shotstack.TransferResponseData? Type204 { get; set; }
///
///
///
- public global::Shotstack.VimeoDestinationPrivacyOptionsComments? Type205 { get; set; }
+ public global::Shotstack.TransferResponseAttributes? Type205 { get; set; }
///
///
///
- public global::Shotstack.Template? Type206 { get; set; }
+ public global::Shotstack.TransferResponseAttributesStatus? Type206 { get; set; }
///
///
///
- public global::Shotstack.TemplateRender? Type207 { get; set; }
+ public global::Shotstack.QueuedSourceResponse? Type207 { get; set; }
///
///
///
- public global::Shotstack.Source? Type208 { get; set; }
+ public global::Shotstack.QueuedSourceResponseData? Type208 { get; set; }
///
///
///
- public global::Shotstack.Outputs? Type209 { get; set; }
+ public global::Shotstack.SourceListResponse? Type209 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type210 { get; set; }
+ public global::System.Collections.Generic.IList? Type210 { get; set; }
///
///
///
- public global::Shotstack.Rendition? Type211 { get; set; }
+ public global::Shotstack.SourceResponseData? Type211 { get; set; }
///
///
///
- public global::Shotstack.Transcription? Type212 { get; set; }
+ public global::Shotstack.SourceResponse? Type212 { get; set; }
///
///
///
- public global::Shotstack.RenditionFormat? Type213 { get; set; }
+ public global::Shotstack.SourceResponseAttributes? Type213 { get; set; }
///
///
///
- public global::Shotstack.RenditionFit? Type214 { get; set; }
+ public global::Shotstack.SourceResponseAttributesStatus? Type214 { get; set; }
///
///
///
- public global::Shotstack.RenditionResolution? Type215 { get; set; }
+ public global::Shotstack.OutputsResponse? Type215 { get; set; }
///
///
///
- public global::Shotstack.Speed? Type216 { get; set; }
+ public global::System.Collections.Generic.IList? Type216 { get; set; }
///
///
///
- public global::Shotstack.Enhancements? Type217 { get; set; }
+ public global::Shotstack.RenditionResponseAttributes? Type217 { get; set; }
///
///
///
- public global::Shotstack.TranscriptionFormat? Type218 { get; set; }
+ public global::Shotstack.RenditionResponseAttributesStatus? Type218 { get; set; }
///
///
///
- public global::Shotstack.AudioEnhancement? Type219 { get; set; }
+ public global::Shotstack.UploadResponse? Type219 { get; set; }
///
///
///
- public global::Shotstack.DolbyEnhancement? Type220 { get; set; }
+ public global::Shotstack.UploadResponseData? Type220 { get; set; }
///
///
///
- public global::Shotstack.AudioEnhancementDiscriminator? Type221 { get; set; }
+ public global::Shotstack.UploadResponseAttributes? Type221 { get; set; }
///
///
///
- public global::Shotstack.DolbyEnhancementOptions? Type222 { get; set; }
+ public global::Shotstack.IngestErrorResponse? Type222 { get; set; }
///
///
///
- public global::Shotstack.DolbyEnhancementOptionsPreset? Type223 { get; set; }
+ public global::System.Collections.Generic.IList? Type223 { get; set; }
///
///
///
- public global::Shotstack.Transfer? Type224 { get; set; }
+ public global::Shotstack.IngestErrorResponseData? Type224 { get; set; }
///
///
///
- public global::Shotstack.QueuedResponse? Type225 { get; set; }
+ public global::Shotstack.TextAnimationPreset? Type225 { get; set; }
///
///
///
- public global::Shotstack.QueuedResponseData? Type226 { get; set; }
+ public global::Shotstack.RichCaptionStyleTextTransform? Type226 { get; set; }
///
///
///
- public global::Shotstack.RenderResponse? Type227 { get; set; }
+ public global::Shotstack.RichCaptionStyleTextDecoration? Type227 { get; set; }
///
///
///
- public global::Shotstack.RenderResponseData? Type228 { get; set; }
+ public global::Shotstack.TiktokDestinationOptions? Type228 { get; set; }
///
///
///
- public global::Shotstack.RenderResponseDataStatus? Type229 { get; set; }
+ public global::Shotstack.TiktokDestinationOptionsPrivacyLevel? Type229 { get; set; }
///
///
///
- public global::Shotstack.TemplateResponse? Type230 { get; set; }
+ public global::Shotstack.AkamaiNetStorageDestinationOptions? Type230 { get; set; }
///
///
///
- public global::Shotstack.TemplateResponseData? Type231 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.TemplateDataResponse? Type232 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.TemplateDataResponseData? Type233 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.TemplateListResponse? Type234 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.TemplateListResponseData? Type235 { get; set; }
- ///
- ///
- ///
- public global::System.Collections.Generic.IList? Type236 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.TemplateListResponseItem? Type237 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.ProbeResponse? Type238 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.AssetResponse? Type239 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.AssetResponseData? Type240 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.AssetRenderResponse? Type241 { get; set; }
- ///
- ///
- ///
- public global::System.Collections.Generic.IList? Type242 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.AssetResponseAttributes? Type243 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.AssetResponseAttributesStatus? Type244 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.TransferResponse? Type245 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.TransferResponseData? Type246 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.TransferResponseAttributes? Type247 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.TransferResponseAttributesStatus? Type248 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.QueuedSourceResponse? Type249 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.QueuedSourceResponseData? Type250 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.SourceListResponse? Type251 { get; set; }
- ///
- ///
- ///
- public global::System.Collections.Generic.IList? Type252 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.SourceResponseData? Type253 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.SourceResponse? Type254 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.SourceResponseAttributes? Type255 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.SourceResponseAttributesStatus? Type256 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.OutputsResponse? Type257 { get; set; }
- ///
- ///
- ///
- public global::System.Collections.Generic.IList? Type258 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.RenditionResponseAttributes? Type259 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.RenditionResponseAttributesStatus? Type260 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.UploadResponse? Type261 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.UploadResponseData? Type262 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.UploadResponseAttributes? Type263 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.IngestErrorResponse? Type264 { get; set; }
- ///
- ///
- ///
- public global::System.Collections.Generic.IList? Type265 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.IngestErrorResponseData? Type266 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.TextAnimationPreset? Type267 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.RichCaptionStyleTextTransform? Type268 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.RichCaptionStyleTextDecoration? Type269 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.TiktokDestinationOptions? Type270 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.TiktokDestinationOptionsPrivacyLevel? Type271 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.AkamaiNetStorageDestinationOptions? Type272 { get; set; }
- ///
- ///
- ///
- public global::Shotstack.AzureBlobStorageDestinationOptions? Type273 { get; set; }
+ public global::Shotstack.AzureBlobStorageDestinationOptions? Type231 { get; set; }
///
///
@@ -1153,46 +985,38 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::System.Collections.Generic.List? ListType7 { get; set; }
- ///
- ///
- ///
- public global::System.Collections.Generic.List? ListType8 { get; set; }
- ///
- ///
- ///
- public global::System.Collections.Generic.List? ListType9 { get; set; }
+ public global::System.Collections.Generic.List? ListType7 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType10 { get; set; }
+ public global::System.Collections.Generic.List? ListType8 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType11 { get; set; }
+ public global::System.Collections.Generic.List? ListType9 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType12 { get; set; }
+ public global::System.Collections.Generic.List? ListType10 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType13 { get; set; }
+ public global::System.Collections.Generic.List? ListType11 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType14 { get; set; }
+ public global::System.Collections.Generic.List? ListType12 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType15 { get; set; }
+ public global::System.Collections.Generic.List? ListType13 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType16 { get; set; }
+ public global::System.Collections.Generic.List? ListType14 { get; set; }
///
///
///
- public global::System.Collections.Generic.List? ListType17 { get; set; }
+ public global::System.Collections.Generic.List? ListType15 { get; set; }
}
}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestinationOptions.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestinationOptions.g.cs
index fa16375..0c90971 100644
--- a/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestinationOptions.g.cs
+++ b/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestinationOptions.g.cs
@@ -32,7 +32,7 @@ public sealed partial class AkamaiNetStorageDestinationOptions
///
/// videos
[global::System.Text.Json.Serialization.JsonPropertyName("path")]
- public object? Path { get; set; }
+ public string? Path { get; set; }
///
/// Use your own filename instead of the default filenames generated by Shotstack. Note: omit the file extension as this will be appended depending on the output format. Also `-poster.jpg` and `-thumb.jpg` will be appended for poster and thumbnail images.
@@ -40,7 +40,7 @@ public sealed partial class AkamaiNetStorageDestinationOptions
///
/// my-file
[global::System.Text.Json.Serialization.JsonPropertyName("filename")]
- public object? Filename { get; set; }
+ public string? Filename { get; set; }
///
/// Additional properties that are not explicitly defined in the schema
@@ -73,8 +73,8 @@ public sealed partial class AkamaiNetStorageDestinationOptions
public AkamaiNetStorageDestinationOptions(
string host,
string cpCode,
- object? path,
- object? filename)
+ string? path,
+ string? filename)
{
this.Host = host ?? throw new global::System.ArgumentNullException(nameof(host));
this.CpCode = cpCode ?? throw new global::System.ArgumentNullException(nameof(cpCode));
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestinationOptionsFilename.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestinationOptionsFilename.Json.g.cs
deleted file mode 100644
index 326ac72..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestinationOptionsFilename.Json.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-#nullable enable
-
-namespace Shotstack
-{
- public sealed partial class AkamaiNetStorageDestinationOptionsFilename
- {
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
- ///
- public string ToJson(
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- this.GetType(),
- jsonSerializerContext);
- }
-
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public string ToJson(
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerContext.
- ///
- public static global::Shotstack.AkamaiNetStorageDestinationOptionsFilename? FromJson(
- string json,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- typeof(global::Shotstack.AkamaiNetStorageDestinationOptionsFilename),
- jsonSerializerContext) as global::Shotstack.AkamaiNetStorageDestinationOptionsFilename;
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::Shotstack.AkamaiNetStorageDestinationOptionsFilename? FromJson(
- string json,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerContext.
- ///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- typeof(global::Shotstack.AkamaiNetStorageDestinationOptionsFilename),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.AkamaiNetStorageDestinationOptionsFilename;
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- jsonSerializerOptions);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestinationOptionsFilename.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestinationOptionsFilename.g.cs
deleted file mode 100644
index a27c5d9..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestinationOptionsFilename.g.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// Use your own filename instead of the default filenames generated by Shotstack. Note: omit the file extension as this will be appended depending on the output format. Also `-poster.jpg` and `-thumb.jpg` will be appended for poster and thumbnail images.
- /// Example: my-file
- ///
- public sealed partial class AkamaiNetStorageDestinationOptionsFilename
- {
-
- ///
- /// Additional properties that are not explicitly defined in the schema
- ///
- [global::System.Text.Json.Serialization.JsonExtensionData]
- public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestinationOptionsPath.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestinationOptionsPath.Json.g.cs
deleted file mode 100644
index 48a28fa..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestinationOptionsPath.Json.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-#nullable enable
-
-namespace Shotstack
-{
- public sealed partial class AkamaiNetStorageDestinationOptionsPath
- {
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
- ///
- public string ToJson(
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- this.GetType(),
- jsonSerializerContext);
- }
-
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public string ToJson(
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerContext.
- ///
- public static global::Shotstack.AkamaiNetStorageDestinationOptionsPath? FromJson(
- string json,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- typeof(global::Shotstack.AkamaiNetStorageDestinationOptionsPath),
- jsonSerializerContext) as global::Shotstack.AkamaiNetStorageDestinationOptionsPath;
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::Shotstack.AkamaiNetStorageDestinationOptionsPath? FromJson(
- string json,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerContext.
- ///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- typeof(global::Shotstack.AkamaiNetStorageDestinationOptionsPath),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.AkamaiNetStorageDestinationOptionsPath;
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- jsonSerializerOptions);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestinationOptions.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestinationOptions.g.cs
index afd0fea..4c6f0a0 100644
--- a/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestinationOptions.g.cs
+++ b/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestinationOptions.g.cs
@@ -32,7 +32,7 @@ public sealed partial class AzureBlobStorageDestinationOptions
///
/// videos
[global::System.Text.Json.Serialization.JsonPropertyName("prefix")]
- public object? Prefix { get; set; }
+ public string? Prefix { get; set; }
///
/// Use your own filename instead of the default filenames generated by Shotstack. Note: omit the file extension as this will be appended depending on the output format. Also `-poster.jpg` and `-thumb.jpg` will be appended for poster and thumbnail images.
@@ -40,7 +40,7 @@ public sealed partial class AzureBlobStorageDestinationOptions
///
/// my-file
[global::System.Text.Json.Serialization.JsonPropertyName("filename")]
- public object? Filename { get; set; }
+ public string? Filename { get; set; }
///
/// Additional properties that are not explicitly defined in the schema
@@ -73,8 +73,8 @@ public sealed partial class AzureBlobStorageDestinationOptions
public AzureBlobStorageDestinationOptions(
string accountName,
string container,
- object? prefix,
- object? filename)
+ string? prefix,
+ string? filename)
{
this.AccountName = accountName ?? throw new global::System.ArgumentNullException(nameof(accountName));
this.Container = container ?? throw new global::System.ArgumentNullException(nameof(container));
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestinationOptionsFilename.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestinationOptionsFilename.Json.g.cs
deleted file mode 100644
index 5f83182..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestinationOptionsFilename.Json.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-#nullable enable
-
-namespace Shotstack
-{
- public sealed partial class AzureBlobStorageDestinationOptionsFilename
- {
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
- ///
- public string ToJson(
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- this.GetType(),
- jsonSerializerContext);
- }
-
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public string ToJson(
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerContext.
- ///
- public static global::Shotstack.AzureBlobStorageDestinationOptionsFilename? FromJson(
- string json,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- typeof(global::Shotstack.AzureBlobStorageDestinationOptionsFilename),
- jsonSerializerContext) as global::Shotstack.AzureBlobStorageDestinationOptionsFilename;
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::Shotstack.AzureBlobStorageDestinationOptionsFilename? FromJson(
- string json,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerContext.
- ///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- typeof(global::Shotstack.AzureBlobStorageDestinationOptionsFilename),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.AzureBlobStorageDestinationOptionsFilename;
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- jsonSerializerOptions);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestinationOptionsFilename.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestinationOptionsFilename.g.cs
deleted file mode 100644
index 4088177..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestinationOptionsFilename.g.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// Use your own filename instead of the default filenames generated by Shotstack. Note: omit the file extension as this will be appended depending on the output format. Also `-poster.jpg` and `-thumb.jpg` will be appended for poster and thumbnail images.
- /// Example: my-file
- ///
- public sealed partial class AzureBlobStorageDestinationOptionsFilename
- {
-
- ///
- /// Additional properties that are not explicitly defined in the schema
- ///
- [global::System.Text.Json.Serialization.JsonExtensionData]
- public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestinationOptionsPrefix.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestinationOptionsPrefix.Json.g.cs
deleted file mode 100644
index 7866c99..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestinationOptionsPrefix.Json.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-#nullable enable
-
-namespace Shotstack
-{
- public sealed partial class AzureBlobStorageDestinationOptionsPrefix
- {
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
- ///
- public string ToJson(
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- this.GetType(),
- jsonSerializerContext);
- }
-
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public string ToJson(
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerContext.
- ///
- public static global::Shotstack.AzureBlobStorageDestinationOptionsPrefix? FromJson(
- string json,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- typeof(global::Shotstack.AzureBlobStorageDestinationOptionsPrefix),
- jsonSerializerContext) as global::Shotstack.AzureBlobStorageDestinationOptionsPrefix;
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::Shotstack.AzureBlobStorageDestinationOptionsPrefix? FromJson(
- string json,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerContext.
- ///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- typeof(global::Shotstack.AzureBlobStorageDestinationOptionsPrefix),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.AzureBlobStorageDestinationOptionsPrefix;
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- jsonSerializerOptions);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestinationOptionsPrefix.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestinationOptionsPrefix.g.cs
deleted file mode 100644
index 542c46d..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.AzureBlobStorageDestinationOptionsPrefix.g.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// A virtual directory prefix for the blob being sent, i.e. `videos` or `customerId/videos`.
- /// Example: videos
- ///
- public sealed partial class AzureBlobStorageDestinationOptionsPrefix
- {
-
- ///
- /// Additional properties that are not explicitly defined in the schema
- ///
- [global::System.Text.Json.Serialization.JsonExtensionData]
- public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActive.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActive.g.cs
index e454147..fbd80e7 100644
--- a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActive.g.cs
+++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActive.g.cs
@@ -28,15 +28,6 @@ public sealed partial class RichCaptionActive
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Shotstack.JsonConverters.OneOfJsonConverter))]
public global::Shotstack.OneOf? Shadow { get; set; }
- ///
- /// Scale multiplier for the active word. 1.0 is normal size, 1.2 is 20% larger.
- /// Default Value: 1
- /// Example: 1.2F
- ///
- /// 1.2F
- [global::System.Text.Json.Serialization.JsonPropertyName("scale")]
- public double? Scale { get; set; }
-
///
/// Additional properties that are not explicitly defined in the schema
///
@@ -55,24 +46,17 @@ public sealed partial class RichCaptionActive
///
/// Shadow properties for the active word. Set to "none" to explicitly remove the base shadow on the active word.
///
- ///
- /// Scale multiplier for the active word. 1.0 is normal size, 1.2 is 20% larger.
- /// Default Value: 1
- /// Example: 1.2F
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public RichCaptionActive(
global::Shotstack.RichCaptionActiveFont? font,
global::Shotstack.OneOf? stroke,
- global::Shotstack.OneOf? shadow,
- double? scale)
+ global::Shotstack.OneOf? shadow)
{
this.Font = font;
this.Stroke = stroke;
this.Shadow = shadow;
- this.Scale = scale;
}
///
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActiveFont.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActiveFont.g.cs
index 720f716..f8a7bea 100644
--- a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActiveFont.g.cs
+++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActiveFont.g.cs
@@ -8,6 +8,21 @@ namespace Shotstack
///
public sealed partial class RichCaptionActiveFont
{
+ ///
+ /// The font family for the active word. Inherits from the base font.family when not set.
+ /// Example: Roboto
+ ///
+ /// Roboto
+ [global::System.Text.Json.Serialization.JsonPropertyName("family")]
+ public string? Family { get; set; }
+
+ ///
+ /// The weight of the font for the active word. Can be a number (100-900) or a string. Inherits from the base font.weight when not set.
+ /// Default Value: 400
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("weight")]
+ public object? Weight { get; set; }
+
///
/// The active word color using hexadecimal color notation.
/// Example: #C96741
@@ -34,7 +49,7 @@ public sealed partial class RichCaptionActiveFont
public double? Opacity { get; set; }
///
- /// The font size of the active word in pixels. Overrides the scale property when set.
+ /// The font size of the active word in pixels.
/// Example: 120
///
/// 120
@@ -60,6 +75,14 @@ public sealed partial class RichCaptionActiveFont
///
/// Initializes a new instance of the class.
///
+ ///
+ /// The font family for the active word. Inherits from the base font.family when not set.
+ /// Example: Roboto
+ ///
+ ///
+ /// The weight of the font for the active word. Can be a number (100-900) or a string. Inherits from the base font.weight when not set.
+ /// Default Value: 400
+ ///
///
/// The active word color using hexadecimal color notation.
/// Example: #C96741
@@ -74,7 +97,7 @@ public sealed partial class RichCaptionActiveFont
/// Example: 1
///
///
- /// The font size of the active word in pixels. Overrides the scale property when set.
+ /// The font size of the active word in pixels.
/// Example: 120
///
///
@@ -86,12 +109,16 @@ public sealed partial class RichCaptionActiveFont
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public RichCaptionActiveFont(
+ string? family,
+ object? weight,
string? color,
string? background,
double? opacity,
double? size,
global::Shotstack.RichCaptionActiveFontTextDecoration? textDecoration)
{
+ this.Family = family;
+ this.Weight = weight;
this.Color = color;
this.Background = background;
this.Opacity = opacity;
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgLinearGradientFill.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActiveFontWeight.Json.g.cs
similarity index 85%
rename from src/libs/Shotstack/Generated/Shotstack.Models.SvgLinearGradientFill.Json.g.cs
rename to src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActiveFontWeight.Json.g.cs
index a068398..80e185a 100644
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgLinearGradientFill.Json.g.cs
+++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActiveFontWeight.Json.g.cs
@@ -2,7 +2,7 @@
namespace Shotstack
{
- public sealed partial class SvgLinearGradientFill
+ public sealed partial class RichCaptionActiveFontWeight
{
///
/// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
@@ -34,14 +34,14 @@ public string ToJson(
///
/// Deserializes a JSON string using the provided JsonSerializerContext.
///
- public static global::Shotstack.SvgLinearGradientFill? FromJson(
+ public static global::Shotstack.RichCaptionActiveFontWeight? FromJson(
string json,
global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
{
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
- typeof(global::Shotstack.SvgLinearGradientFill),
- jsonSerializerContext) as global::Shotstack.SvgLinearGradientFill;
+ typeof(global::Shotstack.RichCaptionActiveFontWeight),
+ jsonSerializerContext) as global::Shotstack.RichCaptionActiveFontWeight;
}
///
@@ -51,11 +51,11 @@ public string ToJson(
[global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
[global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
#endif
- public static global::Shotstack.SvgLinearGradientFill? FromJson(
+ public static global::Shotstack.RichCaptionActiveFontWeight? FromJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
- return global::System.Text.Json.JsonSerializer.Deserialize(
+ return global::System.Text.Json.JsonSerializer.Deserialize(
json,
jsonSerializerOptions);
}
@@ -63,14 +63,14 @@ public string ToJson(
///
/// Deserializes a JSON stream using the provided JsonSerializerContext.
///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
global::System.IO.Stream jsonStream,
global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
{
return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
- typeof(global::Shotstack.SvgLinearGradientFill),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.SvgLinearGradientFill;
+ typeof(global::Shotstack.RichCaptionActiveFontWeight),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.RichCaptionActiveFontWeight;
}
///
@@ -80,11 +80,11 @@ public string ToJson(
[global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
[global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
jsonSerializerOptions);
}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestinationOptionsPath.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActiveFontWeight.g.cs
similarity index 66%
rename from src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestinationOptionsPath.g.cs
rename to src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActiveFontWeight.g.cs
index 83961db..a28a892 100644
--- a/src/libs/Shotstack/Generated/Shotstack.Models.AkamaiNetStorageDestinationOptionsPath.g.cs
+++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionActiveFontWeight.g.cs
@@ -4,10 +4,10 @@
namespace Shotstack
{
///
- /// A remote directory path/prefix for the file being sent, i.e. `videos` or `customerId/videos`.
- /// Example: videos
+ /// The weight of the font for the active word. Can be a number (100-900) or a string. Inherits from the base font.weight when not set.
+ /// Default Value: 400
///
- public sealed partial class AkamaiNetStorageDestinationOptionsPath
+ public sealed partial class RichCaptionActiveFontWeight
{
///
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionStyle.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionStyle.g.cs
index 228b8f6..5bbf1dc 100644
--- a/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionStyle.g.cs
+++ b/src/libs/Shotstack/Generated/Shotstack.Models.RichCaptionStyle.g.cs
@@ -37,7 +37,7 @@ public sealed partial class RichCaptionStyle
public global::Shotstack.RichCaptionStyleTextTransform? TextTransform { get; set; }
///
- /// The font size of the active word in pixels. Overrides the scale property when set.
+ /// The font size in pixels. Can be used as an alternative to font.size.
/// Example: 120
///
/// 120
@@ -85,7 +85,7 @@ public sealed partial class RichCaptionStyle
/// Example: uppercase
///
///
- /// The font size of the active word in pixels. Overrides the scale property when set.
+ /// The font size in pixels. Can be used as an alternative to font.size.
/// Example: 120
///
///
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgArrowShape.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgArrowShape.Json.g.cs
deleted file mode 100644
index 5fc3efb..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgArrowShape.Json.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-#nullable enable
-
-namespace Shotstack
-{
- public sealed partial class SvgArrowShape
- {
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
- ///
- public string ToJson(
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- this.GetType(),
- jsonSerializerContext);
- }
-
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public string ToJson(
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerContext.
- ///
- public static global::Shotstack.SvgArrowShape? FromJson(
- string json,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- typeof(global::Shotstack.SvgArrowShape),
- jsonSerializerContext) as global::Shotstack.SvgArrowShape;
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::Shotstack.SvgArrowShape? FromJson(
- string json,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerContext.
- ///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- typeof(global::Shotstack.SvgArrowShape),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.SvgArrowShape;
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- jsonSerializerOptions);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgArrowShape.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgArrowShape.g.cs
deleted file mode 100644
index dd66c4a..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgArrowShape.g.cs
+++ /dev/null
@@ -1,107 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// An arrow shape pointing to the right by default.
- /// Use transform rotation to change direction.
- ///
- public sealed partial class SvgArrowShape
- {
- ///
- /// The shape type - set to `arrow`.
- ///
- [global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Shotstack.JsonConverters.SvgArrowShapeTypeJsonConverter))]
- public global::Shotstack.SvgArrowShapeType Type { get; set; }
-
- ///
- /// The total length of the arrow from tail to tip in pixels.
- /// Example: 100
- ///
- /// 100
- [global::System.Text.Json.Serialization.JsonPropertyName("length")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double Length { get; set; }
-
- ///
- /// The width of the arrow head (the widest part) in pixels.
- /// Example: 40
- ///
- /// 40
- [global::System.Text.Json.Serialization.JsonPropertyName("headWidth")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double HeadWidth { get; set; }
-
- ///
- /// The length of the arrow head portion in pixels.
- /// Example: 30
- ///
- /// 30
- [global::System.Text.Json.Serialization.JsonPropertyName("headLength")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double HeadLength { get; set; }
-
- ///
- /// The width of the arrow shaft (body) in pixels.
- /// Example: 20
- ///
- /// 20
- [global::System.Text.Json.Serialization.JsonPropertyName("shaftWidth")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double ShaftWidth { get; set; }
-
- ///
- /// Additional properties that are not explicitly defined in the schema
- ///
- [global::System.Text.Json.Serialization.JsonExtensionData]
- public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
-
- ///
- /// Initializes a new instance of the class.
- ///
- ///
- /// The total length of the arrow from tail to tip in pixels.
- /// Example: 100
- ///
- ///
- /// The width of the arrow head (the widest part) in pixels.
- /// Example: 40
- ///
- ///
- /// The length of the arrow head portion in pixels.
- /// Example: 30
- ///
- ///
- /// The width of the arrow shaft (body) in pixels.
- /// Example: 20
- ///
- ///
- /// The shape type - set to `arrow`.
- ///
-#if NET7_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
-#endif
- public SvgArrowShape(
- double length,
- double headWidth,
- double headLength,
- double shaftWidth,
- global::Shotstack.SvgArrowShapeType type)
- {
- this.Type = type;
- this.Length = length;
- this.HeadWidth = headWidth;
- this.HeadLength = headLength;
- this.ShaftWidth = shaftWidth;
- }
-
- ///
- /// Initializes a new instance of the class.
- ///
- public SvgArrowShape()
- {
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgArrowShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgArrowShapeType.g.cs
deleted file mode 100644
index c226e12..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgArrowShapeType.g.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// The shape type - set to `arrow`.
- ///
- public enum SvgArrowShapeType
- {
- ///
- ///
- ///
- Arrow,
- }
-
- ///
- /// Enum extensions to do fast conversions without the reflection.
- ///
- public static class SvgArrowShapeTypeExtensions
- {
- ///
- /// Converts an enum to a string.
- ///
- public static string ToValueString(this SvgArrowShapeType value)
- {
- return value switch
- {
- SvgArrowShapeType.Arrow => "arrow",
- _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
- };
- }
- ///
- /// Converts an string to a enum.
- ///
- public static SvgArrowShapeType? ToEnum(string value)
- {
- return value switch
- {
- "arrow" => SvgArrowShapeType.Arrow,
- _ => null,
- };
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgCircleShape.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgCircleShape.Json.g.cs
deleted file mode 100644
index bc9fb7f..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgCircleShape.Json.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-#nullable enable
-
-namespace Shotstack
-{
- public sealed partial class SvgCircleShape
- {
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
- ///
- public string ToJson(
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- this.GetType(),
- jsonSerializerContext);
- }
-
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public string ToJson(
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerContext.
- ///
- public static global::Shotstack.SvgCircleShape? FromJson(
- string json,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- typeof(global::Shotstack.SvgCircleShape),
- jsonSerializerContext) as global::Shotstack.SvgCircleShape;
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::Shotstack.SvgCircleShape? FromJson(
- string json,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerContext.
- ///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- typeof(global::Shotstack.SvgCircleShape),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.SvgCircleShape;
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- jsonSerializerOptions);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgCircleShape.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgCircleShape.g.cs
deleted file mode 100644
index a9647f0..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgCircleShape.g.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// A perfect circle shape defined by its radius.
- /// The circle is centered at the shape's position.
- ///
- public sealed partial class SvgCircleShape
- {
- ///
- /// The shape type - set to `circle`.
- ///
- [global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Shotstack.JsonConverters.SvgCircleShapeTypeJsonConverter))]
- public global::Shotstack.SvgCircleShapeType Type { get; set; }
-
- ///
- /// The radius of the circle in pixels.
- /// Example: 50
- ///
- /// 50
- [global::System.Text.Json.Serialization.JsonPropertyName("radius")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double Radius { get; set; }
-
- ///
- /// Additional properties that are not explicitly defined in the schema
- ///
- [global::System.Text.Json.Serialization.JsonExtensionData]
- public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
-
- ///
- /// Initializes a new instance of the class.
- ///
- ///
- /// The radius of the circle in pixels.
- /// Example: 50
- ///
- ///
- /// The shape type - set to `circle`.
- ///
-#if NET7_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
-#endif
- public SvgCircleShape(
- double radius,
- global::Shotstack.SvgCircleShapeType type)
- {
- this.Type = type;
- this.Radius = radius;
- }
-
- ///
- /// Initializes a new instance of the class.
- ///
- public SvgCircleShape()
- {
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgCircleShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgCircleShapeType.g.cs
deleted file mode 100644
index 90c5026..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgCircleShapeType.g.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// The shape type - set to `circle`.
- ///
- public enum SvgCircleShapeType
- {
- ///
- ///
- ///
- Circle,
- }
-
- ///
- /// Enum extensions to do fast conversions without the reflection.
- ///
- public static class SvgCircleShapeTypeExtensions
- {
- ///
- /// Converts an enum to a string.
- ///
- public static string ToValueString(this SvgCircleShapeType value)
- {
- return value switch
- {
- SvgCircleShapeType.Circle => "circle",
- _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
- };
- }
- ///
- /// Converts an string to a enum.
- ///
- public static SvgCircleShapeType? ToEnum(string value)
- {
- return value switch
- {
- "circle" => SvgCircleShapeType.Circle,
- _ => null,
- };
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgCrossShape.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgCrossShape.Json.g.cs
deleted file mode 100644
index c94b7d9..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgCrossShape.Json.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-#nullable enable
-
-namespace Shotstack
-{
- public sealed partial class SvgCrossShape
- {
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
- ///
- public string ToJson(
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- this.GetType(),
- jsonSerializerContext);
- }
-
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public string ToJson(
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerContext.
- ///
- public static global::Shotstack.SvgCrossShape? FromJson(
- string json,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- typeof(global::Shotstack.SvgCrossShape),
- jsonSerializerContext) as global::Shotstack.SvgCrossShape;
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::Shotstack.SvgCrossShape? FromJson(
- string json,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerContext.
- ///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- typeof(global::Shotstack.SvgCrossShape),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.SvgCrossShape;
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- jsonSerializerOptions);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgCrossShape.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgCrossShape.g.cs
deleted file mode 100644
index 0b5e02f..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgCrossShape.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// A cross or plus shape with equal or different arm lengths.
- /// Can be styled as a plus sign (+) or a cross (x with rotation).
- ///
- public sealed partial class SvgCrossShape
- {
- ///
- /// The shape type - set to `cross`.
- ///
- [global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Shotstack.JsonConverters.SvgCrossShapeTypeJsonConverter))]
- public global::Shotstack.SvgCrossShapeType Type { get; set; }
-
- ///
- /// The total width of the cross in pixels.
- /// Example: 100
- ///
- /// 100
- [global::System.Text.Json.Serialization.JsonPropertyName("width")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double Width { get; set; }
-
- ///
- /// The total height of the cross in pixels.
- /// Example: 100
- ///
- /// 100
- [global::System.Text.Json.Serialization.JsonPropertyName("height")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double Height { get; set; }
-
- ///
- /// The thickness of the cross arms in pixels.
- /// Example: 20
- ///
- /// 20
- [global::System.Text.Json.Serialization.JsonPropertyName("thickness")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double Thickness { get; set; }
-
- ///
- /// Additional properties that are not explicitly defined in the schema
- ///
- [global::System.Text.Json.Serialization.JsonExtensionData]
- public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
-
- ///
- /// Initializes a new instance of the class.
- ///
- ///
- /// The total width of the cross in pixels.
- /// Example: 100
- ///
- ///
- /// The total height of the cross in pixels.
- /// Example: 100
- ///
- ///
- /// The thickness of the cross arms in pixels.
- /// Example: 20
- ///
- ///
- /// The shape type - set to `cross`.
- ///
-#if NET7_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
-#endif
- public SvgCrossShape(
- double width,
- double height,
- double thickness,
- global::Shotstack.SvgCrossShapeType type)
- {
- this.Type = type;
- this.Width = width;
- this.Height = height;
- this.Thickness = thickness;
- }
-
- ///
- /// Initializes a new instance of the class.
- ///
- public SvgCrossShape()
- {
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgCrossShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgCrossShapeType.g.cs
deleted file mode 100644
index 24b6b6e..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgCrossShapeType.g.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// The shape type - set to `cross`.
- ///
- public enum SvgCrossShapeType
- {
- ///
- ///
- ///
- Cross,
- }
-
- ///
- /// Enum extensions to do fast conversions without the reflection.
- ///
- public static class SvgCrossShapeTypeExtensions
- {
- ///
- /// Converts an enum to a string.
- ///
- public static string ToValueString(this SvgCrossShapeType value)
- {
- return value switch
- {
- SvgCrossShapeType.Cross => "cross",
- _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
- };
- }
- ///
- /// Converts an string to a enum.
- ///
- public static SvgCrossShapeType? ToEnum(string value)
- {
- return value switch
- {
- "cross" => SvgCrossShapeType.Cross,
- _ => null,
- };
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgEllipseShape.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgEllipseShape.Json.g.cs
deleted file mode 100644
index 80d77ba..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgEllipseShape.Json.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-#nullable enable
-
-namespace Shotstack
-{
- public sealed partial class SvgEllipseShape
- {
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
- ///
- public string ToJson(
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- this.GetType(),
- jsonSerializerContext);
- }
-
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public string ToJson(
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerContext.
- ///
- public static global::Shotstack.SvgEllipseShape? FromJson(
- string json,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- typeof(global::Shotstack.SvgEllipseShape),
- jsonSerializerContext) as global::Shotstack.SvgEllipseShape;
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::Shotstack.SvgEllipseShape? FromJson(
- string json,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerContext.
- ///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- typeof(global::Shotstack.SvgEllipseShape),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.SvgEllipseShape;
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- jsonSerializerOptions);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgEllipseShape.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgEllipseShape.g.cs
deleted file mode 100644
index 381468a..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgEllipseShape.g.cs
+++ /dev/null
@@ -1,77 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// An ellipse (oval) shape with separate horizontal and vertical radii.
- /// The ellipse is centered at the shape's position.
- ///
- public sealed partial class SvgEllipseShape
- {
- ///
- /// The shape type - set to `ellipse`.
- ///
- [global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Shotstack.JsonConverters.SvgEllipseShapeTypeJsonConverter))]
- public global::Shotstack.SvgEllipseShapeType Type { get; set; }
-
- ///
- /// The horizontal radius (semi-major axis) in pixels.
- /// Example: 80
- ///
- /// 80
- [global::System.Text.Json.Serialization.JsonPropertyName("radiusX")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double RadiusX { get; set; }
-
- ///
- /// The vertical radius (semi-minor axis) in pixels.
- /// Example: 50
- ///
- /// 50
- [global::System.Text.Json.Serialization.JsonPropertyName("radiusY")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double RadiusY { get; set; }
-
- ///
- /// Additional properties that are not explicitly defined in the schema
- ///
- [global::System.Text.Json.Serialization.JsonExtensionData]
- public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
-
- ///
- /// Initializes a new instance of the class.
- ///
- ///
- /// The horizontal radius (semi-major axis) in pixels.
- /// Example: 80
- ///
- ///
- /// The vertical radius (semi-minor axis) in pixels.
- /// Example: 50
- ///
- ///
- /// The shape type - set to `ellipse`.
- ///
-#if NET7_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
-#endif
- public SvgEllipseShape(
- double radiusX,
- double radiusY,
- global::Shotstack.SvgEllipseShapeType type)
- {
- this.Type = type;
- this.RadiusX = radiusX;
- this.RadiusY = radiusY;
- }
-
- ///
- /// Initializes a new instance of the class.
- ///
- public SvgEllipseShape()
- {
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgEllipseShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgEllipseShapeType.g.cs
deleted file mode 100644
index a912905..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgEllipseShapeType.g.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// The shape type - set to `ellipse`.
- ///
- public enum SvgEllipseShapeType
- {
- ///
- ///
- ///
- Ellipse,
- }
-
- ///
- /// Enum extensions to do fast conversions without the reflection.
- ///
- public static class SvgEllipseShapeTypeExtensions
- {
- ///
- /// Converts an enum to a string.
- ///
- public static string ToValueString(this SvgEllipseShapeType value)
- {
- return value switch
- {
- SvgEllipseShapeType.Ellipse => "ellipse",
- _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
- };
- }
- ///
- /// Converts an string to a enum.
- ///
- public static SvgEllipseShapeType? ToEnum(string value)
- {
- return value switch
- {
- "ellipse" => SvgEllipseShapeType.Ellipse,
- _ => null,
- };
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgFill.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgFill.Json.g.cs
deleted file mode 100644
index 8e9b2b6..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgFill.Json.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-#nullable enable
-
-namespace Shotstack
-{
- public readonly partial struct SvgFill
- {
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
- ///
- public string ToJson(
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- this.GetType(),
- jsonSerializerContext);
- }
-
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public string ToJson(
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerContext.
- ///
- public static global::Shotstack.SvgFill? FromJson(
- string json,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- typeof(global::Shotstack.SvgFill),
- jsonSerializerContext) as global::Shotstack.SvgFill?;
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::Shotstack.SvgFill? FromJson(
- string json,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerContext.
- ///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- typeof(global::Shotstack.SvgFill),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.SvgFill?;
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- jsonSerializerOptions);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgFill.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgFill.g.cs
deleted file mode 100644
index 9c230c3..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgFill.g.cs
+++ /dev/null
@@ -1,284 +0,0 @@
-#pragma warning disable CS0618 // Type or member is obsolete
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// Fill properties for SVG shapes. Supports solid colors and gradients.
- /// The fill defines how the interior of a shape is painted.
- ///
- public readonly partial struct SvgFill : global::System.IEquatable
- {
- ///
- ///
- ///
- public global::Shotstack.SvgFillDiscriminatorType? Type { get; }
-
- ///
- /// A solid color fill for SVG shapes.
- ///
-#if NET6_0_OR_GREATER
- public global::Shotstack.SvgSolidFill? Solid { get; init; }
-#else
- public global::Shotstack.SvgSolidFill? Solid { get; }
-#endif
-
- ///
- ///
- ///
-#if NET6_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Solid))]
-#endif
- public bool IsSolid => Solid != null;
-
- ///
- /// A linear gradient fill that transitions colors along a straight line.
- /// The gradient direction is controlled by the `angle` property.
- ///
-#if NET6_0_OR_GREATER
- public global::Shotstack.SvgLinearGradientFill? Linear { get; init; }
-#else
- public global::Shotstack.SvgLinearGradientFill? Linear { get; }
-#endif
-
- ///
- ///
- ///
-#if NET6_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Linear))]
-#endif
- public bool IsLinear => Linear != null;
-
- ///
- /// A radial gradient fill that transitions colors radiating outward from a center point.
- /// The gradient creates a circular or elliptical color transition.
- ///
-#if NET6_0_OR_GREATER
- public global::Shotstack.SvgRadialGradientFill? Radial { get; init; }
-#else
- public global::Shotstack.SvgRadialGradientFill? Radial { get; }
-#endif
-
- ///
- ///
- ///
-#if NET6_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Radial))]
-#endif
- public bool IsRadial => Radial != null;
- ///
- ///
- ///
- public static implicit operator SvgFill(global::Shotstack.SvgSolidFill value) => new SvgFill((global::Shotstack.SvgSolidFill?)value);
-
- ///
- ///
- ///
- public static implicit operator global::Shotstack.SvgSolidFill?(SvgFill @this) => @this.Solid;
-
- ///
- ///
- ///
- public SvgFill(global::Shotstack.SvgSolidFill? value)
- {
- Solid = value;
- }
-
- ///
- ///
- ///
- public static implicit operator SvgFill(global::Shotstack.SvgLinearGradientFill value) => new SvgFill((global::Shotstack.SvgLinearGradientFill?)value);
-
- ///
- ///
- ///
- public static implicit operator global::Shotstack.SvgLinearGradientFill?(SvgFill @this) => @this.Linear;
-
- ///
- ///
- ///
- public SvgFill(global::Shotstack.SvgLinearGradientFill? value)
- {
- Linear = value;
- }
-
- ///
- ///
- ///
- public static implicit operator SvgFill(global::Shotstack.SvgRadialGradientFill value) => new SvgFill((global::Shotstack.SvgRadialGradientFill?)value);
-
- ///
- ///
- ///
- public static implicit operator global::Shotstack.SvgRadialGradientFill?(SvgFill @this) => @this.Radial;
-
- ///
- ///
- ///
- public SvgFill(global::Shotstack.SvgRadialGradientFill? value)
- {
- Radial = value;
- }
-
- ///
- ///
- ///
- public SvgFill(
- global::Shotstack.SvgFillDiscriminatorType? type,
- global::Shotstack.SvgSolidFill? solid,
- global::Shotstack.SvgLinearGradientFill? linear,
- global::Shotstack.SvgRadialGradientFill? radial
- )
- {
- Type = type;
-
- Solid = solid;
- Linear = linear;
- Radial = radial;
- }
-
- ///
- ///
- ///
- public object? Object =>
- Radial as object ??
- Linear as object ??
- Solid as object
- ;
-
- ///
- ///
- ///
- public override string? ToString() =>
- Solid?.ToString() ??
- Linear?.ToString() ??
- Radial?.ToString()
- ;
-
- ///
- ///
- ///
- public bool Validate()
- {
- return IsSolid && !IsLinear && !IsRadial || !IsSolid && IsLinear && !IsRadial || !IsSolid && !IsLinear && IsRadial;
- }
-
- ///
- ///
- ///
- public TResult? Match(
- global::System.Func? solid = null,
- global::System.Func? linear = null,
- global::System.Func? radial = null,
- bool validate = true)
- {
- if (validate)
- {
- Validate();
- }
-
- if (IsSolid && solid != null)
- {
- return solid(Solid!);
- }
- else if (IsLinear && linear != null)
- {
- return linear(Linear!);
- }
- else if (IsRadial && radial != null)
- {
- return radial(Radial!);
- }
-
- return default(TResult);
- }
-
- ///
- ///
- ///
- public void Match(
- global::System.Action? solid = null,
- global::System.Action? linear = null,
- global::System.Action? radial = null,
- bool validate = true)
- {
- if (validate)
- {
- Validate();
- }
-
- if (IsSolid)
- {
- solid?.Invoke(Solid!);
- }
- else if (IsLinear)
- {
- linear?.Invoke(Linear!);
- }
- else if (IsRadial)
- {
- radial?.Invoke(Radial!);
- }
- }
-
- ///
- ///
- ///
- public override int GetHashCode()
- {
- var fields = new object?[]
- {
- Solid,
- typeof(global::Shotstack.SvgSolidFill),
- Linear,
- typeof(global::Shotstack.SvgLinearGradientFill),
- Radial,
- typeof(global::Shotstack.SvgRadialGradientFill),
- };
- const int offset = unchecked((int)2166136261);
- const int prime = 16777619;
- static int HashCodeAggregator(int hashCode, object? value) => value == null
- ? (hashCode ^ 0) * prime
- : (hashCode ^ value.GetHashCode()) * prime;
-
- return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator);
- }
-
- ///
- ///
- ///
- public bool Equals(SvgFill other)
- {
- return
- global::System.Collections.Generic.EqualityComparer.Default.Equals(Solid, other.Solid) &&
- global::System.Collections.Generic.EqualityComparer.Default.Equals(Linear, other.Linear) &&
- global::System.Collections.Generic.EqualityComparer.Default.Equals(Radial, other.Radial)
- ;
- }
-
- ///
- ///
- ///
- public static bool operator ==(SvgFill obj1, SvgFill obj2)
- {
- return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2);
- }
-
- ///
- ///
- ///
- public static bool operator !=(SvgFill obj1, SvgFill obj2)
- {
- return !(obj1 == obj2);
- }
-
- ///
- ///
- ///
- public override bool Equals(object? obj)
- {
- return obj is SvgFill o && Equals(o);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgFillDiscriminator.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgFillDiscriminator.Json.g.cs
deleted file mode 100644
index 804b734..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgFillDiscriminator.Json.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-#nullable enable
-
-namespace Shotstack
-{
- public sealed partial class SvgFillDiscriminator
- {
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
- ///
- public string ToJson(
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- this.GetType(),
- jsonSerializerContext);
- }
-
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public string ToJson(
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerContext.
- ///
- public static global::Shotstack.SvgFillDiscriminator? FromJson(
- string json,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- typeof(global::Shotstack.SvgFillDiscriminator),
- jsonSerializerContext) as global::Shotstack.SvgFillDiscriminator;
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::Shotstack.SvgFillDiscriminator? FromJson(
- string json,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerContext.
- ///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- typeof(global::Shotstack.SvgFillDiscriminator),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.SvgFillDiscriminator;
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- jsonSerializerOptions);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgFillDiscriminator.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgFillDiscriminator.g.cs
deleted file mode 100644
index 7b86574..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgFillDiscriminator.g.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- ///
- ///
- public sealed partial class SvgFillDiscriminator
- {
- ///
- ///
- ///
- [global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Shotstack.JsonConverters.SvgFillDiscriminatorTypeJsonConverter))]
- public global::Shotstack.SvgFillDiscriminatorType? Type { get; set; }
-
- ///
- /// Additional properties that are not explicitly defined in the schema
- ///
- [global::System.Text.Json.Serialization.JsonExtensionData]
- public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
-
- ///
- /// Initializes a new instance of the class.
- ///
- ///
-#if NET7_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
-#endif
- public SvgFillDiscriminator(
- global::Shotstack.SvgFillDiscriminatorType? type)
- {
- this.Type = type;
- }
-
- ///
- /// Initializes a new instance of the class.
- ///
- public SvgFillDiscriminator()
- {
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgFillDiscriminatorType.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgFillDiscriminatorType.g.cs
deleted file mode 100644
index df57b3c..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgFillDiscriminatorType.g.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- ///
- ///
- public enum SvgFillDiscriminatorType
- {
- ///
- ///
- ///
- Linear,
- ///
- ///
- ///
- Radial,
- ///
- ///
- ///
- Solid,
- }
-
- ///
- /// Enum extensions to do fast conversions without the reflection.
- ///
- public static class SvgFillDiscriminatorTypeExtensions
- {
- ///
- /// Converts an enum to a string.
- ///
- public static string ToValueString(this SvgFillDiscriminatorType value)
- {
- return value switch
- {
- SvgFillDiscriminatorType.Linear => "linear",
- SvgFillDiscriminatorType.Radial => "radial",
- SvgFillDiscriminatorType.Solid => "solid",
- _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
- };
- }
- ///
- /// Converts an string to a enum.
- ///
- public static SvgFillDiscriminatorType? ToEnum(string value)
- {
- return value switch
- {
- "linear" => SvgFillDiscriminatorType.Linear,
- "radial" => SvgFillDiscriminatorType.Radial,
- "solid" => SvgFillDiscriminatorType.Solid,
- _ => null,
- };
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgGradientStop.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgGradientStop.Json.g.cs
deleted file mode 100644
index e3ae5f6..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgGradientStop.Json.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-#nullable enable
-
-namespace Shotstack
-{
- public sealed partial class SvgGradientStop
- {
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
- ///
- public string ToJson(
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- this.GetType(),
- jsonSerializerContext);
- }
-
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public string ToJson(
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerContext.
- ///
- public static global::Shotstack.SvgGradientStop? FromJson(
- string json,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- typeof(global::Shotstack.SvgGradientStop),
- jsonSerializerContext) as global::Shotstack.SvgGradientStop;
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::Shotstack.SvgGradientStop? FromJson(
- string json,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerContext.
- ///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- typeof(global::Shotstack.SvgGradientStop),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.SvgGradientStop;
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- jsonSerializerOptions);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgGradientStop.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgGradientStop.g.cs
deleted file mode 100644
index 339082d..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgGradientStop.g.cs
+++ /dev/null
@@ -1,67 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// A color stop in a gradient. Each stop defines a color at a specific position
- /// along the gradient vector. Gradients require at least 2 stops.
- ///
- public sealed partial class SvgGradientStop
- {
- ///
- /// Position of the color stop along the gradient vector.
- /// `0` represents the start and `1` represents the end of the gradient.
- /// Example: 0.5F
- ///
- /// 0.5F
- [global::System.Text.Json.Serialization.JsonPropertyName("offset")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double Offset { get; set; }
-
- ///
- /// The color at this stop using hexadecimal color notation.
- /// Example: #e74c3c
- ///
- /// #e74c3c
- [global::System.Text.Json.Serialization.JsonPropertyName("color")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string Color { get; set; }
-
- ///
- /// Additional properties that are not explicitly defined in the schema
- ///
- [global::System.Text.Json.Serialization.JsonExtensionData]
- public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
-
- ///
- /// Initializes a new instance of the class.
- ///
- ///
- /// Position of the color stop along the gradient vector.
- /// `0` represents the start and `1` represents the end of the gradient.
- /// Example: 0.5F
- ///
- ///
- /// The color at this stop using hexadecimal color notation.
- /// Example: #e74c3c
- ///
-#if NET7_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
-#endif
- public SvgGradientStop(
- double offset,
- string color)
- {
- this.Offset = offset;
- this.Color = color ?? throw new global::System.ArgumentNullException(nameof(color));
- }
-
- ///
- /// Initializes a new instance of the class.
- ///
- public SvgGradientStop()
- {
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgHeartShape.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgHeartShape.Json.g.cs
deleted file mode 100644
index 1ff0b62..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgHeartShape.Json.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-#nullable enable
-
-namespace Shotstack
-{
- public sealed partial class SvgHeartShape
- {
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
- ///
- public string ToJson(
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- this.GetType(),
- jsonSerializerContext);
- }
-
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public string ToJson(
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerContext.
- ///
- public static global::Shotstack.SvgHeartShape? FromJson(
- string json,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- typeof(global::Shotstack.SvgHeartShape),
- jsonSerializerContext) as global::Shotstack.SvgHeartShape;
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::Shotstack.SvgHeartShape? FromJson(
- string json,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerContext.
- ///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- typeof(global::Shotstack.SvgHeartShape),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.SvgHeartShape;
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- jsonSerializerOptions);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgHeartShape.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgHeartShape.g.cs
deleted file mode 100644
index 1289d32..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgHeartShape.g.cs
+++ /dev/null
@@ -1,64 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// A heart shape commonly used for love/like icons.
- /// The heart is defined by a single size parameter.
- ///
- public sealed partial class SvgHeartShape
- {
- ///
- /// The shape type - set to `heart`.
- ///
- [global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Shotstack.JsonConverters.SvgHeartShapeTypeJsonConverter))]
- public global::Shotstack.SvgHeartShapeType Type { get; set; }
-
- ///
- /// The size of the heart in pixels.
- /// This determines both the width and height proportionally.
- /// Example: 100
- ///
- /// 100
- [global::System.Text.Json.Serialization.JsonPropertyName("size")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double Size { get; set; }
-
- ///
- /// Additional properties that are not explicitly defined in the schema
- ///
- [global::System.Text.Json.Serialization.JsonExtensionData]
- public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
-
- ///
- /// Initializes a new instance of the class.
- ///
- ///
- /// The size of the heart in pixels.
- /// This determines both the width and height proportionally.
- /// Example: 100
- ///
- ///
- /// The shape type - set to `heart`.
- ///
-#if NET7_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
-#endif
- public SvgHeartShape(
- double size,
- global::Shotstack.SvgHeartShapeType type)
- {
- this.Type = type;
- this.Size = size;
- }
-
- ///
- /// Initializes a new instance of the class.
- ///
- public SvgHeartShape()
- {
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgHeartShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgHeartShapeType.g.cs
deleted file mode 100644
index df3e178..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgHeartShapeType.g.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// The shape type - set to `heart`.
- ///
- public enum SvgHeartShapeType
- {
- ///
- ///
- ///
- Heart,
- }
-
- ///
- /// Enum extensions to do fast conversions without the reflection.
- ///
- public static class SvgHeartShapeTypeExtensions
- {
- ///
- /// Converts an enum to a string.
- ///
- public static string ToValueString(this SvgHeartShapeType value)
- {
- return value switch
- {
- SvgHeartShapeType.Heart => "heart",
- _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
- };
- }
- ///
- /// Converts an string to a enum.
- ///
- public static SvgHeartShapeType? ToEnum(string value)
- {
- return value switch
- {
- "heart" => SvgHeartShapeType.Heart,
- _ => null,
- };
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgLineShape.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgLineShape.Json.g.cs
deleted file mode 100644
index adb1c2d..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgLineShape.Json.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-#nullable enable
-
-namespace Shotstack
-{
- public sealed partial class SvgLineShape
- {
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
- ///
- public string ToJson(
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- this.GetType(),
- jsonSerializerContext);
- }
-
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public string ToJson(
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerContext.
- ///
- public static global::Shotstack.SvgLineShape? FromJson(
- string json,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- typeof(global::Shotstack.SvgLineShape),
- jsonSerializerContext) as global::Shotstack.SvgLineShape;
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::Shotstack.SvgLineShape? FromJson(
- string json,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerContext.
- ///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- typeof(global::Shotstack.SvgLineShape),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.SvgLineShape;
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- jsonSerializerOptions);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgLineShape.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgLineShape.g.cs
deleted file mode 100644
index e04d088..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgLineShape.g.cs
+++ /dev/null
@@ -1,77 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// A straight line shape with a specified length and thickness.
- /// The line is drawn horizontally by default and can be rotated using transform.
- ///
- public sealed partial class SvgLineShape
- {
- ///
- /// The shape type - set to `line`.
- ///
- [global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Shotstack.JsonConverters.SvgLineShapeTypeJsonConverter))]
- public global::Shotstack.SvgLineShapeType Type { get; set; }
-
- ///
- /// The length of the line in pixels.
- /// Example: 100
- ///
- /// 100
- [global::System.Text.Json.Serialization.JsonPropertyName("length")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double Length { get; set; }
-
- ///
- /// The thickness of the line in pixels.
- /// Example: 4
- ///
- /// 4
- [global::System.Text.Json.Serialization.JsonPropertyName("thickness")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double Thickness { get; set; }
-
- ///
- /// Additional properties that are not explicitly defined in the schema
- ///
- [global::System.Text.Json.Serialization.JsonExtensionData]
- public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
-
- ///
- /// Initializes a new instance of the class.
- ///
- ///
- /// The length of the line in pixels.
- /// Example: 100
- ///
- ///
- /// The thickness of the line in pixels.
- /// Example: 4
- ///
- ///
- /// The shape type - set to `line`.
- ///
-#if NET7_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
-#endif
- public SvgLineShape(
- double length,
- double thickness,
- global::Shotstack.SvgLineShapeType type)
- {
- this.Type = type;
- this.Length = length;
- this.Thickness = thickness;
- }
-
- ///
- /// Initializes a new instance of the class.
- ///
- public SvgLineShape()
- {
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgLineShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgLineShapeType.g.cs
deleted file mode 100644
index 29cf196..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgLineShapeType.g.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// The shape type - set to `line`.
- ///
- public enum SvgLineShapeType
- {
- ///
- ///
- ///
- Line,
- }
-
- ///
- /// Enum extensions to do fast conversions without the reflection.
- ///
- public static class SvgLineShapeTypeExtensions
- {
- ///
- /// Converts an enum to a string.
- ///
- public static string ToValueString(this SvgLineShapeType value)
- {
- return value switch
- {
- SvgLineShapeType.Line => "line",
- _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
- };
- }
- ///
- /// Converts an string to a enum.
- ///
- public static SvgLineShapeType? ToEnum(string value)
- {
- return value switch
- {
- "line" => SvgLineShapeType.Line,
- _ => null,
- };
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgLinearGradientFill.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgLinearGradientFill.g.cs
deleted file mode 100644
index 3ad7253..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgLinearGradientFill.g.cs
+++ /dev/null
@@ -1,95 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// A linear gradient fill that transitions colors along a straight line.
- /// The gradient direction is controlled by the `angle` property.
- ///
- public sealed partial class SvgLinearGradientFill
- {
- ///
- /// The fill type - set to `linear` for a linear gradient fill.
- ///
- [global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Shotstack.JsonConverters.SvgLinearGradientFillTypeJsonConverter))]
- public global::Shotstack.SvgLinearGradientFillType Type { get; set; }
-
- ///
- /// The angle of the gradient in degrees. `0` is horizontal (left to right),
- /// `90` is vertical (bottom to top), `180` is right to left, etc.
- /// Default Value: 0
- /// Example: 45
- ///
- /// 45
- [global::System.Text.Json.Serialization.JsonPropertyName("angle")]
- public double? Angle { get; set; }
-
- ///
- /// Array of color stops that define the gradient colors and their positions.
- /// Must have at least 2 stops. Offsets should increase from 0 to 1.
- ///
- [global::System.Text.Json.Serialization.JsonPropertyName("stops")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required global::System.Collections.Generic.IList Stops { get; set; }
-
- ///
- /// The overall opacity of the gradient where `1` is fully opaque and `0` is fully transparent.
- /// Default Value: 1
- /// Example: 1
- ///
- /// 1
- [global::System.Text.Json.Serialization.JsonPropertyName("opacity")]
- public double? Opacity { get; set; }
-
- ///
- /// Additional properties that are not explicitly defined in the schema
- ///
- [global::System.Text.Json.Serialization.JsonExtensionData]
- public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
-
- ///
- /// Initializes a new instance of the class.
- ///
- ///
- /// Array of color stops that define the gradient colors and their positions.
- /// Must have at least 2 stops. Offsets should increase from 0 to 1.
- ///
- ///
- /// The fill type - set to `linear` for a linear gradient fill.
- ///
- ///
- /// The angle of the gradient in degrees. `0` is horizontal (left to right),
- /// `90` is vertical (bottom to top), `180` is right to left, etc.
- /// Default Value: 0
- /// Example: 45
- ///
- ///
- /// The overall opacity of the gradient where `1` is fully opaque and `0` is fully transparent.
- /// Default Value: 1
- /// Example: 1
- ///
-#if NET7_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
-#endif
- public SvgLinearGradientFill(
- global::System.Collections.Generic.IList stops,
- global::Shotstack.SvgLinearGradientFillType type,
- double? angle,
- double? opacity)
- {
- this.Type = type;
- this.Angle = angle;
- this.Stops = stops ?? throw new global::System.ArgumentNullException(nameof(stops));
- this.Opacity = opacity;
- }
-
- ///
- /// Initializes a new instance of the class.
- ///
- public SvgLinearGradientFill()
- {
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgLinearGradientFillType.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgLinearGradientFillType.g.cs
deleted file mode 100644
index ac9825f..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgLinearGradientFillType.g.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// The fill type - set to `linear` for a linear gradient fill.
- ///
- public enum SvgLinearGradientFillType
- {
- ///
- ///
- ///
- Linear,
- }
-
- ///
- /// Enum extensions to do fast conversions without the reflection.
- ///
- public static class SvgLinearGradientFillTypeExtensions
- {
- ///
- /// Converts an enum to a string.
- ///
- public static string ToValueString(this SvgLinearGradientFillType value)
- {
- return value switch
- {
- SvgLinearGradientFillType.Linear => "linear",
- _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
- };
- }
- ///
- /// Converts an string to a enum.
- ///
- public static SvgLinearGradientFillType? ToEnum(string value)
- {
- return value switch
- {
- "linear" => SvgLinearGradientFillType.Linear,
- _ => null,
- };
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgPathShape.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgPathShape.Json.g.cs
deleted file mode 100644
index 0c9d963..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgPathShape.Json.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-#nullable enable
-
-namespace Shotstack
-{
- public sealed partial class SvgPathShape
- {
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
- ///
- public string ToJson(
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- this.GetType(),
- jsonSerializerContext);
- }
-
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public string ToJson(
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerContext.
- ///
- public static global::Shotstack.SvgPathShape? FromJson(
- string json,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- typeof(global::Shotstack.SvgPathShape),
- jsonSerializerContext) as global::Shotstack.SvgPathShape;
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::Shotstack.SvgPathShape? FromJson(
- string json,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerContext.
- ///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- typeof(global::Shotstack.SvgPathShape),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.SvgPathShape;
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- jsonSerializerOptions);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgPathShape.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgPathShape.g.cs
deleted file mode 100644
index 33430dd..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgPathShape.g.cs
+++ /dev/null
@@ -1,77 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// A custom shape defined by SVG path data.
- /// Supports all standard SVG path commands for creating complex shapes.
- /// **Path Commands:**
- /// - `M x y` / `m dx dy` - Move to (absolute/relative)
- /// - `L x y` / `l dx dy` - Line to
- /// - `H x` / `h dx` - Horizontal line to
- /// - `V y` / `v dy` - Vertical line to
- /// - `C x1 y1 x2 y2 x y` / `c` - Cubic Bezier curve
- /// - `S x2 y2 x y` / `s` - Smooth cubic Bezier
- /// - `Q x1 y1 x y` / `q` - Quadratic Bezier curve
- /// - `T x y` / `t` - Smooth quadratic Bezier
- /// - `A rx ry angle large-arc sweep x y` / `a` - Elliptical arc
- /// - `Z` / `z` - Close path
- ///
- public sealed partial class SvgPathShape
- {
- ///
- /// The shape type - set to `path`.
- ///
- [global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Shotstack.JsonConverters.SvgPathShapeTypeJsonConverter))]
- public global::Shotstack.SvgPathShapeType Type { get; set; }
-
- ///
- /// The SVG path data string defining the shape.
- /// Uses standard SVG path commands (M, L, C, Q, A, Z, etc.).
- /// Example: `M 0 0 L 100 0 L 100 100 L 0 100 Z` draws a square.
- /// Example: M 0 0 L 100 0 L 50 86.6 Z
- ///
- /// M 0 0 L 100 0 L 50 86.6 Z
- [global::System.Text.Json.Serialization.JsonPropertyName("d")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string D { get; set; }
-
- ///
- /// Additional properties that are not explicitly defined in the schema
- ///
- [global::System.Text.Json.Serialization.JsonExtensionData]
- public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
-
- ///
- /// Initializes a new instance of the class.
- ///
- ///
- /// The SVG path data string defining the shape.
- /// Uses standard SVG path commands (M, L, C, Q, A, Z, etc.).
- /// Example: `M 0 0 L 100 0 L 100 100 L 0 100 Z` draws a square.
- /// Example: M 0 0 L 100 0 L 50 86.6 Z
- ///
- ///
- /// The shape type - set to `path`.
- ///
-#if NET7_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
-#endif
- public SvgPathShape(
- string d,
- global::Shotstack.SvgPathShapeType type)
- {
- this.Type = type;
- this.D = d ?? throw new global::System.ArgumentNullException(nameof(d));
- }
-
- ///
- /// Initializes a new instance of the class.
- ///
- public SvgPathShape()
- {
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgPathShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgPathShapeType.g.cs
deleted file mode 100644
index 80f40bc..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgPathShapeType.g.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// The shape type - set to `path`.
- ///
- public enum SvgPathShapeType
- {
- ///
- ///
- ///
- Path,
- }
-
- ///
- /// Enum extensions to do fast conversions without the reflection.
- ///
- public static class SvgPathShapeTypeExtensions
- {
- ///
- /// Converts an enum to a string.
- ///
- public static string ToValueString(this SvgPathShapeType value)
- {
- return value switch
- {
- SvgPathShapeType.Path => "path",
- _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
- };
- }
- ///
- /// Converts an string to a enum.
- ///
- public static SvgPathShapeType? ToEnum(string value)
- {
- return value switch
- {
- "path" => SvgPathShapeType.Path,
- _ => null,
- };
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgPolygonShape.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgPolygonShape.Json.g.cs
deleted file mode 100644
index 1e78f90..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgPolygonShape.Json.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-#nullable enable
-
-namespace Shotstack
-{
- public sealed partial class SvgPolygonShape
- {
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
- ///
- public string ToJson(
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- this.GetType(),
- jsonSerializerContext);
- }
-
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public string ToJson(
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerContext.
- ///
- public static global::Shotstack.SvgPolygonShape? FromJson(
- string json,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- typeof(global::Shotstack.SvgPolygonShape),
- jsonSerializerContext) as global::Shotstack.SvgPolygonShape;
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::Shotstack.SvgPolygonShape? FromJson(
- string json,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerContext.
- ///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- typeof(global::Shotstack.SvgPolygonShape),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.SvgPolygonShape;
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- jsonSerializerOptions);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgPolygonShape.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgPolygonShape.g.cs
deleted file mode 100644
index 9550de7..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgPolygonShape.g.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// A regular polygon shape with a specified number of sides.
- /// Examples: triangle (3), square (4), pentagon (5), hexagon (6), etc.
- /// The polygon is inscribed in a circle of the given radius.
- ///
- public sealed partial class SvgPolygonShape
- {
- ///
- /// The shape type - set to `polygon`.
- ///
- [global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Shotstack.JsonConverters.SvgPolygonShapeTypeJsonConverter))]
- public global::Shotstack.SvgPolygonShapeType Type { get; set; }
-
- ///
- /// The number of sides of the polygon.
- /// Minimum 3 (triangle), maximum 100 for practical use.
- /// Example: 6
- ///
- /// 6
- [global::System.Text.Json.Serialization.JsonPropertyName("sides")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required int Sides { get; set; }
-
- ///
- /// The radius of the circumscribed circle in pixels.
- /// This determines the size of the polygon.
- /// Example: 50
- ///
- /// 50
- [global::System.Text.Json.Serialization.JsonPropertyName("radius")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double Radius { get; set; }
-
- ///
- /// Additional properties that are not explicitly defined in the schema
- ///
- [global::System.Text.Json.Serialization.JsonExtensionData]
- public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
-
- ///
- /// Initializes a new instance of the class.
- ///
- ///
- /// The number of sides of the polygon.
- /// Minimum 3 (triangle), maximum 100 for practical use.
- /// Example: 6
- ///
- ///
- /// The radius of the circumscribed circle in pixels.
- /// This determines the size of the polygon.
- /// Example: 50
- ///
- ///
- /// The shape type - set to `polygon`.
- ///
-#if NET7_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
-#endif
- public SvgPolygonShape(
- int sides,
- double radius,
- global::Shotstack.SvgPolygonShapeType type)
- {
- this.Type = type;
- this.Sides = sides;
- this.Radius = radius;
- }
-
- ///
- /// Initializes a new instance of the class.
- ///
- public SvgPolygonShape()
- {
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgPolygonShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgPolygonShapeType.g.cs
deleted file mode 100644
index 059a95a..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgPolygonShapeType.g.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// The shape type - set to `polygon`.
- ///
- public enum SvgPolygonShapeType
- {
- ///
- ///
- ///
- Polygon,
- }
-
- ///
- /// Enum extensions to do fast conversions without the reflection.
- ///
- public static class SvgPolygonShapeTypeExtensions
- {
- ///
- /// Converts an enum to a string.
- ///
- public static string ToValueString(this SvgPolygonShapeType value)
- {
- return value switch
- {
- SvgPolygonShapeType.Polygon => "polygon",
- _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
- };
- }
- ///
- /// Converts an string to a enum.
- ///
- public static SvgPolygonShapeType? ToEnum(string value)
- {
- return value switch
- {
- "polygon" => SvgPolygonShapeType.Polygon,
- _ => null,
- };
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgRadialGradientFill.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgRadialGradientFill.Json.g.cs
deleted file mode 100644
index c5408e6..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgRadialGradientFill.Json.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-#nullable enable
-
-namespace Shotstack
-{
- public sealed partial class SvgRadialGradientFill
- {
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
- ///
- public string ToJson(
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- this.GetType(),
- jsonSerializerContext);
- }
-
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public string ToJson(
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerContext.
- ///
- public static global::Shotstack.SvgRadialGradientFill? FromJson(
- string json,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- typeof(global::Shotstack.SvgRadialGradientFill),
- jsonSerializerContext) as global::Shotstack.SvgRadialGradientFill;
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::Shotstack.SvgRadialGradientFill? FromJson(
- string json,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerContext.
- ///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- typeof(global::Shotstack.SvgRadialGradientFill),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.SvgRadialGradientFill;
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- jsonSerializerOptions);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgRadialGradientFill.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgRadialGradientFill.g.cs
deleted file mode 100644
index 83fa9be..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgRadialGradientFill.g.cs
+++ /dev/null
@@ -1,77 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// A radial gradient fill that transitions colors radiating outward from a center point.
- /// The gradient creates a circular or elliptical color transition.
- ///
- public sealed partial class SvgRadialGradientFill
- {
- ///
- /// The fill type - set to `radial` for a radial gradient fill.
- ///
- [global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Shotstack.JsonConverters.SvgRadialGradientFillTypeJsonConverter))]
- public global::Shotstack.SvgRadialGradientFillType Type { get; set; }
-
- ///
- /// Array of color stops that define the gradient colors and their positions.
- /// Must have at least 2 stops. Offset `0` is the center, `1` is the outer edge.
- ///
- [global::System.Text.Json.Serialization.JsonPropertyName("stops")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required global::System.Collections.Generic.IList Stops { get; set; }
-
- ///
- /// The overall opacity of the gradient where `1` is fully opaque and `0` is fully transparent.
- /// Default Value: 1
- /// Example: 1
- ///
- /// 1
- [global::System.Text.Json.Serialization.JsonPropertyName("opacity")]
- public double? Opacity { get; set; }
-
- ///
- /// Additional properties that are not explicitly defined in the schema
- ///
- [global::System.Text.Json.Serialization.JsonExtensionData]
- public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
-
- ///
- /// Initializes a new instance of the class.
- ///
- ///
- /// Array of color stops that define the gradient colors and their positions.
- /// Must have at least 2 stops. Offset `0` is the center, `1` is the outer edge.
- ///
- ///
- /// The fill type - set to `radial` for a radial gradient fill.
- ///
- ///
- /// The overall opacity of the gradient where `1` is fully opaque and `0` is fully transparent.
- /// Default Value: 1
- /// Example: 1
- ///
-#if NET7_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
-#endif
- public SvgRadialGradientFill(
- global::System.Collections.Generic.IList stops,
- global::Shotstack.SvgRadialGradientFillType type,
- double? opacity)
- {
- this.Type = type;
- this.Stops = stops ?? throw new global::System.ArgumentNullException(nameof(stops));
- this.Opacity = opacity;
- }
-
- ///
- /// Initializes a new instance of the class.
- ///
- public SvgRadialGradientFill()
- {
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgRadialGradientFillType.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgRadialGradientFillType.g.cs
deleted file mode 100644
index 45fb257..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgRadialGradientFillType.g.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// The fill type - set to `radial` for a radial gradient fill.
- ///
- public enum SvgRadialGradientFillType
- {
- ///
- ///
- ///
- Radial,
- }
-
- ///
- /// Enum extensions to do fast conversions without the reflection.
- ///
- public static class SvgRadialGradientFillTypeExtensions
- {
- ///
- /// Converts an enum to a string.
- ///
- public static string ToValueString(this SvgRadialGradientFillType value)
- {
- return value switch
- {
- SvgRadialGradientFillType.Radial => "radial",
- _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
- };
- }
- ///
- /// Converts an string to a enum.
- ///
- public static SvgRadialGradientFillType? ToEnum(string value)
- {
- return value switch
- {
- "radial" => SvgRadialGradientFillType.Radial,
- _ => null,
- };
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgRectangleShape.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgRectangleShape.Json.g.cs
deleted file mode 100644
index eba1a8e..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgRectangleShape.Json.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-#nullable enable
-
-namespace Shotstack
-{
- public sealed partial class SvgRectangleShape
- {
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
- ///
- public string ToJson(
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- this.GetType(),
- jsonSerializerContext);
- }
-
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public string ToJson(
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerContext.
- ///
- public static global::Shotstack.SvgRectangleShape? FromJson(
- string json,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- typeof(global::Shotstack.SvgRectangleShape),
- jsonSerializerContext) as global::Shotstack.SvgRectangleShape;
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::Shotstack.SvgRectangleShape? FromJson(
- string json,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerContext.
- ///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- typeof(global::Shotstack.SvgRectangleShape),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.SvgRectangleShape;
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- jsonSerializerOptions);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgRectangleShape.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgRectangleShape.g.cs
deleted file mode 100644
index 3e14006..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgRectangleShape.g.cs
+++ /dev/null
@@ -1,97 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// A rectangle shape with optional rounded corners.
- /// The rectangle is defined by its width and height dimensions.
- ///
- public sealed partial class SvgRectangleShape
- {
- ///
- /// The shape type - set to `rectangle`.
- ///
- [global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Shotstack.JsonConverters.SvgRectangleShapeTypeJsonConverter))]
- public global::Shotstack.SvgRectangleShapeType Type { get; set; }
-
- ///
- /// The width of the rectangle in pixels.
- /// Example: 200
- ///
- /// 200
- [global::System.Text.Json.Serialization.JsonPropertyName("width")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double Width { get; set; }
-
- ///
- /// The height of the rectangle in pixels.
- /// Example: 100
- ///
- /// 100
- [global::System.Text.Json.Serialization.JsonPropertyName("height")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double Height { get; set; }
-
- ///
- /// The corner radius for rounded corners in pixels.
- /// Set to `0` for sharp corners. The radius is automatically clamped
- /// to half of the smallest dimension.
- /// Default Value: 0
- /// Example: 10
- ///
- /// 10
- [global::System.Text.Json.Serialization.JsonPropertyName("cornerRadius")]
- public double? CornerRadius { get; set; }
-
- ///
- /// Additional properties that are not explicitly defined in the schema
- ///
- [global::System.Text.Json.Serialization.JsonExtensionData]
- public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
-
- ///
- /// Initializes a new instance of the class.
- ///
- ///
- /// The width of the rectangle in pixels.
- /// Example: 200
- ///
- ///
- /// The height of the rectangle in pixels.
- /// Example: 100
- ///
- ///
- /// The shape type - set to `rectangle`.
- ///
- ///
- /// The corner radius for rounded corners in pixels.
- /// Set to `0` for sharp corners. The radius is automatically clamped
- /// to half of the smallest dimension.
- /// Default Value: 0
- /// Example: 10
- ///
-#if NET7_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
-#endif
- public SvgRectangleShape(
- double width,
- double height,
- global::Shotstack.SvgRectangleShapeType type,
- double? cornerRadius)
- {
- this.Type = type;
- this.Width = width;
- this.Height = height;
- this.CornerRadius = cornerRadius;
- }
-
- ///
- /// Initializes a new instance of the class.
- ///
- public SvgRectangleShape()
- {
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgRectangleShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgRectangleShapeType.g.cs
deleted file mode 100644
index 5d2dedf..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgRectangleShapeType.g.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// The shape type - set to `rectangle`.
- ///
- public enum SvgRectangleShapeType
- {
- ///
- ///
- ///
- Rectangle,
- }
-
- ///
- /// Enum extensions to do fast conversions without the reflection.
- ///
- public static class SvgRectangleShapeTypeExtensions
- {
- ///
- /// Converts an enum to a string.
- ///
- public static string ToValueString(this SvgRectangleShapeType value)
- {
- return value switch
- {
- SvgRectangleShapeType.Rectangle => "rectangle",
- _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
- };
- }
- ///
- /// Converts an string to a enum.
- ///
- public static SvgRectangleShapeType? ToEnum(string value)
- {
- return value switch
- {
- "rectangle" => SvgRectangleShapeType.Rectangle,
- _ => null,
- };
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgRingShape.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgRingShape.Json.g.cs
deleted file mode 100644
index 2ebafad..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgRingShape.Json.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-#nullable enable
-
-namespace Shotstack
-{
- public sealed partial class SvgRingShape
- {
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
- ///
- public string ToJson(
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- this.GetType(),
- jsonSerializerContext);
- }
-
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public string ToJson(
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerContext.
- ///
- public static global::Shotstack.SvgRingShape? FromJson(
- string json,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- typeof(global::Shotstack.SvgRingShape),
- jsonSerializerContext) as global::Shotstack.SvgRingShape;
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::Shotstack.SvgRingShape? FromJson(
- string json,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerContext.
- ///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- typeof(global::Shotstack.SvgRingShape),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.SvgRingShape;
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- jsonSerializerOptions);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgRingShape.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgRingShape.g.cs
deleted file mode 100644
index 2dadd4c..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgRingShape.g.cs
+++ /dev/null
@@ -1,79 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// A ring (donut/annulus) shape - a circle with a circular hole in the center.
- /// The ring is defined by outer and inner radii.
- ///
- public sealed partial class SvgRingShape
- {
- ///
- /// The shape type - set to `ring`.
- ///
- [global::System.Text.Json.Serialization.JsonPropertyName("type")]
- [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Shotstack.JsonConverters.SvgRingShapeTypeJsonConverter))]
- public global::Shotstack.SvgRingShapeType Type { get; set; }
-
- ///
- /// The outer radius of the ring in pixels.
- /// Example: 50
- ///
- /// 50
- [global::System.Text.Json.Serialization.JsonPropertyName("outerRadius")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double OuterRadius { get; set; }
-
- ///
- /// The inner radius (hole) of the ring in pixels.
- /// Must be smaller than outerRadius.
- /// Example: 30
- ///
- /// 30
- [global::System.Text.Json.Serialization.JsonPropertyName("innerRadius")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required double InnerRadius { get; set; }
-
- ///
- /// Additional properties that are not explicitly defined in the schema
- ///
- [global::System.Text.Json.Serialization.JsonExtensionData]
- public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
-
- ///
- /// Initializes a new instance of the class.
- ///
- ///
- /// The outer radius of the ring in pixels.
- /// Example: 50
- ///
- ///
- /// The inner radius (hole) of the ring in pixels.
- /// Must be smaller than outerRadius.
- /// Example: 30
- ///
- ///
- /// The shape type - set to `ring`.
- ///
-#if NET7_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
-#endif
- public SvgRingShape(
- double outerRadius,
- double innerRadius,
- global::Shotstack.SvgRingShapeType type)
- {
- this.Type = type;
- this.OuterRadius = outerRadius;
- this.InnerRadius = innerRadius;
- }
-
- ///
- /// Initializes a new instance of the class.
- ///
- public SvgRingShape()
- {
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgRingShapeType.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgRingShapeType.g.cs
deleted file mode 100644
index 7c80be1..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgRingShapeType.g.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// The shape type - set to `ring`.
- ///
- public enum SvgRingShapeType
- {
- ///
- ///
- ///
- Ring,
- }
-
- ///
- /// Enum extensions to do fast conversions without the reflection.
- ///
- public static class SvgRingShapeTypeExtensions
- {
- ///
- /// Converts an enum to a string.
- ///
- public static string ToValueString(this SvgRingShapeType value)
- {
- return value switch
- {
- SvgRingShapeType.Ring => "ring",
- _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
- };
- }
- ///
- /// Converts an string to a enum.
- ///
- public static SvgRingShapeType? ToEnum(string value)
- {
- return value switch
- {
- "ring" => SvgRingShapeType.Ring,
- _ => null,
- };
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgShadow.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgShadow.Json.g.cs
deleted file mode 100644
index 44c453e..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgShadow.Json.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-#nullable enable
-
-namespace Shotstack
-{
- public sealed partial class SvgShadow
- {
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
- ///
- public string ToJson(
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- this.GetType(),
- jsonSerializerContext);
- }
-
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public string ToJson(
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerContext.
- ///
- public static global::Shotstack.SvgShadow? FromJson(
- string json,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- typeof(global::Shotstack.SvgShadow),
- jsonSerializerContext) as global::Shotstack.SvgShadow;
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::Shotstack.SvgShadow? FromJson(
- string json,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerContext.
- ///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- typeof(global::Shotstack.SvgShadow),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.SvgShadow;
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- jsonSerializerOptions);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgShadow.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgShadow.g.cs
deleted file mode 100644
index 95fb162..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgShadow.g.cs
+++ /dev/null
@@ -1,118 +0,0 @@
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// Drop shadow properties for SVG shapes. Creates a shadow effect behind the shape.
- ///
- public sealed partial class SvgShadow
- {
- ///
- /// Horizontal offset of the shadow in pixels.
- /// Positive values move the shadow to the right, negative to the left.
- /// Default Value: 0
- /// Example: 4
- ///
- /// 4
- [global::System.Text.Json.Serialization.JsonPropertyName("offsetX")]
- public double? OffsetX { get; set; }
-
- ///
- /// Vertical offset of the shadow in pixels.
- /// Positive values move the shadow down, negative values move it up.
- /// Default Value: 0
- /// Example: 4
- ///
- /// 4
- [global::System.Text.Json.Serialization.JsonPropertyName("offsetY")]
- public double? OffsetY { get; set; }
-
- ///
- /// The blur radius of the shadow in pixels. Must be 0 or greater.
- /// Default Value: 0
- /// Example: 8
- ///
- /// 8
- [global::System.Text.Json.Serialization.JsonPropertyName("blur")]
- public double? Blur { get; set; }
-
- ///
- /// The shadow color using hexadecimal color notation.
- /// Default Value: #000000
- /// Example: #000000
- ///
- /// #000000
- [global::System.Text.Json.Serialization.JsonPropertyName("color")]
- public string? Color { get; set; }
-
- ///
- /// The opacity of the shadow where `1` is opaque and `0` is transparent.
- /// Default Value: 0.5F
- /// Example: 0.3F
- ///
- /// 0.3F
- [global::System.Text.Json.Serialization.JsonPropertyName("opacity")]
- public double? Opacity { get; set; }
-
- ///
- /// Additional properties that are not explicitly defined in the schema
- ///
- [global::System.Text.Json.Serialization.JsonExtensionData]
- public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
-
- ///
- /// Initializes a new instance of the class.
- ///
- ///
- /// Horizontal offset of the shadow in pixels.
- /// Positive values move the shadow to the right, negative to the left.
- /// Default Value: 0
- /// Example: 4
- ///
- ///
- /// Vertical offset of the shadow in pixels.
- /// Positive values move the shadow down, negative values move it up.
- /// Default Value: 0
- /// Example: 4
- ///
- ///
- /// The blur radius of the shadow in pixels. Must be 0 or greater.
- /// Default Value: 0
- /// Example: 8
- ///
- ///
- /// The shadow color using hexadecimal color notation.
- /// Default Value: #000000
- /// Example: #000000
- ///
- ///
- /// The opacity of the shadow where `1` is opaque and `0` is transparent.
- /// Default Value: 0.5F
- /// Example: 0.3F
- ///
-#if NET7_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
-#endif
- public SvgShadow(
- double? offsetX,
- double? offsetY,
- double? blur,
- string? color,
- double? opacity)
- {
- this.OffsetX = offsetX;
- this.OffsetY = offsetY;
- this.Blur = blur;
- this.Color = color;
- this.Opacity = opacity;
- }
-
- ///
- /// Initializes a new instance of the class.
- ///
- public SvgShadow()
- {
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgShape.Json.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgShape.Json.g.cs
deleted file mode 100644
index f195e79..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgShape.Json.g.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-#nullable enable
-
-namespace Shotstack
-{
- public readonly partial struct SvgShape
- {
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
- ///
- public string ToJson(
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- this.GetType(),
- jsonSerializerContext);
- }
-
- ///
- /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public string ToJson(
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Serialize(
- this,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerContext.
- ///
- public static global::Shotstack.SvgShape? FromJson(
- string json,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- typeof(global::Shotstack.SvgShape),
- jsonSerializerContext) as global::Shotstack.SvgShape?;
- }
-
- ///
- /// Deserializes a JSON string using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::Shotstack.SvgShape? FromJson(
- string json,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.Deserialize(
- json,
- jsonSerializerOptions);
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerContext.
- ///
- public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- typeof(global::Shotstack.SvgShape),
- jsonSerializerContext).ConfigureAwait(false)) as global::Shotstack.SvgShape?;
- }
-
- ///
- /// Deserializes a JSON stream using the provided JsonSerializerOptions.
- ///
-#if NET8_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
- [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
-#endif
- public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
- global::System.IO.Stream jsonStream,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
- {
- return global::System.Text.Json.JsonSerializer.DeserializeAsync(
- jsonStream,
- jsonSerializerOptions);
- }
- }
-}
diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.SvgShape.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.SvgShape.g.cs
deleted file mode 100644
index 271626e..0000000
--- a/src/libs/Shotstack/Generated/Shotstack.Models.SvgShape.g.cs
+++ /dev/null
@@ -1,722 +0,0 @@
-#pragma warning disable CS0618 // Type or member is obsolete
-
-#nullable enable
-
-namespace Shotstack
-{
- ///
- /// The shape definition for an SVG asset. Each shape type has its own specific
- /// properties. The `type` field determines which shape is rendered.
- ///
- public readonly partial struct SvgShape : global::System.IEquatable
- {
- ///
- ///
- ///
- public global::Shotstack.SvgShapeDiscriminatorType? Type { get; }
-
- ///
- /// A rectangle shape with optional rounded corners.
- /// The rectangle is defined by its width and height dimensions.
- ///
-#if NET6_0_OR_GREATER
- public global::Shotstack.SvgRectangleShape? Rectangle { get; init; }
-#else
- public global::Shotstack.SvgRectangleShape? Rectangle { get; }
-#endif
-
- ///
- ///
- ///
-#if NET6_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Rectangle))]
-#endif
- public bool IsRectangle => Rectangle != null;
-
- ///
- /// A perfect circle shape defined by its radius.
- /// The circle is centered at the shape's position.
- ///
-#if NET6_0_OR_GREATER
- public global::Shotstack.SvgCircleShape? Circle { get; init; }
-#else
- public global::Shotstack.SvgCircleShape? Circle { get; }
-#endif
-
- ///
- ///
- ///
-#if NET6_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Circle))]
-#endif
- public bool IsCircle => Circle != null;
-
- ///
- /// An ellipse (oval) shape with separate horizontal and vertical radii.
- /// The ellipse is centered at the shape's position.
- ///
-#if NET6_0_OR_GREATER
- public global::Shotstack.SvgEllipseShape? Ellipse { get; init; }
-#else
- public global::Shotstack.SvgEllipseShape? Ellipse { get; }
-#endif
-
- ///
- ///
- ///
-#if NET6_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Ellipse))]
-#endif
- public bool IsEllipse => Ellipse != null;
-
- ///
- /// A straight line shape with a specified length and thickness.
- /// The line is drawn horizontally by default and can be rotated using transform.
- ///
-#if NET6_0_OR_GREATER
- public global::Shotstack.SvgLineShape? Line { get; init; }
-#else
- public global::Shotstack.SvgLineShape? Line { get; }
-#endif
-
- ///
- ///
- ///
-#if NET6_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Line))]
-#endif
- public bool IsLine => Line != null;
-
- ///
- /// A regular polygon shape with a specified number of sides.
- /// Examples: triangle (3), square (4), pentagon (5), hexagon (6), etc.
- /// The polygon is inscribed in a circle of the given radius.
- ///
-#if NET6_0_OR_GREATER
- public global::Shotstack.SvgPolygonShape? Polygon { get; init; }
-#else
- public global::Shotstack.SvgPolygonShape? Polygon { get; }
-#endif
-
- ///
- ///
- ///
-#if NET6_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Polygon))]
-#endif
- public bool IsPolygon => Polygon != null;
-
- ///
- /// A star shape with a specified number of points.
- /// The star is defined by outer and inner radii, creating the characteristic
- /// pointed appearance.
- ///
-#if NET6_0_OR_GREATER
- public global::Shotstack.SvgStarShape? Star { get; init; }
-#else
- public global::Shotstack.SvgStarShape? Star { get; }
-#endif
-
- ///
- ///
- ///
-#if NET6_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Star))]
-#endif
- public bool IsStar => Star != null;
-
- ///
- /// An arrow shape pointing to the right by default.
- /// Use transform rotation to change direction.
- ///
-#if NET6_0_OR_GREATER
- public global::Shotstack.SvgArrowShape? Arrow { get; init; }
-#else
- public global::Shotstack.SvgArrowShape? Arrow { get; }
-#endif
-
- ///
- ///
- ///
-#if NET6_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Arrow))]
-#endif
- public bool IsArrow => Arrow != null;
-
- ///
- /// A heart shape commonly used for love/like icons.
- /// The heart is defined by a single size parameter.
- ///
-#if NET6_0_OR_GREATER
- public global::Shotstack.SvgHeartShape? Heart { get; init; }
-#else
- public global::Shotstack.SvgHeartShape? Heart { get; }
-#endif
-
- ///
- ///
- ///
-#if NET6_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Heart))]
-#endif
- public bool IsHeart => Heart != null;
-
- ///
- /// A cross or plus shape with equal or different arm lengths.
- /// Can be styled as a plus sign (+) or a cross (x with rotation).
- ///
-#if NET6_0_OR_GREATER
- public global::Shotstack.SvgCrossShape? Cross { get; init; }
-#else
- public global::Shotstack.SvgCrossShape? Cross { get; }
-#endif
-
- ///
- ///
- ///
-#if NET6_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Cross))]
-#endif
- public bool IsCross => Cross != null;
-
- ///
- /// A ring (donut/annulus) shape - a circle with a circular hole in the center.
- /// The ring is defined by outer and inner radii.
- ///
-#if NET6_0_OR_GREATER
- public global::Shotstack.SvgRingShape? Ring { get; init; }
-#else
- public global::Shotstack.SvgRingShape? Ring { get; }
-#endif
-
- ///
- ///
- ///
-#if NET6_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Ring))]
-#endif
- public bool IsRing => Ring != null;
-
- ///
- /// A custom shape defined by SVG path data.
- /// Supports all standard SVG path commands for creating complex shapes.
- /// **Path Commands:**
- /// - `M x y` / `m dx dy` - Move to (absolute/relative)
- /// - `L x y` / `l dx dy` - Line to
- /// - `H x` / `h dx` - Horizontal line to
- /// - `V y` / `v dy` - Vertical line to
- /// - `C x1 y1 x2 y2 x y` / `c` - Cubic Bezier curve
- /// - `S x2 y2 x y` / `s` - Smooth cubic Bezier
- /// - `Q x1 y1 x y` / `q` - Quadratic Bezier curve
- /// - `T x y` / `t` - Smooth quadratic Bezier
- /// - `A rx ry angle large-arc sweep x y` / `a` - Elliptical arc
- /// - `Z` / `z` - Close path
- ///
-#if NET6_0_OR_GREATER
- public global::Shotstack.SvgPathShape? Path { get; init; }
-#else
- public global::Shotstack.SvgPathShape? Path { get; }
-#endif
-
- ///
- ///
- ///
-#if NET6_0_OR_GREATER
- [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Path))]
-#endif
- public bool IsPath => Path != null;
- ///
- ///
- ///
- public static implicit operator SvgShape(global::Shotstack.SvgRectangleShape value) => new SvgShape((global::Shotstack.SvgRectangleShape?)value);
-
- ///
- ///
- ///
- public static implicit operator global::Shotstack.SvgRectangleShape?(SvgShape @this) => @this.Rectangle;
-
- ///
- ///
- ///
- public SvgShape(global::Shotstack.SvgRectangleShape? value)
- {
- Rectangle = value;
- }
-
- ///
- ///
- ///
- public static implicit operator SvgShape(global::Shotstack.SvgCircleShape value) => new SvgShape((global::Shotstack.SvgCircleShape?)value);
-
- ///
- ///
- ///
- public static implicit operator global::Shotstack.SvgCircleShape?(SvgShape @this) => @this.Circle;
-
- ///
- ///
- ///
- public SvgShape(global::Shotstack.SvgCircleShape? value)
- {
- Circle = value;
- }
-
- ///
- ///
- ///
- public static implicit operator SvgShape(global::Shotstack.SvgEllipseShape value) => new SvgShape((global::Shotstack.SvgEllipseShape?)value);
-
- ///
- ///
- ///
- public static implicit operator global::Shotstack.SvgEllipseShape?(SvgShape @this) => @this.Ellipse;
-
- ///
- ///
- ///
- public SvgShape(global::Shotstack.SvgEllipseShape? value)
- {
- Ellipse = value;
- }
-
- ///
- ///
- ///
- public static implicit operator SvgShape(global::Shotstack.SvgLineShape value) => new SvgShape((global::Shotstack.SvgLineShape?)value);
-
- ///
- ///
- ///
- public static implicit operator global::Shotstack.SvgLineShape?(SvgShape @this) => @this.Line;
-
- ///
- ///
- ///
- public SvgShape(global::Shotstack.SvgLineShape? value)
- {
- Line = value;
- }
-
- ///
- ///
- ///
- public static implicit operator SvgShape(global::Shotstack.SvgPolygonShape value) => new SvgShape((global::Shotstack.SvgPolygonShape?)value);
-
- ///
- ///
- ///
- public static implicit operator global::Shotstack.SvgPolygonShape?(SvgShape @this) => @this.Polygon;
-
- ///
- ///
- ///
- public SvgShape(global::Shotstack.SvgPolygonShape? value)
- {
- Polygon = value;
- }
-
- ///
- ///
- ///
- public static implicit operator SvgShape(global::Shotstack.SvgStarShape value) => new SvgShape((global::Shotstack.SvgStarShape?)value);
-
- ///
- ///
- ///
- public static implicit operator global::Shotstack.SvgStarShape?(SvgShape @this) => @this.Star;
-
- ///
- ///
- ///
- public SvgShape(global::Shotstack.SvgStarShape? value)
- {
- Star = value;
- }
-
- ///
- ///
- ///
- public static implicit operator SvgShape(global::Shotstack.SvgArrowShape value) => new SvgShape((global::Shotstack.SvgArrowShape?)value);
-
- ///
- ///
- ///
- public static implicit operator global::Shotstack.SvgArrowShape?(SvgShape @this) => @this.Arrow;
-
- ///
- ///
- ///
- public SvgShape(global::Shotstack.SvgArrowShape? value)
- {
- Arrow = value;
- }
-
- ///
- ///
- ///
- public static implicit operator SvgShape(global::Shotstack.SvgHeartShape value) => new SvgShape((global::Shotstack.SvgHeartShape?)value);
-
- ///
- ///
- ///
- public static implicit operator global::Shotstack.SvgHeartShape?(SvgShape @this) => @this.Heart;
-
- ///
- ///
- ///
- public SvgShape(global::Shotstack.SvgHeartShape? value)
- {
- Heart = value;
- }
-
- ///
- ///
- ///
- public static implicit operator SvgShape(global::Shotstack.SvgCrossShape value) => new SvgShape((global::Shotstack.SvgCrossShape?)value);
-
- ///
- ///
- ///
- public static implicit operator global::Shotstack.SvgCrossShape?(SvgShape @this) => @this.Cross;
-
- ///
- ///
- ///
- public SvgShape(global::Shotstack.SvgCrossShape? value)
- {
- Cross = value;
- }
-
- ///
- ///
- ///
- public static implicit operator SvgShape(global::Shotstack.SvgRingShape value) => new SvgShape((global::Shotstack.SvgRingShape?)value);
-
- ///
- ///
- ///
- public static implicit operator global::Shotstack.SvgRingShape?(SvgShape @this) => @this.Ring;
-
- ///
- ///
- ///
- public SvgShape(global::Shotstack.SvgRingShape? value)
- {
- Ring = value;
- }
-
- ///
- ///
- ///
- public static implicit operator SvgShape(global::Shotstack.SvgPathShape value) => new SvgShape((global::Shotstack.SvgPathShape?)value);
-
- ///
- ///
- ///
- public static implicit operator global::Shotstack.SvgPathShape?(SvgShape @this) => @this.Path;
-
- ///
- ///
- ///
- public SvgShape(global::Shotstack.SvgPathShape? value)
- {
- Path = value;
- }
-
- ///
- ///
- ///
- public SvgShape(
- global::Shotstack.SvgShapeDiscriminatorType? type,
- global::Shotstack.SvgRectangleShape? rectangle,
- global::Shotstack.SvgCircleShape? circle,
- global::Shotstack.SvgEllipseShape? ellipse,
- global::Shotstack.SvgLineShape? line,
- global::Shotstack.SvgPolygonShape? polygon,
- global::Shotstack.SvgStarShape? star,
- global::Shotstack.SvgArrowShape? arrow,
- global::Shotstack.SvgHeartShape? heart,
- global::Shotstack.SvgCrossShape? cross,
- global::Shotstack.SvgRingShape? ring,
- global::Shotstack.SvgPathShape? path
- )
- {
- Type = type;
-
- Rectangle = rectangle;
- Circle = circle;
- Ellipse = ellipse;
- Line = line;
- Polygon = polygon;
- Star = star;
- Arrow = arrow;
- Heart = heart;
- Cross = cross;
- Ring = ring;
- Path = path;
- }
-
- ///
- ///
- ///
- public object? Object =>
- Path as object ??
- Ring as object ??
- Cross as object ??
- Heart as object ??
- Arrow as object ??
- Star as object ??
- Polygon as object ??
- Line as object ??
- Ellipse as object ??
- Circle as object ??
- Rectangle as object
- ;
-
- ///
- ///
- ///
- public override string? ToString() =>
- Rectangle?.ToString() ??
- Circle?.ToString() ??
- Ellipse?.ToString() ??
- Line?.ToString() ??
- Polygon?.ToString() ??
- Star?.ToString() ??
- Arrow?.ToString() ??
- Heart?.ToString() ??
- Cross?.ToString() ??
- Ring?.ToString() ??
- Path?.ToString()
- ;
-
- ///
- ///
- ///
- public bool Validate()
- {
- return IsRectangle && !IsCircle && !IsEllipse && !IsLine && !IsPolygon && !IsStar && !IsArrow && !IsHeart && !IsCross && !IsRing && !IsPath || !IsRectangle && IsCircle && !IsEllipse && !IsLine && !IsPolygon && !IsStar && !IsArrow && !IsHeart && !IsCross && !IsRing && !IsPath || !IsRectangle && !IsCircle && IsEllipse && !IsLine && !IsPolygon && !IsStar && !IsArrow && !IsHeart && !IsCross && !IsRing && !IsPath || !IsRectangle && !IsCircle && !IsEllipse && IsLine && !IsPolygon && !IsStar && !IsArrow && !IsHeart && !IsCross && !IsRing && !IsPath || !IsRectangle && !IsCircle && !IsEllipse && !IsLine && IsPolygon && !IsStar && !IsArrow && !IsHeart && !IsCross && !IsRing && !IsPath || !IsRectangle && !IsCircle && !IsEllipse && !IsLine && !IsPolygon && IsStar && !IsArrow && !IsHeart && !IsCross && !IsRing && !IsPath || !IsRectangle && !IsCircle && !IsEllipse && !IsLine && !IsPolygon && !IsStar && IsArrow && !IsHeart && !IsCross && !IsRing && !IsPath || !IsRectangle && !IsCircle && !IsEllipse && !IsLine && !IsPolygon && !IsStar && !IsArrow && IsHeart && !IsCross && !IsRing && !IsPath || !IsRectangle && !IsCircle && !IsEllipse && !IsLine && !IsPolygon && !IsStar && !IsArrow && !IsHeart && IsCross && !IsRing && !IsPath || !IsRectangle && !IsCircle && !IsEllipse && !IsLine && !IsPolygon && !IsStar && !IsArrow && !IsHeart && !IsCross && IsRing && !IsPath || !IsRectangle && !IsCircle && !IsEllipse && !IsLine && !IsPolygon && !IsStar && !IsArrow && !IsHeart && !IsCross && !IsRing && IsPath;
- }
-
- ///
- ///
- ///
- public TResult? Match(
- global::System.Func? rectangle = null,
- global::System.Func? circle = null,
- global::System.Func? ellipse = null,
- global::System.Func? line = null,
- global::System.Func? polygon = null,
- global::System.Func? star = null,
- global::System.Func? arrow = null,
- global::System.Func? heart = null,
- global::System.Func