-
Notifications
You must be signed in to change notification settings - Fork 12
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
81aa9fa
commit 60f22ea
Showing
16 changed files
with
233 additions
and
0 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
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
18 changes: 18 additions & 0 deletions
18
...pi/Generated/commercetoolsSdkApi/Models/ApprovalRules/ApprovalRuleSetCustomFieldAction.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,18 @@ | ||
using System; | ||
|
||
namespace commercetools.Sdk.Api.Models.ApprovalRules | ||
{ | ||
|
||
public partial class ApprovalRuleSetCustomFieldAction : IApprovalRuleSetCustomFieldAction | ||
{ | ||
public string Action { get; set; } | ||
|
||
public string Name { get; set; } | ||
|
||
public Object Value { get; set; } | ||
public ApprovalRuleSetCustomFieldAction() | ||
{ | ||
this.Action = "setCustomField"; | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/ApprovalRuleSetCustomTypeAction.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,19 @@ | ||
using commercetools.Sdk.Api.Models.Types; | ||
|
||
|
||
namespace commercetools.Sdk.Api.Models.ApprovalRules | ||
{ | ||
|
||
public partial class ApprovalRuleSetCustomTypeAction : IApprovalRuleSetCustomTypeAction | ||
{ | ||
public string Action { get; set; } | ||
|
||
public ITypeResourceIdentifier Type { get; set; } | ||
|
||
public IFieldContainer Fields { get; set; } | ||
public ApprovalRuleSetCustomTypeAction() | ||
{ | ||
this.Action = "setCustomType"; | ||
} | ||
} | ||
} |
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
...i/Generated/commercetoolsSdkApi/Models/ApprovalRules/IApprovalRuleSetCustomFieldAction.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 System; | ||
using commercetools.Base.CustomAttributes; | ||
// ReSharper disable CheckNamespace | ||
namespace commercetools.Sdk.Api.Models.ApprovalRules | ||
{ | ||
[DeserializeAs(typeof(commercetools.Sdk.Api.Models.ApprovalRules.ApprovalRuleSetCustomFieldAction))] | ||
public partial interface IApprovalRuleSetCustomFieldAction : IApprovalRuleUpdateAction | ||
{ | ||
string Name { get; set; } | ||
|
||
Object Value { get; set; } | ||
|
||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...pi/Generated/commercetoolsSdkApi/Models/ApprovalRules/IApprovalRuleSetCustomTypeAction.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.Sdk.Api.Models.Types; | ||
using commercetools.Base.CustomAttributes; | ||
// ReSharper disable CheckNamespace | ||
namespace commercetools.Sdk.Api.Models.ApprovalRules | ||
{ | ||
[DeserializeAs(typeof(commercetools.Sdk.Api.Models.ApprovalRules.ApprovalRuleSetCustomTypeAction))] | ||
public partial interface IApprovalRuleSetCustomTypeAction : IApprovalRuleUpdateAction | ||
{ | ||
ITypeResourceIdentifier Type { get; set; } | ||
|
||
IFieldContainer Fields { get; set; } | ||
|
||
} | ||
} |
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
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
36 changes: 36 additions & 0 deletions
36
...edicates/Query/Generated/ApprovalRules/ApprovalRuleSetCustomFieldActionQueryBuilderDsl.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.ApprovalRules | ||
{ | ||
|
||
public partial class ApprovalRuleSetCustomFieldActionQueryBuilderDsl | ||
{ | ||
public ApprovalRuleSetCustomFieldActionQueryBuilderDsl() | ||
{ | ||
} | ||
|
||
public static ApprovalRuleSetCustomFieldActionQueryBuilderDsl Of() | ||
{ | ||
return new ApprovalRuleSetCustomFieldActionQueryBuilderDsl(); | ||
} | ||
|
||
public IComparisonPredicateBuilder<ApprovalRuleSetCustomFieldActionQueryBuilderDsl, string> Action() | ||
{ | ||
return new ComparisonPredicateBuilder<ApprovalRuleSetCustomFieldActionQueryBuilderDsl, string>(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("action")), | ||
p => new CombinationQueryPredicate<ApprovalRuleSetCustomFieldActionQueryBuilderDsl>(p, ApprovalRuleSetCustomFieldActionQueryBuilderDsl.Of), | ||
PredicateFormatter.Format); | ||
} | ||
public IComparisonPredicateBuilder<ApprovalRuleSetCustomFieldActionQueryBuilderDsl, string> Name() | ||
{ | ||
return new ComparisonPredicateBuilder<ApprovalRuleSetCustomFieldActionQueryBuilderDsl, string>(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("name")), | ||
p => new CombinationQueryPredicate<ApprovalRuleSetCustomFieldActionQueryBuilderDsl>(p, ApprovalRuleSetCustomFieldActionQueryBuilderDsl.Of), | ||
PredicateFormatter.Format); | ||
} | ||
public IComparisonPredicateBuilder<ApprovalRuleSetCustomFieldActionQueryBuilderDsl, string> Value() | ||
{ | ||
return new ComparisonPredicateBuilder<ApprovalRuleSetCustomFieldActionQueryBuilderDsl, string>(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("value")), | ||
p => new CombinationQueryPredicate<ApprovalRuleSetCustomFieldActionQueryBuilderDsl>(p, ApprovalRuleSetCustomFieldActionQueryBuilderDsl.Of), | ||
PredicateFormatter.Format); | ||
} | ||
|
||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...redicates/Query/Generated/ApprovalRules/ApprovalRuleSetCustomTypeActionQueryBuilderDsl.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,44 @@ | ||
using System; | ||
|
||
// ReSharper disable CheckNamespace | ||
namespace commercetools.Sdk.Api.Predicates.Query.ApprovalRules | ||
{ | ||
|
||
public partial class ApprovalRuleSetCustomTypeActionQueryBuilderDsl | ||
{ | ||
public ApprovalRuleSetCustomTypeActionQueryBuilderDsl() | ||
{ | ||
} | ||
|
||
public static ApprovalRuleSetCustomTypeActionQueryBuilderDsl Of() | ||
{ | ||
return new ApprovalRuleSetCustomTypeActionQueryBuilderDsl(); | ||
} | ||
|
||
public IComparisonPredicateBuilder<ApprovalRuleSetCustomTypeActionQueryBuilderDsl, string> Action() | ||
{ | ||
return new ComparisonPredicateBuilder<ApprovalRuleSetCustomTypeActionQueryBuilderDsl, string>(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("action")), | ||
p => new CombinationQueryPredicate<ApprovalRuleSetCustomTypeActionQueryBuilderDsl>(p, ApprovalRuleSetCustomTypeActionQueryBuilderDsl.Of), | ||
PredicateFormatter.Format); | ||
} | ||
public CombinationQueryPredicate<ApprovalRuleSetCustomTypeActionQueryBuilderDsl> Type( | ||
Func<commercetools.Sdk.Api.Predicates.Query.Types.TypeResourceIdentifierQueryBuilderDsl, CombinationQueryPredicate<commercetools.Sdk.Api.Predicates.Query.Types.TypeResourceIdentifierQueryBuilderDsl>> fn) | ||
{ | ||
return new CombinationQueryPredicate<ApprovalRuleSetCustomTypeActionQueryBuilderDsl>(ContainerQueryPredicate.Of() | ||
.Parent(ConstantQueryPredicate.Of().Constant("type")) | ||
.Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Types.TypeResourceIdentifierQueryBuilderDsl.Of())), | ||
ApprovalRuleSetCustomTypeActionQueryBuilderDsl.Of); | ||
} | ||
|
||
public CombinationQueryPredicate<ApprovalRuleSetCustomTypeActionQueryBuilderDsl> Fields( | ||
Func<commercetools.Sdk.Api.Predicates.Query.Types.FieldContainerQueryBuilderDsl, CombinationQueryPredicate<commercetools.Sdk.Api.Predicates.Query.Types.FieldContainerQueryBuilderDsl>> fn) | ||
{ | ||
return new CombinationQueryPredicate<ApprovalRuleSetCustomTypeActionQueryBuilderDsl>(ContainerQueryPredicate.Of() | ||
.Parent(ConstantQueryPredicate.Of().Constant("fields")) | ||
.Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Types.FieldContainerQueryBuilderDsl.Of())), | ||
ApprovalRuleSetCustomTypeActionQueryBuilderDsl.Of); | ||
} | ||
|
||
|
||
} | ||
} |
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
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