diff --git a/src/libs/Recraft/Generated/Recraft.Models.CreateStyleRequest.g.cs b/src/libs/Recraft/Generated/Recraft.Models.CreateStyleRequest.g.cs
index f3d5136..5544bcd 100644
--- a/src/libs/Recraft/Generated/Recraft.Models.CreateStyleRequest.g.cs
+++ b/src/libs/Recraft/Generated/Recraft.Models.CreateStyleRequest.g.cs
@@ -82,8 +82,9 @@ public sealed partial class CreateStyleRequest
///
/// Initializes a new instance of the class.
///
- ///
///
+ ///
+ ///
///
///
///
@@ -91,7 +92,6 @@ public sealed partial class CreateStyleRequest
///
///
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -107,9 +107,8 @@ public CreateStyleRequest(
global::System.Collections.Generic.IList? sourceStyleWeights,
global::System.Collections.Generic.IList? sourceStyles)
{
- this.Images = images ?? throw new global::System.ArgumentNullException(nameof(images));
- this.Style = style;
this.ImageWeights = imageWeights;
+ this.Images = images ?? throw new global::System.ArgumentNullException(nameof(images));
this.MixPolicy = mixPolicy;
this.Model = model;
this.Palette = palette;
@@ -117,6 +116,7 @@ public CreateStyleRequest(
this.Prompt = prompt;
this.SourceStyleWeights = sourceStyleWeights;
this.SourceStyles = sourceStyles;
+ this.Style = style;
}
///
diff --git a/src/libs/Recraft/Generated/Recraft.Models.EraseRegionRequest.g.cs b/src/libs/Recraft/Generated/Recraft.Models.EraseRegionRequest.g.cs
index 9a1c7c8..98dffed 100644
--- a/src/libs/Recraft/Generated/Recraft.Models.EraseRegionRequest.g.cs
+++ b/src/libs/Recraft/Generated/Recraft.Models.EraseRegionRequest.g.cs
@@ -65,12 +65,12 @@ public sealed partial class EraseRegionRequest
///
/// Initializes a new instance of the class.
///
- ///
///
///
- ///
///
///
+ ///
+ ///
///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
@@ -84,12 +84,12 @@ public EraseRegionRequest(
global::Recraft.ImageFormat? imageFormat,
global::Recraft.ResponseFormat? responseFormat)
{
+ this.Expire = expire;
this.Image = image ?? throw new global::System.ArgumentNullException(nameof(image));
this.Imagename = imagename ?? throw new global::System.ArgumentNullException(nameof(imagename));
+ this.ImageFormat = imageFormat;
this.Mask = mask ?? throw new global::System.ArgumentNullException(nameof(mask));
this.Maskname = maskname ?? throw new global::System.ArgumentNullException(nameof(maskname));
- this.Expire = expire;
- this.ImageFormat = imageFormat;
this.ResponseFormat = responseFormat;
}
diff --git a/src/libs/Recraft/Generated/Recraft.Models.ExploreRequest.g.cs b/src/libs/Recraft/Generated/Recraft.Models.ExploreRequest.g.cs
index 8de0147..96557d0 100644
--- a/src/libs/Recraft/Generated/Recraft.Models.ExploreRequest.g.cs
+++ b/src/libs/Recraft/Generated/Recraft.Models.ExploreRequest.g.cs
@@ -89,12 +89,12 @@ public sealed partial class ExploreRequest
///
/// Initializes a new instance of the class.
///
+ ///
///
///
///
///
///
- ///
///
///
///
@@ -116,12 +116,12 @@ public ExploreRequest(
global::System.Guid? styleId,
global::Recraft.ImageSubStyle? substyle)
{
- this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt));
this.BlockNsfw = blockNsfw;
this.Controls = controls;
this.Expire = expire;
this.ImageFormat = imageFormat;
this.Model = model;
+ this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt));
this.ResponseFormat = responseFormat;
this.Size = size;
this.Style = style;
diff --git a/src/libs/Recraft/Generated/Recraft.Models.ExploreSimilarRequest.g.cs b/src/libs/Recraft/Generated/Recraft.Models.ExploreSimilarRequest.g.cs
index bca12bc..d1ac46e 100644
--- a/src/libs/Recraft/Generated/Recraft.Models.ExploreSimilarRequest.g.cs
+++ b/src/libs/Recraft/Generated/Recraft.Models.ExploreSimilarRequest.g.cs
@@ -57,12 +57,12 @@ public sealed partial class ExploreSimilarRequest
///
/// Initializes a new instance of the class.
///
+ ///
+ ///
///
///
///
///
- ///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -74,12 +74,12 @@ public ExploreSimilarRequest(
global::Recraft.ImageFormat? imageFormat,
global::Recraft.ResponseFormat? responseFormat)
{
- this.Similarity = similarity;
- this.SourceImageId = sourceImageId;
this.BlockNsfw = blockNsfw;
this.Expire = expire;
this.ImageFormat = imageFormat;
this.ResponseFormat = responseFormat;
+ this.Similarity = similarity;
+ this.SourceImageId = sourceImageId;
}
///
diff --git a/src/libs/Recraft/Generated/Recraft.Models.GenerateImageRequest.g.cs b/src/libs/Recraft/Generated/Recraft.Models.GenerateImageRequest.g.cs
index b015919..19b628d 100644
--- a/src/libs/Recraft/Generated/Recraft.Models.GenerateImageRequest.g.cs
+++ b/src/libs/Recraft/Generated/Recraft.Models.GenerateImageRequest.g.cs
@@ -126,6 +126,7 @@ public sealed partial class GenerateImageRequest
///
/// Initializes a new instance of the class.
///
+ ///
///
///
///
@@ -134,7 +135,6 @@ public sealed partial class GenerateImageRequest
///
///
///
- ///
///
///
///
@@ -165,7 +165,6 @@ public GenerateImageRequest(
global::System.Collections.Generic.IList? textLayout,
global::Recraft.UpscaleMode? upscale)
{
- this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt));
this.BlockNsfw = blockNsfw;
this.CalculateFeatures = calculateFeatures;
this.Controls = controls;
@@ -174,6 +173,7 @@ public GenerateImageRequest(
this.Model = model;
this.N = n;
this.NegativePrompt = negativePrompt;
+ this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt));
this.RandomSeed = randomSeed;
this.ResponseFormat = responseFormat;
this.Size = size;
diff --git a/src/libs/Recraft/Generated/Recraft.Models.Image.g.cs b/src/libs/Recraft/Generated/Recraft.Models.Image.g.cs
index 3a645cb..9b082ca 100644
--- a/src/libs/Recraft/Generated/Recraft.Models.Image.g.cs
+++ b/src/libs/Recraft/Generated/Recraft.Models.Image.g.cs
@@ -48,9 +48,9 @@ public sealed partial class Image
///
/// Initializes a new instance of the class.
///
+ ///
///
///
- ///
///
///
#if NET7_0_OR_GREATER
@@ -63,9 +63,9 @@ public Image(
string? revisedPrompt,
string? url)
{
- this.ImageId = imageId;
this.B64Json = b64Json;
this.Features = features;
+ this.ImageId = imageId;
this.RevisedPrompt = revisedPrompt;
this.Url = url;
}
diff --git a/src/libs/Recraft/Generated/Recraft.Models.ImageToImageRequest.g.cs b/src/libs/Recraft/Generated/Recraft.Models.ImageToImageRequest.g.cs
index 28b097d..6aa1be6 100644
--- a/src/libs/Recraft/Generated/Recraft.Models.ImageToImageRequest.g.cs
+++ b/src/libs/Recraft/Generated/Recraft.Models.ImageToImageRequest.g.cs
@@ -133,20 +133,20 @@ public sealed partial class ImageToImageRequest
///
/// Initializes a new instance of the class.
///
+ ///
+ ///
+ ///
+ ///
///
///
///
///
- ///
- ///
///
///
///
///
- ///
///
///
- ///
///
///
///
@@ -174,20 +174,20 @@ public ImageToImageRequest(
global::Recraft.ImageSubStyle? substyle,
global::System.Collections.Generic.IList? textLayout)
{
- this.Image = image ?? throw new global::System.ArgumentNullException(nameof(image));
- this.Imagename = imagename ?? throw new global::System.ArgumentNullException(nameof(imagename));
- this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt));
- this.Strength = strength;
this.BlockNsfw = blockNsfw;
this.CalculateFeatures = calculateFeatures;
this.Controls = controls;
this.Expire = expire;
+ this.Image = image ?? throw new global::System.ArgumentNullException(nameof(image));
+ this.Imagename = imagename ?? throw new global::System.ArgumentNullException(nameof(imagename));
this.ImageFormat = imageFormat;
this.Model = model;
this.N = n;
this.NegativePrompt = negativePrompt;
+ this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt));
this.RandomSeed = randomSeed;
this.ResponseFormat = responseFormat;
+ this.Strength = strength;
this.Style = style;
this.StyleId = styleId;
this.Substyle = substyle;
diff --git a/src/libs/Recraft/Generated/Recraft.Models.PaletteSuggest.g.cs b/src/libs/Recraft/Generated/Recraft.Models.PaletteSuggest.g.cs
index 6a10594..32f3dc1 100644
--- a/src/libs/Recraft/Generated/Recraft.Models.PaletteSuggest.g.cs
+++ b/src/libs/Recraft/Generated/Recraft.Models.PaletteSuggest.g.cs
@@ -30,8 +30,8 @@ public sealed partial class PaletteSuggest
///
/// Initializes a new instance of the class.
///
- ///
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -39,8 +39,8 @@ public PaletteSuggest(
global::System.Collections.Generic.IList colors,
global::Recraft.ImageColor? backgroundColor)
{
- this.Colors = colors ?? throw new global::System.ArgumentNullException(nameof(colors));
this.BackgroundColor = backgroundColor;
+ this.Colors = colors ?? throw new global::System.ArgumentNullException(nameof(colors));
}
///
diff --git a/src/libs/Recraft/Generated/Recraft.Models.ProcessImageRequest.g.cs b/src/libs/Recraft/Generated/Recraft.Models.ProcessImageRequest.g.cs
index e892dcc..e27f558 100644
--- a/src/libs/Recraft/Generated/Recraft.Models.ProcessImageRequest.g.cs
+++ b/src/libs/Recraft/Generated/Recraft.Models.ProcessImageRequest.g.cs
@@ -58,9 +58,9 @@ public sealed partial class ProcessImageRequest
///
/// Initializes a new instance of the class.
///
- ///
///
///
+ ///
///
///
///
@@ -75,9 +75,9 @@ public ProcessImageRequest(
global::Recraft.ResponseFormat? responseFormat,
global::Recraft.UpscaleMode? upscale)
{
+ this.Expire = expire;
this.Image = image ?? throw new global::System.ArgumentNullException(nameof(image));
this.Imagename = imagename ?? throw new global::System.ArgumentNullException(nameof(imagename));
- this.Expire = expire;
this.ImageFormat = imageFormat;
this.ResponseFormat = responseFormat;
this.Upscale = upscale;
diff --git a/src/libs/Recraft/Generated/Recraft.Models.TransformImageRequest.g.cs b/src/libs/Recraft/Generated/Recraft.Models.TransformImageRequest.g.cs
index a4093fe..6768814 100644
--- a/src/libs/Recraft/Generated/Recraft.Models.TransformImageRequest.g.cs
+++ b/src/libs/Recraft/Generated/Recraft.Models.TransformImageRequest.g.cs
@@ -120,16 +120,16 @@ public sealed partial class TransformImageRequest
///
/// Initializes a new instance of the class.
///
+ ///
+ ///
+ ///
///
///
///
- ///
- ///
///
///
///
///
- ///
///
///
///
@@ -157,16 +157,16 @@ public TransformImageRequest(
global::Recraft.ImageSubStyle? substyle,
global::System.Collections.Generic.IList? textLayout)
{
- this.Image = image ?? throw new global::System.ArgumentNullException(nameof(image));
- this.Imagename = imagename ?? throw new global::System.ArgumentNullException(nameof(imagename));
- this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt));
this.BlockNsfw = blockNsfw;
this.CalculateFeatures = calculateFeatures;
this.Expire = expire;
+ this.Image = image ?? throw new global::System.ArgumentNullException(nameof(image));
+ this.Imagename = imagename ?? throw new global::System.ArgumentNullException(nameof(imagename));
this.ImageFormat = imageFormat;
this.Model = model;
this.N = n;
this.NegativePrompt = negativePrompt;
+ this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt));
this.RandomSeed = randomSeed;
this.ResponseFormat = responseFormat;
this.Style = style;
diff --git a/src/libs/Recraft/Generated/Recraft.Models.User.g.cs b/src/libs/Recraft/Generated/Recraft.Models.User.g.cs
index c1d0c6d..c2154a6 100644
--- a/src/libs/Recraft/Generated/Recraft.Models.User.g.cs
+++ b/src/libs/Recraft/Generated/Recraft.Models.User.g.cs
@@ -44,8 +44,8 @@ public sealed partial class User
/// Initializes a new instance of the class.
///
///
- ///
///
+ ///
///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
@@ -57,8 +57,8 @@ public User(
string? name)
{
this.Credits = credits;
- this.Id = id;
this.Email = email;
+ this.Id = id;
this.Name = name;
}
diff --git a/src/libs/Recraft/Generated/Recraft.Models.VariateImageRequest.g.cs b/src/libs/Recraft/Generated/Recraft.Models.VariateImageRequest.g.cs
index 8071fa9..f65e14d 100644
--- a/src/libs/Recraft/Generated/Recraft.Models.VariateImageRequest.g.cs
+++ b/src/libs/Recraft/Generated/Recraft.Models.VariateImageRequest.g.cs
@@ -71,14 +71,14 @@ public sealed partial class VariateImageRequest
///
/// Initializes a new instance of the class.
///
- ///
///
///
+ ///
+ ///
///
///
///
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -92,14 +92,14 @@ public VariateImageRequest(
int? randomSeed,
global::Recraft.ResponseFormat? responseFormat)
{
+ this.Expire = expire;
this.Image = image ?? throw new global::System.ArgumentNullException(nameof(image));
this.Imagename = imagename ?? throw new global::System.ArgumentNullException(nameof(imagename));
- this.Size = size;
- this.Expire = expire;
this.ImageFormat = imageFormat;
this.N = n;
this.RandomSeed = randomSeed;
this.ResponseFormat = responseFormat;
+ this.Size = size;
}
///