-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9d58a1a
commit 176c731
Showing
12 changed files
with
195 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/GraphQLLockedFieldError.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
namespace commercetools.Sdk.Api.Models.Errors | ||
{ | ||
|
||
public partial class GraphQLLockedFieldError : IGraphQLLockedFieldError | ||
{ | ||
public string Code { get; set; } | ||
|
||
public string Field { get; set; } | ||
public GraphQLLockedFieldError() | ||
{ | ||
this.Code = "LockedField"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/IGraphQLLockedFieldError.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using commercetools.Base.CustomAttributes; | ||
|
||
// ReSharper disable CheckNamespace | ||
namespace commercetools.Sdk.Api.Models.Errors | ||
{ | ||
[DeserializeAs(typeof(commercetools.Sdk.Api.Models.Errors.GraphQLLockedFieldError))] | ||
public partial interface IGraphQLLockedFieldError : IGraphQLErrorObject | ||
{ | ||
string Field { get; set; } | ||
|
||
new string Code { get; set; } | ||
|
||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/ILockedFieldError.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using commercetools.Base.CustomAttributes; | ||
|
||
// ReSharper disable CheckNamespace | ||
namespace commercetools.Sdk.Api.Models.Errors | ||
{ | ||
[DeserializeAs(typeof(commercetools.Sdk.Api.Models.Errors.LockedFieldError))] | ||
public partial interface ILockedFieldError : IErrorObject | ||
{ | ||
string Field { get; set; } | ||
|
||
new string Code { get; set; } | ||
|
||
new string Message { get; set; } | ||
|
||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/LockedFieldError.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
namespace commercetools.Sdk.Api.Models.Errors | ||
{ | ||
|
||
public partial class LockedFieldError : ILockedFieldError | ||
{ | ||
public string Code { get; set; } | ||
|
||
public string Message { get; set; } | ||
|
||
public string Field { get; set; } | ||
public LockedFieldError() | ||
{ | ||
this.Code = "LockedField"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
...tools.Sdk.Api/Predicates/Query/Generated/Errors/GraphQLLockedFieldErrorQueryBuilderDsl.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// ReSharper disable CheckNamespace | ||
namespace commercetools.Sdk.Api.Predicates.Query.Errors | ||
{ | ||
|
||
public partial class GraphQLLockedFieldErrorQueryBuilderDsl | ||
{ | ||
public GraphQLLockedFieldErrorQueryBuilderDsl() | ||
{ | ||
} | ||
|
||
public static GraphQLLockedFieldErrorQueryBuilderDsl Of() | ||
{ | ||
return new GraphQLLockedFieldErrorQueryBuilderDsl(); | ||
} | ||
|
||
public IComparisonPredicateBuilder<GraphQLLockedFieldErrorQueryBuilderDsl, string> Code() | ||
{ | ||
return new ComparisonPredicateBuilder<GraphQLLockedFieldErrorQueryBuilderDsl, string>(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("code")), | ||
p => new CombinationQueryPredicate<GraphQLLockedFieldErrorQueryBuilderDsl>(p, GraphQLLockedFieldErrorQueryBuilderDsl.Of), | ||
PredicateFormatter.Format); | ||
} | ||
public IComparisonPredicateBuilder<GraphQLLockedFieldErrorQueryBuilderDsl, string> Field() | ||
{ | ||
return new ComparisonPredicateBuilder<GraphQLLockedFieldErrorQueryBuilderDsl, string>(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("field")), | ||
p => new CombinationQueryPredicate<GraphQLLockedFieldErrorQueryBuilderDsl>(p, GraphQLLockedFieldErrorQueryBuilderDsl.Of), | ||
PredicateFormatter.Format); | ||
} | ||
|
||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...ommercetools.Sdk.Api/Predicates/Query/Generated/Errors/LockedFieldErrorQueryBuilderDsl.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// ReSharper disable CheckNamespace | ||
namespace commercetools.Sdk.Api.Predicates.Query.Errors | ||
{ | ||
|
||
public partial class LockedFieldErrorQueryBuilderDsl | ||
{ | ||
public LockedFieldErrorQueryBuilderDsl() | ||
{ | ||
} | ||
|
||
public static LockedFieldErrorQueryBuilderDsl Of() | ||
{ | ||
return new LockedFieldErrorQueryBuilderDsl(); | ||
} | ||
|
||
public IComparisonPredicateBuilder<LockedFieldErrorQueryBuilderDsl, string> Code() | ||
{ | ||
return new ComparisonPredicateBuilder<LockedFieldErrorQueryBuilderDsl, string>(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("code")), | ||
p => new CombinationQueryPredicate<LockedFieldErrorQueryBuilderDsl>(p, LockedFieldErrorQueryBuilderDsl.Of), | ||
PredicateFormatter.Format); | ||
} | ||
public IComparisonPredicateBuilder<LockedFieldErrorQueryBuilderDsl, string> Message() | ||
{ | ||
return new ComparisonPredicateBuilder<LockedFieldErrorQueryBuilderDsl, string>(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("message")), | ||
p => new CombinationQueryPredicate<LockedFieldErrorQueryBuilderDsl>(p, LockedFieldErrorQueryBuilderDsl.Of), | ||
PredicateFormatter.Format); | ||
} | ||
public IComparisonPredicateBuilder<LockedFieldErrorQueryBuilderDsl, string> Field() | ||
{ | ||
return new ComparisonPredicateBuilder<LockedFieldErrorQueryBuilderDsl, string>(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("field")), | ||
p => new CombinationQueryPredicate<LockedFieldErrorQueryBuilderDsl>(p, LockedFieldErrorQueryBuilderDsl.Of), | ||
PredicateFormatter.Format); | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters