Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generated SDKs #362

Merged
merged 1 commit into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,11 @@
- added enum `product-tailoring` to type `ResourceTypeId`
</details>

**Import changes**

<details>
<summary>Added Type(s)</summary>

- added type `InvalidFieldsUpdateError`
</details>

Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ namespace commercetools.Sdk.ImportApi.Models.Errors
[SubTypeDiscriminator("invalid_token", typeof(commercetools.Sdk.ImportApi.Models.Errors.InvalidTokenError))]
[SubTypeDiscriminator("InvalidCredentials", typeof(commercetools.Sdk.ImportApi.Models.Errors.InvalidCredentialsError))]
[SubTypeDiscriminator("InvalidField", typeof(commercetools.Sdk.ImportApi.Models.Errors.InvalidFieldError))]
[SubTypeDiscriminator("InvalidFieldUpdate", typeof(commercetools.Sdk.ImportApi.Models.Errors.InvalidFieldsUpdateError))]
[SubTypeDiscriminator("InvalidInput", typeof(commercetools.Sdk.ImportApi.Models.Errors.InvalidInput))]
[SubTypeDiscriminator("InvalidJsonInput", typeof(commercetools.Sdk.ImportApi.Models.Errors.InvalidJsonInput))]
[SubTypeDiscriminator("InvalidOperation", typeof(commercetools.Sdk.ImportApi.Models.Errors.InvalidOperation))]
Expand Down Expand Up @@ -112,6 +113,12 @@ static commercetools.Sdk.ImportApi.Models.Errors.InvalidFieldError InvalidField(
init?.Invoke(t);
return t;
}
static commercetools.Sdk.ImportApi.Models.Errors.InvalidFieldsUpdateError InvalidFieldUpdate(Action<commercetools.Sdk.ImportApi.Models.Errors.InvalidFieldsUpdateError> init = null)
{
var t = new commercetools.Sdk.ImportApi.Models.Errors.InvalidFieldsUpdateError();
init?.Invoke(t);
return t;
}
static commercetools.Sdk.ImportApi.Models.Errors.InvalidInput InvalidInput(Action<commercetools.Sdk.ImportApi.Models.Errors.InvalidInput> init = null)
{
var t = new commercetools.Sdk.ImportApi.Models.Errors.InvalidInput();
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using System.Collections.Generic;
using System.Linq;
using commercetools.Base.CustomAttributes;
// ReSharper disable CheckNamespace
namespace commercetools.Sdk.ImportApi.Models.Errors
{
[DeserializeAs(typeof(commercetools.Sdk.ImportApi.Models.Errors.InvalidFieldsUpdateError))]
public partial interface IInvalidFieldsUpdateError : IErrorObject
{
new string Message { get; set; }

IList<string> Fields { get; set; }

IEnumerable<string> FieldsEnumerable { set => Fields = value.ToList(); }

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using System.Collections.Generic;
using System.Linq;

namespace commercetools.Sdk.ImportApi.Models.Errors
{

public partial class InvalidFieldsUpdateError : IInvalidFieldsUpdateError
{
public string Code { get; set; }

public string Message { get; set; }

public IList<string> Fields { get; set; }

public IEnumerable<string> FieldsEnumerable { set => Fields = value.ToList(); }
public InvalidFieldsUpdateError()
{
this.Code = "InvalidFieldUpdate";
}
}
}
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -285,3 +285,4 @@ efc70952597a3160e6bb47891894b109bd82b7c3
4ee8b39787eb0f0b2d025520acdaa022122bd617
c77ec902f368c2c31505fcb65a835ce148350077
903922e6a2dc0ff9283757645395f5119f61be0e
e985f4b7aa55610705ee49bd3eb645c2fd03eb6c
Loading