@ConfigurationProperties(value="twitter.friendships.source") @Validated public class TwitterFriendshipsSupplierProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TwitterFriendshipsSupplierProperties.FriendshipsRequestType |
Constructor and Description |
---|
TwitterFriendshipsSupplierProperties() |
Modifier and Type | Method and Description |
---|---|
int |
getCount() |
int |
getPollInterval() |
String |
getScreenName() |
TwitterFriendshipsSupplierProperties.FriendshipsRequestType |
getType() |
Long |
getUserId() |
boolean |
isIncludeUserEntities() |
boolean |
isSkipStatus() |
@AssertTrue(message="Either userId or screenName must be provided") boolean |
isUserProvided() |
void |
setCount(int count) |
void |
setIncludeUserEntities(boolean includeUserEntities) |
void |
setPollInterval(int pollInterval) |
void |
setScreenName(String screenName) |
void |
setSkipStatus(boolean skipStatus) |
void |
setType(TwitterFriendshipsSupplierProperties.FriendshipsRequestType type) |
void |
setUserId(Long userId) |
String |
toString() |
public TwitterFriendshipsSupplierProperties()
public TwitterFriendshipsSupplierProperties.FriendshipsRequestType getType()
public void setType(TwitterFriendshipsSupplierProperties.FriendshipsRequestType type)
public String getScreenName()
public void setScreenName(String screenName)
public Long getUserId()
public void setUserId(Long userId)
public int getCount()
public void setCount(int count)
public boolean isSkipStatus()
public void setSkipStatus(boolean skipStatus)
public boolean isIncludeUserEntities()
public void setIncludeUserEntities(boolean includeUserEntities)
public int getPollInterval()
public void setPollInterval(int pollInterval)
@AssertTrue(message="Either userId or screenName must be provided") public @AssertTrue(message="Either userId or screenName must be provided") boolean isUserProvided()
Copyright © 2022. All rights reserved.