public class SearchRequest extends Object implements Serializable
| Constructor and Description |
|---|
SearchRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
String |
getCallback()
For JSONP support in JavaScript applications.
|
Boolean |
getHideSponsored()
Whether to omit results marked "sponsored" (when additional data from this source is available behind a website paywall).
|
Boolean |
getInferPersons()
whether the API should return persons made up solely from data inferred by statistical analysis from your search query.
|
String |
getKey()
Your API key, this is our way to identify you and authorize your call.
|
Boolean |
getLiveFeeds()
Whether to use live data sources.
|
String |
getMatchRequirements()
A condition to specify what fields you must get back.
|
Double |
getMinimumMatch()
0 – 1.
|
Double |
getMinimumProbability()
0 – 1.
|
Boolean |
getPretty()
Indicates whether you want the response to be "pretty-printed" (with indentation).
|
String |
getShowSources()
true/false/all/matching.
|
String |
getSourceCategoryRequirements()
A condition to specify what source categories you must get back.
|
Boolean |
getTopMatch()
"top_match=true" returns the best high-ranking Person match to your search.
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setCallback(String callback)
For JSONP support in JavaScript applications.
|
void |
setHideSponsored(Boolean hideSponsored)
Whether to omit results marked "sponsored" (when additional data from this source is available behind a website paywall).
|
void |
setInferPersons(Boolean inferPersons)
whether the API should return persons made up solely from data inferred by statistical analysis from your search query.
|
void |
setKey(String key)
Your API key, this is our way to identify you and authorize your call.
|
void |
setLiveFeeds(Boolean liveFeeds)
Whether to use live data sources.
|
void |
setMatchRequirements(String matchRequirements)
A condition to specify what fields you must get back.
|
void |
setMinimumMatch(Double minimumMatch)
0 – 1.
|
void |
setMinimumProbability(Double minimumProbability)
0 – 1.
|
void |
setPretty(Boolean pretty)
Indicates whether you want the response to be "pretty-printed" (with indentation).
|
void |
setShowSources(String showSources)
true/false/all/matching.
|
void |
setSourceCategoryRequirements(String sourceCategoryRequirements)
A condition to specify what source categories you must get back.
|
void |
setTopMatch(Boolean topMatch)
"top_match=true" returns the best high-ranking Person match to your search.
|
String |
toString() |
SearchRequest |
withAdditionalProperty(String name,
Object value) |
SearchRequest |
withCallback(String callback) |
SearchRequest |
withHideSponsored(Boolean hideSponsored) |
SearchRequest |
withInferPersons(Boolean inferPersons) |
SearchRequest |
withKey(String key) |
SearchRequest |
withLiveFeeds(Boolean liveFeeds) |
SearchRequest |
withMatchRequirements(String matchRequirements) |
SearchRequest |
withMinimumMatch(Double minimumMatch) |
SearchRequest |
withMinimumProbability(Double minimumProbability) |
SearchRequest |
withPretty(Boolean pretty) |
SearchRequest |
withShowSources(String showSources) |
SearchRequest |
withSourceCategoryRequirements(String sourceCategoryRequirements) |
SearchRequest |
withTopMatch(Boolean topMatch) |
public String getKey()
public void setKey(String key)
public SearchRequest withKey(String key)
public Boolean getPretty()
public void setPretty(Boolean pretty)
public SearchRequest withPretty(Boolean pretty)
public Double getMinimumProbability()
public void setMinimumProbability(Double minimumProbability)
public SearchRequest withMinimumProbability(Double minimumProbability)
public Boolean getInferPersons()
public void setInferPersons(Boolean inferPersons)
public SearchRequest withInferPersons(Boolean inferPersons)
public Double getMinimumMatch()
public void setMinimumMatch(Double minimumMatch)
public SearchRequest withMinimumMatch(Double minimumMatch)
public String getShowSources()
public void setShowSources(String showSources)
public SearchRequest withShowSources(String showSources)
public Boolean getHideSponsored()
public void setHideSponsored(Boolean hideSponsored)
public SearchRequest withHideSponsored(Boolean hideSponsored)
public Boolean getLiveFeeds()
public void setLiveFeeds(Boolean liveFeeds)
public SearchRequest withLiveFeeds(Boolean liveFeeds)
public String getMatchRequirements()
public void setMatchRequirements(String matchRequirements)
public SearchRequest withMatchRequirements(String matchRequirements)
public String getSourceCategoryRequirements()
public void setSourceCategoryRequirements(String sourceCategoryRequirements)
public SearchRequest withSourceCategoryRequirements(String sourceCategoryRequirements)
public String getCallback()
public void setCallback(String callback)
public SearchRequest withCallback(String callback)
public Boolean getTopMatch()
public void setTopMatch(Boolean topMatch)
public SearchRequest withTopMatch(Boolean topMatch)
public SearchRequest withAdditionalProperty(String name, Object value)
Copyright © 2020 The Apache Software Foundation. All rights reserved.