001
002package com.commercetools.api.predicates.query.channel;
003
004import com.commercetools.api.predicates.query.*;
005
006public class ChannelChangeKeyActionQueryBuilderDsl {
007    public ChannelChangeKeyActionQueryBuilderDsl() {
008    }
009
010    public static ChannelChangeKeyActionQueryBuilderDsl of() {
011        return new ChannelChangeKeyActionQueryBuilderDsl();
012    }
013
014    public StringComparisonPredicateBuilder<ChannelChangeKeyActionQueryBuilderDsl> action() {
015        return new StringComparisonPredicateBuilder<>(
016            BinaryQueryPredicate.of().left(new ConstantQueryPredicate("action")),
017            p -> new CombinationQueryPredicate<>(p, ChannelChangeKeyActionQueryBuilderDsl::of));
018    }
019
020    public StringComparisonPredicateBuilder<ChannelChangeKeyActionQueryBuilderDsl> key() {
021        return new StringComparisonPredicateBuilder<>(BinaryQueryPredicate.of().left(new ConstantQueryPredicate("key")),
022            p -> new CombinationQueryPredicate<>(p, ChannelChangeKeyActionQueryBuilderDsl::of));
023    }
024
025}