@Override public SuggestQuery withStaged(final boolean staged) { return new SuggestQueryImpl(searchKeywords, limit, staged); }
@Override public SuggestionResult deserialize(final HttpResponse httpResponse) { return deserialize(httpResponse, new TypeReference<SuggestionResult>() { @Override public String toString() { return "TypeReference<SuggestionResult>"; } }); }
@Override public String toString() { return new ToStringBuilder(this) .append("searchKeywords", searchKeywords) .append("limit", limit) .append("staged", staged) .append("fuzzy", fuzzy) //extra .append("readablePath", queryParametersToString(false)) .toString(); } }
@Override public String toString() { return new ToStringBuilder(this) .append("searchKeywords", searchKeywords) .append("limit", limit) .append("staged", staged) .append("fuzzy", fuzzy) //extra .append("readablePath", queryParametersToString(false)) .toString(); } }
@Override public SuggestQuery withFuzzy(final boolean fuzzy) { return new SuggestQueryImpl(searchKeywords, limit, staged, fuzzy); }
@Override public String toString() { return new ToStringBuilder(this) .append("searchKeywords", searchKeywords) .append("limit", limit) .append("staged", staged) //extra .append("readablePath", queryParametersToString(false)) .toString(); } }
static SuggestQuery of(final List<LocalizedStringEntry> searchKeywords) { return new SuggestQueryImpl(searchKeywords); }
@Override public HttpRequestIntent httpRequestIntent() { return HttpRequestIntent.of(HttpMethod.GET, "/product-projections/suggest?" + queryParametersToString(true)); }
@Override public SuggestQuery withLimit(final Integer limit) { return new SuggestQueryImpl(searchKeywords, limit, staged, fuzzy); }
@Override public HttpRequestIntent httpRequestIntent() { return HttpRequestIntent.of(HttpMethod.GET, "/product-projections/suggest?" + queryParametersToString(true)); }
@Override public SuggestQuery withStaged(final boolean staged) { return new SuggestQueryImpl(searchKeywords, limit, staged, fuzzy); }
@Override public HttpRequestIntent httpRequestIntent() { return HttpRequestIntent.of(HttpMethod.GET, "/product-projections/suggest?" + queryParametersToString(true)); }
@Override public SuggestQuery withFuzzy(final boolean fuzzy) { return new SuggestQueryImpl(searchKeywords, limit, staged, fuzzy); }
@Override public SuggestQuery withLimit(final Integer limit) { return new SuggestQueryImpl(searchKeywords, limit, staged); }
static SuggestQuery of(final List<LocalizedStringEntry> searchKeywords) { return new SuggestQueryImpl(searchKeywords); }
@Override public SuggestQuery withLimit(final Integer limit) { return new SuggestQueryImpl(searchKeywords, limit, staged, fuzzy); }
@Override public SuggestQuery withStaged(final boolean staged) { return new SuggestQueryImpl(searchKeywords, limit, staged, fuzzy); }
static SuggestQuery of(final List<LocalizedStringEntry> searchKeywords) { return new SuggestQueryImpl(searchKeywords); }