From 21ce4a160222166b96db9317d633247d50a4f9d9 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Tue, 22 Oct 2024 10:12:35 +0000 Subject: [PATCH] build(codegen): updating SDK --- changes.md | 8 ++++++++ .../Models/Errors/IErrorObject.cs | 7 +++++++ .../INewMasterVariantAdditionNotAllowedError.cs | 11 +++++++++++ .../NewMasterVariantAdditionNotAllowedError.cs | 16 ++++++++++++++++ references.txt | 1 + 5 files changed, 43 insertions(+) create mode 100644 commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/INewMasterVariantAdditionNotAllowedError.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/NewMasterVariantAdditionNotAllowedError.cs diff --git a/changes.md b/changes.md index 8f276bbb5d5..26a50541137 100644 --- a/changes.md +++ b/changes.md @@ -6,3 +6,11 @@ - added method `apiRoot.withProjectKey().productTailoring().head()` +**Import changes** + +
+Added Type(s) + +- added type `NewMasterVariantAdditionNotAllowedError` +
+ diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/IErrorObject.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/IErrorObject.cs index 63b308b93fb..0333eea01d3 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/IErrorObject.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/IErrorObject.cs @@ -23,6 +23,7 @@ namespace commercetools.Sdk.ImportApi.Models.Errors [SubTypeDiscriminator("InvalidJsonInput", typeof(commercetools.Sdk.ImportApi.Models.Errors.InvalidJsonInput))] [SubTypeDiscriminator("InvalidOperation", typeof(commercetools.Sdk.ImportApi.Models.Errors.InvalidOperation))] [SubTypeDiscriminator("InvalidTransition", typeof(commercetools.Sdk.ImportApi.Models.Errors.InvalidStateTransitionError))] + [SubTypeDiscriminator("NewMasterVariantAdditionNotAllowed", typeof(commercetools.Sdk.ImportApi.Models.Errors.NewMasterVariantAdditionNotAllowedError))] [SubTypeDiscriminator("ReferencedResourceNotFound", typeof(commercetools.Sdk.ImportApi.Models.Errors.ReferencedResourceNotFound))] [SubTypeDiscriminator("RequiredField", typeof(commercetools.Sdk.ImportApi.Models.Errors.RequiredFieldError))] [SubTypeDiscriminator("ResourceCreation", typeof(commercetools.Sdk.ImportApi.Models.Errors.ResourceCreationError))] @@ -143,6 +144,12 @@ static commercetools.Sdk.ImportApi.Models.Errors.InvalidStateTransitionError Inv init?.Invoke(t); return t; } + static commercetools.Sdk.ImportApi.Models.Errors.NewMasterVariantAdditionNotAllowedError NewMasterVariantAdditionNotAllowed(Action init = null) + { + var t = new commercetools.Sdk.ImportApi.Models.Errors.NewMasterVariantAdditionNotAllowedError(); + init?.Invoke(t); + return t; + } static commercetools.Sdk.ImportApi.Models.Errors.ReferencedResourceNotFound ReferencedResourceNotFound(Action init = null) { var t = new commercetools.Sdk.ImportApi.Models.Errors.ReferencedResourceNotFound(); diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/INewMasterVariantAdditionNotAllowedError.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/INewMasterVariantAdditionNotAllowedError.cs new file mode 100644 index 00000000000..fd19b99f241 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/INewMasterVariantAdditionNotAllowedError.cs @@ -0,0 +1,11 @@ +using commercetools.Base.CustomAttributes; +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.ImportApi.Models.Errors +{ + [DeserializeAs(typeof(commercetools.Sdk.ImportApi.Models.Errors.NewMasterVariantAdditionNotAllowedError))] + public partial interface INewMasterVariantAdditionNotAllowedError : IErrorObject + { + new string Message { get; set; } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/NewMasterVariantAdditionNotAllowedError.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/NewMasterVariantAdditionNotAllowedError.cs new file mode 100644 index 00000000000..0fc7c91d6c6 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors/NewMasterVariantAdditionNotAllowedError.cs @@ -0,0 +1,16 @@ + + +namespace commercetools.Sdk.ImportApi.Models.Errors +{ + + public partial class NewMasterVariantAdditionNotAllowedError : INewMasterVariantAdditionNotAllowedError + { + public string Code { get; set; } + + public string Message { get; set; } + public NewMasterVariantAdditionNotAllowedError() + { + this.Code = "NewMasterVariantAdditionNotAllowed"; + } + } +} diff --git a/references.txt b/references.txt index e4eeb529b7f..5845bb39dd7 100644 --- a/references.txt +++ b/references.txt @@ -288,3 +288,4 @@ c77ec902f368c2c31505fcb65a835ce148350077 e985f4b7aa55610705ee49bd3eb645c2fd03eb6c 7b61d389a7b8bd5dac2d780c6b6fbea0b881400c c27603f949e869148570ebb8bd3ec6db34a985b7 +82bca33a98d14907ea79e2cca281625dd82cdf0d