@Generated(value="org.jsonschema2pojo") public class SevenDaySearchRequest extends Object implements Serializable
Constructor and Description |
---|
SevenDaySearchRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
Long |
getCount()
The number of tweets to return per page, up to a maximum of 100.
|
String |
getGeocode()
Returns tweets by users located within a given radius of the given latitude/longitude.
|
String |
getIncludeEntities()
The entities node will not be included when set to false.
|
String |
getLang()
Restricts tweets to the given language, given by an ISO 639-1 code.
|
String |
getLocale()
Specify the language of the query you are sending (only ja is currently effective).
|
String |
getMaxId()
Returns results with an ID less than (that is, older than) or equal to the specified ID.
|
String |
getQ()
A UTF-8, URL-encoded search query of 500 characters maximum, including operators.
|
String |
getResultType()
Optional.
|
String |
getSinceId()
Returns results with an ID greater than (that is, more recent than) the specified ID.
|
Long |
getUntil()
Returns tweets created before the given date.
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setCount(Long count)
The number of tweets to return per page, up to a maximum of 100.
|
void |
setGeocode(String geocode)
Returns tweets by users located within a given radius of the given latitude/longitude.
|
void |
setIncludeEntities(String includeEntities)
The entities node will not be included when set to false.
|
void |
setLang(String lang)
Restricts tweets to the given language, given by an ISO 639-1 code.
|
void |
setLocale(String locale)
Specify the language of the query you are sending (only ja is currently effective).
|
void |
setMaxId(String maxId)
Returns results with an ID less than (that is, older than) or equal to the specified ID.
|
void |
setQ(String q)
A UTF-8, URL-encoded search query of 500 characters maximum, including operators.
|
void |
setResultType(String resultType)
Optional.
|
void |
setSinceId(String sinceId)
Returns results with an ID greater than (that is, more recent than) the specified ID.
|
void |
setUntil(Long until)
Returns tweets created before the given date.
|
String |
toString() |
SevenDaySearchRequest |
withAdditionalProperty(String name,
Object value) |
SevenDaySearchRequest |
withCount(Long count) |
SevenDaySearchRequest |
withGeocode(String geocode) |
SevenDaySearchRequest |
withIncludeEntities(String includeEntities) |
SevenDaySearchRequest |
withLang(String lang) |
SevenDaySearchRequest |
withLocale(String locale) |
SevenDaySearchRequest |
withMaxId(String maxId) |
SevenDaySearchRequest |
withQ(String q) |
SevenDaySearchRequest |
withResultType(String resultType) |
SevenDaySearchRequest |
withSinceId(String sinceId) |
SevenDaySearchRequest |
withUntil(Long until) |
@BeanProperty(value="q") public String getQ()
@BeanProperty(value="q") public void setQ(String q)
q
- The qpublic SevenDaySearchRequest withQ(String q)
@BeanProperty(value="geocode") public String getGeocode()
@BeanProperty(value="geocode") public void setGeocode(String geocode)
geocode
- The geocodepublic SevenDaySearchRequest withGeocode(String geocode)
@BeanProperty(value="lang") public String getLang()
@BeanProperty(value="lang") public void setLang(String lang)
lang
- The langpublic SevenDaySearchRequest withLang(String lang)
@BeanProperty(value="locale") public String getLocale()
@BeanProperty(value="locale") public void setLocale(String locale)
locale
- The localepublic SevenDaySearchRequest withLocale(String locale)
@BeanProperty(value="result_type") public String getResultType()
@BeanProperty(value="result_type") public void setResultType(String resultType)
resultType
- The result_typepublic SevenDaySearchRequest withResultType(String resultType)
@BeanProperty(value="count") public Long getCount()
@BeanProperty(value="count") public void setCount(Long count)
count
- The countpublic SevenDaySearchRequest withCount(Long count)
@BeanProperty(value="until") public Long getUntil()
@BeanProperty(value="until") public void setUntil(Long until)
until
- The untilpublic SevenDaySearchRequest withUntil(Long until)
@BeanProperty(value="since_id") public String getSinceId()
@BeanProperty(value="since_id") public void setSinceId(String sinceId)
sinceId
- The since_idpublic SevenDaySearchRequest withSinceId(String sinceId)
@BeanProperty(value="max_id") public String getMaxId()
@BeanProperty(value="max_id") public void setMaxId(String maxId)
maxId
- The max_idpublic SevenDaySearchRequest withMaxId(String maxId)
@BeanProperty(value="include_entities") public String getIncludeEntities()
@BeanProperty(value="include_entities") public void setIncludeEntities(String includeEntities)
includeEntities
- The include_entitiespublic SevenDaySearchRequest withIncludeEntities(String includeEntities)
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
public SevenDaySearchRequest withAdditionalProperty(String name, Object value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.