@Generated(value="org.jsonschema2pojo") public class StatusesUserTimelineRequest extends Object implements Serializable
Constructor and Description |
---|
StatusesUserTimelineRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
Boolean |
getContributorDetails()
This parameter enhances the contributors element of the status response to include the screen_name of the contributor.
|
Long |
getCount()
Specifies the number of Tweets to try and retrieve, up to a maximum of 200 per distinct request.
|
Boolean |
getExcludeReplies()
This parameter will prevent replies from appearing in the returned timeline.
|
Boolean |
getIncludeRts()
When set to false , the timeline will strip any native retweets (though they will still count toward both the maximal length of the timeline and the slice selected by the count parameter).
|
Long |
getMaxId()
Returns results with an ID less than (that is, older than) or equal to the specified ID.
|
String |
getScreenName()
The screen name of the user for whom to return results for.
|
Long |
getSinceId()
Returns results with an ID greater than (that is, more recent than) the specified ID.
|
Boolean |
getTrimUser()
When set to either true , t or 1 , each Tweet returned in a timeline will include a user object including only the status authors numerical ID.
|
Long |
getUserId()
The ID of the user for whom to return results for.
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setContributorDetails(Boolean contributorDetails)
This parameter enhances the contributors element of the status response to include the screen_name of the contributor.
|
void |
setCount(Long count)
Specifies the number of Tweets to try and retrieve, up to a maximum of 200 per distinct request.
|
void |
setExcludeReplies(Boolean excludeReplies)
This parameter will prevent replies from appearing in the returned timeline.
|
void |
setIncludeRts(Boolean includeRts)
When set to false , the timeline will strip any native retweets (though they will still count toward both the maximal length of the timeline and the slice selected by the count parameter).
|
void |
setMaxId(Long maxId)
Returns results with an ID less than (that is, older than) or equal to the specified ID.
|
void |
setScreenName(String screenName)
The screen name of the user for whom to return results for.
|
void |
setSinceId(Long sinceId)
Returns results with an ID greater than (that is, more recent than) the specified ID.
|
void |
setTrimUser(Boolean trimUser)
When set to either true , t or 1 , each Tweet returned in a timeline will include a user object including only the status authors numerical ID.
|
void |
setUserId(Long userId)
The ID of the user for whom to return results for.
|
String |
toString() |
StatusesUserTimelineRequest |
withAdditionalProperty(String name,
Object value) |
StatusesUserTimelineRequest |
withContributorDetails(Boolean contributorDetails) |
StatusesUserTimelineRequest |
withCount(Long count) |
StatusesUserTimelineRequest |
withExcludeReplies(Boolean excludeReplies) |
StatusesUserTimelineRequest |
withIncludeRts(Boolean includeRts) |
StatusesUserTimelineRequest |
withMaxId(Long maxId) |
StatusesUserTimelineRequest |
withScreenName(String screenName) |
StatusesUserTimelineRequest |
withSinceId(Long sinceId) |
StatusesUserTimelineRequest |
withTrimUser(Boolean trimUser) |
StatusesUserTimelineRequest |
withUserId(Long userId) |
@BeanProperty(value="user_id") public Long getUserId()
@BeanProperty(value="user_id") public void setUserId(Long userId)
userId
- The user_idpublic StatusesUserTimelineRequest withUserId(Long userId)
@BeanProperty(value="screen_name") public String getScreenName()
@BeanProperty(value="screen_name") public void setScreenName(String screenName)
screenName
- The screen_namepublic StatusesUserTimelineRequest withScreenName(String screenName)
@BeanProperty(value="count") public Long getCount()
@BeanProperty(value="count") public void setCount(Long count)
count
- The countpublic StatusesUserTimelineRequest withCount(Long count)
@BeanProperty(value="since_id") public Long getSinceId()
@BeanProperty(value="since_id") public void setSinceId(Long sinceId)
sinceId
- The since_idpublic StatusesUserTimelineRequest withSinceId(Long sinceId)
@BeanProperty(value="max_id") public Long getMaxId()
@BeanProperty(value="max_id") public void setMaxId(Long maxId)
maxId
- The max_idpublic StatusesUserTimelineRequest withMaxId(Long maxId)
@BeanProperty(value="trim_user") public Boolean getTrimUser()
@BeanProperty(value="trim_user") public void setTrimUser(Boolean trimUser)
trimUser
- The trim_userpublic StatusesUserTimelineRequest withTrimUser(Boolean trimUser)
@BeanProperty(value="exclude_replies") public Boolean getExcludeReplies()
@BeanProperty(value="exclude_replies") public void setExcludeReplies(Boolean excludeReplies)
excludeReplies
- The exclude_repliespublic StatusesUserTimelineRequest withExcludeReplies(Boolean excludeReplies)
@BeanProperty(value="contributor_details") public Boolean getContributorDetails()
@BeanProperty(value="contributor_details") public void setContributorDetails(Boolean contributorDetails)
contributorDetails
- The contributor_detailspublic StatusesUserTimelineRequest withContributorDetails(Boolean contributorDetails)
@BeanProperty(value="include_rts") public Boolean getIncludeRts()
@BeanProperty(value="include_rts") public void setIncludeRts(Boolean includeRts)
includeRts
- The include_rtspublic StatusesUserTimelineRequest withIncludeRts(Boolean includeRts)
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
public StatusesUserTimelineRequest withAdditionalProperty(String name, Object value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.