Skip to content

Commit

Permalink
Merge pull request #3 from tryAGI/bot/update-openapi_202409141517
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Sep 14, 2024
2 parents 5e56e16 + d4c6a8f commit 489c5ba
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 27 deletions.
10 changes: 5 additions & 5 deletions src/libs/Ideogram/Generated/Ideogram.Models.ImageRequest.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public sealed partial class ImageRequest
/// Example: ASPECT_10_16
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("aspect_ratio")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::AutoSDK.JsonConverters.AspectRatioJsonConverter))]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.AspectRatioJsonConverter))]
public global::Ideogram.AspectRatio? AspectRatio { get; set; }

/// <summary>
Expand All @@ -30,7 +30,7 @@ public sealed partial class ImageRequest
/// Example: V_2_TURBO
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::AutoSDK.JsonConverters.ModelEnumJsonConverter))]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.ModelEnumJsonConverter))]
public global::Ideogram.ModelEnum? Model { get; set; } = global::Ideogram.ModelEnum.V2;

/// <summary>
Expand All @@ -39,7 +39,7 @@ public sealed partial class ImageRequest
/// Example: ON
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("magic_prompt_option")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::AutoSDK.JsonConverters.MagicPromptOptionJsonConverter))]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.MagicPromptOptionJsonConverter))]
public global::Ideogram.MagicPromptOption? MagicPromptOption { get; set; } = global::Ideogram.MagicPromptOption.AUTO;

/// <summary>
Expand All @@ -53,7 +53,7 @@ public sealed partial class ImageRequest
/// Example: REALISTIC
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("style_type")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::AutoSDK.JsonConverters.StyleTypeJsonConverter))]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.StyleTypeJsonConverter))]
public global::Ideogram.StyleType? StyleType { get; set; }

/// <summary>
Expand All @@ -68,7 +68,7 @@ public sealed partial class ImageRequest
/// Example: RESOLUTION_1024_1024
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("resolution")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::AutoSDK.JsonConverters.ResolutionJsonConverter))]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.ResolutionJsonConverter))]
public global::Ideogram.Resolution? Resolution { get; set; }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public sealed partial class UpscaleInitialImageRequest
/// Example: ON
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("magic_prompt_option")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::AutoSDK.JsonConverters.MagicPromptOptionJsonConverter))]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.MagicPromptOptionJsonConverter))]
public global::Ideogram.MagicPromptOption? MagicPromptOption { get; set; } = global::Ideogram.MagicPromptOption.AUTO;

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#nullable enable

namespace AutoSDK.JsonConverters
namespace Ideogram.JsonConverters
{
/// <inheritdoc />
public sealed class AspectRatioJsonConverter : global::System.Text.Json.Serialization.JsonConverter<global::Ideogram.AspectRatio>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#nullable enable

namespace AutoSDK.JsonConverters
namespace Ideogram.JsonConverters
{
/// <inheritdoc />
public sealed class AspectRatioNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter<global::Ideogram.AspectRatio?>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#nullable enable

namespace AutoSDK.JsonConverters
namespace Ideogram.JsonConverters
{
/// <inheritdoc />
public sealed class MagicPromptOptionJsonConverter : global::System.Text.Json.Serialization.JsonConverter<global::Ideogram.MagicPromptOption>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#nullable enable

namespace AutoSDK.JsonConverters
namespace Ideogram.JsonConverters
{
/// <inheritdoc />
public sealed class MagicPromptOptionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter<global::Ideogram.MagicPromptOption?>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Ideogram/Generated/JsonConverters.ModelEnum.g.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#nullable enable

namespace AutoSDK.JsonConverters
namespace Ideogram.JsonConverters
{
/// <inheritdoc />
public sealed class ModelEnumJsonConverter : global::System.Text.Json.Serialization.JsonConverter<global::Ideogram.ModelEnum>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#nullable enable

namespace AutoSDK.JsonConverters
namespace Ideogram.JsonConverters
{
/// <inheritdoc />
public sealed class ModelEnumNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter<global::Ideogram.ModelEnum?>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Ideogram/Generated/JsonConverters.Resolution.g.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#nullable enable

namespace AutoSDK.JsonConverters
namespace Ideogram.JsonConverters
{
/// <inheritdoc />
public sealed class ResolutionJsonConverter : global::System.Text.Json.Serialization.JsonConverter<global::Ideogram.Resolution>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#nullable enable

namespace AutoSDK.JsonConverters
namespace Ideogram.JsonConverters
{
/// <inheritdoc />
public sealed class ResolutionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter<global::Ideogram.Resolution?>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Ideogram/Generated/JsonConverters.StyleType.g.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#nullable enable

namespace AutoSDK.JsonConverters
namespace Ideogram.JsonConverters
{
/// <inheritdoc />
public sealed class StyleTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter<global::Ideogram.StyleType>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#nullable enable

namespace AutoSDK.JsonConverters
namespace Ideogram.JsonConverters
{
/// <inheritdoc />
public sealed class StyleTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter<global::Ideogram.StyleType?>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#nullable enable

namespace AutoSDK.JsonConverters
namespace Ideogram.JsonConverters
{
/// <inheritdoc />
public class UnixTimestampJsonConverter : global::System.Text.Json.Serialization.JsonConverter<global::System.DateTimeOffset>
Expand Down
20 changes: 10 additions & 10 deletions src/libs/Ideogram/Generated/JsonSerializerContext.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ namespace Ideogram
DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull,
Converters = new global::System.Type[]
{
typeof(global::AutoSDK.JsonConverters.AspectRatioJsonConverter),
typeof(global::AutoSDK.JsonConverters.AspectRatioNullableJsonConverter),
typeof(global::AutoSDK.JsonConverters.ModelEnumJsonConverter),
typeof(global::AutoSDK.JsonConverters.ModelEnumNullableJsonConverter),
typeof(global::AutoSDK.JsonConverters.MagicPromptOptionJsonConverter),
typeof(global::AutoSDK.JsonConverters.MagicPromptOptionNullableJsonConverter),
typeof(global::AutoSDK.JsonConverters.StyleTypeJsonConverter),
typeof(global::AutoSDK.JsonConverters.StyleTypeNullableJsonConverter),
typeof(global::AutoSDK.JsonConverters.ResolutionJsonConverter),
typeof(global::AutoSDK.JsonConverters.ResolutionNullableJsonConverter),
typeof(global::Ideogram.JsonConverters.AspectRatioJsonConverter),
typeof(global::Ideogram.JsonConverters.AspectRatioNullableJsonConverter),
typeof(global::Ideogram.JsonConverters.ModelEnumJsonConverter),
typeof(global::Ideogram.JsonConverters.ModelEnumNullableJsonConverter),
typeof(global::Ideogram.JsonConverters.MagicPromptOptionJsonConverter),
typeof(global::Ideogram.JsonConverters.MagicPromptOptionNullableJsonConverter),
typeof(global::Ideogram.JsonConverters.StyleTypeJsonConverter),
typeof(global::Ideogram.JsonConverters.StyleTypeNullableJsonConverter),
typeof(global::Ideogram.JsonConverters.ResolutionJsonConverter),
typeof(global::Ideogram.JsonConverters.ResolutionNullableJsonConverter),
})]

[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.JsonSerializerContextTypes))]
Expand Down

0 comments on commit 489c5ba

Please sign in to comment.