File tree Expand file tree Collapse file tree 5 files changed +54
-0
lines changed
commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Errors Expand file tree Collapse file tree 5 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 42
42
- added enum ` product-tailoring ` to type ` ResourceTypeId `
43
43
</details >
44
44
45
+ ** Import changes**
46
+
47
+ <details >
48
+ <summary >Added Type(s)</summary >
49
+
50
+ - added type ` InvalidFieldsUpdateError `
51
+ </details >
52
+
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ namespace commercetools.Sdk.ImportApi.Models.Errors
18
18
[ SubTypeDiscriminator ( "invalid_token" , typeof ( commercetools . Sdk . ImportApi . Models . Errors . InvalidTokenError ) ) ]
19
19
[ SubTypeDiscriminator ( "InvalidCredentials" , typeof ( commercetools . Sdk . ImportApi . Models . Errors . InvalidCredentialsError ) ) ]
20
20
[ SubTypeDiscriminator ( "InvalidField" , typeof ( commercetools . Sdk . ImportApi . Models . Errors . InvalidFieldError ) ) ]
21
+ [ SubTypeDiscriminator ( "InvalidFieldUpdate" , typeof ( commercetools . Sdk . ImportApi . Models . Errors . InvalidFieldsUpdateError ) ) ]
21
22
[ SubTypeDiscriminator ( "InvalidInput" , typeof ( commercetools . Sdk . ImportApi . Models . Errors . InvalidInput ) ) ]
22
23
[ SubTypeDiscriminator ( "InvalidJsonInput" , typeof ( commercetools . Sdk . ImportApi . Models . Errors . InvalidJsonInput ) ) ]
23
24
[ SubTypeDiscriminator ( "InvalidOperation" , typeof ( commercetools . Sdk . ImportApi . Models . Errors . InvalidOperation ) ) ]
@@ -112,6 +113,12 @@ static commercetools.Sdk.ImportApi.Models.Errors.InvalidFieldError InvalidField(
112
113
init ? . Invoke ( t ) ;
113
114
return t ;
114
115
}
116
+ static commercetools . Sdk . ImportApi . Models . Errors . InvalidFieldsUpdateError InvalidFieldUpdate ( Action < commercetools . Sdk . ImportApi . Models . Errors . InvalidFieldsUpdateError > init = null )
117
+ {
118
+ var t = new commercetools . Sdk . ImportApi . Models . Errors . InvalidFieldsUpdateError ( ) ;
119
+ init ? . Invoke ( t ) ;
120
+ return t ;
121
+ }
115
122
static commercetools . Sdk . ImportApi . Models . Errors . InvalidInput InvalidInput ( Action < commercetools . Sdk . ImportApi . Models . Errors . InvalidInput > init = null )
116
123
{
117
124
var t = new commercetools . Sdk . ImportApi . Models . Errors . InvalidInput ( ) ;
Original file line number Diff line number Diff line change
1
+ using System . Collections . Generic ;
2
+ using System . Linq ;
3
+ using commercetools . Base . CustomAttributes ;
4
+ // ReSharper disable CheckNamespace
5
+ namespace commercetools . Sdk . ImportApi . Models . Errors
6
+ {
7
+ [ DeserializeAs ( typeof ( commercetools . Sdk . ImportApi . Models . Errors . InvalidFieldsUpdateError ) ) ]
8
+ public partial interface IInvalidFieldsUpdateError : IErrorObject
9
+ {
10
+ new string Message { get ; set ; }
11
+
12
+ IList < string > Fields { get ; set ; }
13
+
14
+ IEnumerable < string > FieldsEnumerable { set => Fields = value . ToList ( ) ; }
15
+
16
+ }
17
+ }
Original file line number Diff line number Diff line change
1
+ using System . Collections . Generic ;
2
+ using System . Linq ;
3
+
4
+ namespace commercetools . Sdk . ImportApi . Models . Errors
5
+ {
6
+
7
+ public partial class InvalidFieldsUpdateError : IInvalidFieldsUpdateError
8
+ {
9
+ public string Code { get ; set ; }
10
+
11
+ public string Message { get ; set ; }
12
+
13
+ public IList < string > Fields { get ; set ; }
14
+
15
+ public IEnumerable < string > FieldsEnumerable { set => Fields = value . ToList ( ) ; }
16
+ public InvalidFieldsUpdateError ( )
17
+ {
18
+ this . Code = "InvalidFieldUpdate" ;
19
+ }
20
+ }
21
+ }
Original file line number Diff line number Diff line change @@ -285,3 +285,4 @@ efc70952597a3160e6bb47891894b109bd82b7c3
285
285
4ee8b39787eb0f0b2d025520acdaa022122bd617
286
286
c77ec902f368c2c31505fcb65a835ce148350077
287
287
903922e6a2dc0ff9283757645395f5119f61be0e
288
+ e985f4b7aa55610705ee49bd3eb645c2fd03eb6c
You can’t perform that action at this time.
0 commit comments